milvus/internal/proto/milvuspb/milvus.pb.go
Cai Yudong 1a806a174a
Support load collection with multiple vector column (#12630)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-12-03 11:29:33 +08:00

6739 lines
253 KiB
Go

// Code generated by protoc-gen-go. DO NOT EDIT.
// source: milvus.proto
package milvuspb
import (
context "context"
fmt "fmt"
proto "github.com/golang/protobuf/proto"
commonpb "github.com/milvus-io/milvus/internal/proto/commonpb"
schemapb "github.com/milvus-io/milvus/internal/proto/schemapb"
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
//
// This is for ShowCollectionsRequest type field.
type ShowType int32
const (
// Will return all colloections
ShowType_All ShowType = 0
// Will return loaded collections with their inMemory_percentages
ShowType_InMemory ShowType = 1
)
var ShowType_name = map[int32]string{
0: "All",
1: "InMemory",
}
var ShowType_value = map[string]int32{
"All": 0,
"InMemory": 1,
}
func (x ShowType) String() string {
return proto.EnumName(ShowType_name, int32(x))
}
func (ShowType) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_02345ba45cc0e303, []int{0}
}
type PlaceholderType int32
const (
PlaceholderType_None PlaceholderType = 0
PlaceholderType_BinaryVector PlaceholderType = 100
PlaceholderType_FloatVector PlaceholderType = 101
)
var PlaceholderType_name = map[int32]string{
0: "None",
100: "BinaryVector",
101: "FloatVector",
}
var PlaceholderType_value = map[string]int32{
"None": 0,
"BinaryVector": 100,
"FloatVector": 101,
}
func (x PlaceholderType) String() string {
return proto.EnumName(PlaceholderType_name, int32(x))
}
func (PlaceholderType) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_02345ba45cc0e303, []int{1}
}
type CreateAliasRequest 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"`
Alias string `protobuf:"bytes,4,opt,name=alias,proto3" json:"alias,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CreateAliasRequest) Reset() { *m = CreateAliasRequest{} }
func (m *CreateAliasRequest) String() string { return proto.CompactTextString(m) }
func (*CreateAliasRequest) ProtoMessage() {}
func (*CreateAliasRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_02345ba45cc0e303, []int{0}
}
func (m *CreateAliasRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CreateAliasRequest.Unmarshal(m, b)
}
func (m *CreateAliasRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CreateAliasRequest.Marshal(b, m, deterministic)
}
func (m *CreateAliasRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_CreateAliasRequest.Merge(m, src)
}
func (m *CreateAliasRequest) XXX_Size() int {
return xxx_messageInfo_CreateAliasRequest.Size(m)
}
func (m *CreateAliasRequest) XXX_DiscardUnknown() {
xxx_messageInfo_CreateAliasRequest.DiscardUnknown(m)
}
var xxx_messageInfo_CreateAliasRequest proto.InternalMessageInfo
func (m *CreateAliasRequest) GetBase() *commonpb.MsgBase {
if m != nil {
return m.Base
}
return nil
}
func (m *CreateAliasRequest) GetDbName() string {
if m != nil {
return m.DbName
}
return ""
}
func (m *CreateAliasRequest) GetCollectionName() string {
if m != nil {
return m.CollectionName
}
return ""
}
func (m *CreateAliasRequest) GetAlias() string {
if m != nil {
return m.Alias
}
return ""
}
type DropAliasRequest struct {
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
Alias string `protobuf:"bytes,3,opt,name=alias,proto3" json:"alias,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DropAliasRequest) Reset() { *m = DropAliasRequest{} }
func (m *DropAliasRequest) String() string { return proto.CompactTextString(m) }
func (*DropAliasRequest) ProtoMessage() {}
func (*DropAliasRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_02345ba45cc0e303, []int{1}
}
func (m *DropAliasRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DropAliasRequest.Unmarshal(m, b)
}
func (m *DropAliasRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_DropAliasRequest.Marshal(b, m, deterministic)
}
func (m *DropAliasRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_DropAliasRequest.Merge(m, src)
}
func (m *DropAliasRequest) XXX_Size() int {
return xxx_messageInfo_DropAliasRequest.Size(m)
}
func (m *DropAliasRequest) XXX_DiscardUnknown() {
xxx_messageInfo_DropAliasRequest.DiscardUnknown(m)
}
var xxx_messageInfo_DropAliasRequest proto.InternalMessageInfo
func (m *DropAliasRequest) GetBase() *commonpb.MsgBase {
if m != nil {
return m.Base
}
return nil
}
func (m *DropAliasRequest) GetDbName() string {
if m != nil {
return m.DbName
}
return ""
}
func (m *DropAliasRequest) GetAlias() string {
if m != nil {
return m.Alias
}
return ""
}
type AlterAliasRequest struct {
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
Alias string `protobuf:"bytes,4,opt,name=alias,proto3" json:"alias,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AlterAliasRequest) Reset() { *m = AlterAliasRequest{} }
func (m *AlterAliasRequest) String() string { return proto.CompactTextString(m) }
func (*AlterAliasRequest) ProtoMessage() {}
func (*AlterAliasRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_02345ba45cc0e303, []int{2}
}
func (m *AlterAliasRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AlterAliasRequest.Unmarshal(m, b)
}
func (m *AlterAliasRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AlterAliasRequest.Marshal(b, m, deterministic)
}
func (m *AlterAliasRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_AlterAliasRequest.Merge(m, src)
}
func (m *AlterAliasRequest) XXX_Size() int {
return xxx_messageInfo_AlterAliasRequest.Size(m)
}
func (m *AlterAliasRequest) XXX_DiscardUnknown() {
xxx_messageInfo_AlterAliasRequest.DiscardUnknown(m)
}
var xxx_messageInfo_AlterAliasRequest proto.InternalMessageInfo
func (m *AlterAliasRequest) GetBase() *commonpb.MsgBase {
if m != nil {
return m.Base
}
return nil
}
func (m *AlterAliasRequest) GetDbName() string {
if m != nil {
return m.DbName
}
return ""
}
func (m *AlterAliasRequest) GetCollectionName() string {
if m != nil {
return m.CollectionName
}
return ""
}
func (m *AlterAliasRequest) GetAlias() string {
if m != nil {
return m.Alias
}
return ""
}
//*
// Create collection in milvus
type CreateCollectionRequest struct {
// Not useful for now
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
// Not useful for now
DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
// The unique collection name in milvus.(Required)
CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
// The serialized `schema.CollectionSchema`(Required)
Schema []byte `protobuf:"bytes,4,opt,name=schema,proto3" json:"schema,omitempty"`
// Once set, no modification is allowed (Optional)
// https://github.com/milvus-io/milvus/issues/6690
ShardsNum int32 `protobuf:"varint,5,opt,name=shards_num,json=shardsNum,proto3" json:"shards_num,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
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{3}
}
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
func (m *CreateCollectionRequest) GetBase() *commonpb.MsgBase {
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 ""
}
func (m *CreateCollectionRequest) GetSchema() []byte {
if m != nil {
return m.Schema
}
return nil
}
func (m *CreateCollectionRequest) GetShardsNum() int32 {
if m != nil {
return m.ShardsNum
}
return 0
}
//*
// Drop collection in milvus, also will drop data in collection.
type DropCollectionRequest struct {
// Not useful for now
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
// Not useful for now
DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
// The unique collection name in milvus.(Required)
CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
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{4}
}
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
func (m *DropCollectionRequest) GetBase() *commonpb.MsgBase {
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 ""
}
//*
// Check collection exist in milvus or not.
type HasCollectionRequest struct {
// Not useful for now
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
// Not useful for now
DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
// The collection name you want to check.
CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
// If time_stamp is not zero, will return true when time_stamp >= created collection timestamp, otherwise will return false.
TimeStamp uint64 `protobuf:"varint,4,opt,name=time_stamp,json=timeStamp,proto3" json:"time_stamp,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
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{5}
}
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
func (m *HasCollectionRequest) GetBase() *commonpb.MsgBase {
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 ""
}
func (m *HasCollectionRequest) GetTimeStamp() uint64 {
if m != nil {
return m.TimeStamp
}
return 0
}
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{6}
}
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
}
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{7}
}
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 ""
}
//*
// Get collection meta datas like: schema, collectionID, shards number ...
type DescribeCollectionRequest struct {
// Not useful for now
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
// Not useful for now
DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
// The collection name you want to describe, you can pass collection_name or collectionID
CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
// The collection ID you want to describe
CollectionID int64 `protobuf:"varint,4,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
// If time_stamp is not zero, will describe collection success when time_stamp >= created collection timestamp, otherwise will throw error.
TimeStamp uint64 `protobuf:"varint,5,opt,name=time_stamp,json=timeStamp,proto3" json:"time_stamp,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DescribeCollectionRequest) Reset() { *m = DescribeCollectionRequest{} }
func (m *DescribeCollectionRequest) String() string { return proto.CompactTextString(m) }
func (*DescribeCollectionRequest) ProtoMessage() {}
func (*DescribeCollectionRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_02345ba45cc0e303, []int{8}
}
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
func (m *DescribeCollectionRequest) GetBase() *commonpb.MsgBase {
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 ""
}
func (m *DescribeCollectionRequest) GetCollectionID() int64 {
if m != nil {
return m.CollectionID
}
return 0
}
func (m *DescribeCollectionRequest) GetTimeStamp() uint64 {
if m != nil {
return m.TimeStamp
}
return 0
}
//*
// DescribeCollection Response
type DescribeCollectionResponse struct {
// Contain error_code and reason
Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
// The schema param when you created collection.
Schema *schemapb.CollectionSchema `protobuf:"bytes,2,opt,name=schema,proto3" json:"schema,omitempty"`
// The collection id
CollectionID int64 `protobuf:"varint,3,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
// System design related, users should not perceive
VirtualChannelNames []string `protobuf:"bytes,4,rep,name=virtual_channel_names,json=virtualChannelNames,proto3" json:"virtual_channel_names,omitempty"`
// System design related, users should not perceive
PhysicalChannelNames []string `protobuf:"bytes,5,rep,name=physical_channel_names,json=physicalChannelNames,proto3" json:"physical_channel_names,omitempty"`
// Hybrid timestamp in milvus
CreatedTimestamp uint64 `protobuf:"varint,6,opt,name=created_timestamp,json=createdTimestamp,proto3" json:"created_timestamp,omitempty"`
// The utc timestamp calculated by created_timestamp
CreatedUtcTimestamp uint64 `protobuf:"varint,7,opt,name=created_utc_timestamp,json=createdUtcTimestamp,proto3" json:"created_utc_timestamp,omitempty"`
// The shards number you set.
ShardsNum int32 `protobuf:"varint,8,opt,name=shards_num,json=shardsNum,proto3" json:"shards_num,omitempty"`
// The aliases of this collection
Aliases []string `protobuf:"bytes,9,rep,name=aliases,proto3" json:"aliases,omitempty"`
// The message ID/posititon when collection is created
StartPositions []*commonpb.KeyDataPair `protobuf:"bytes,10,rep,name=start_positions,json=startPositions,proto3" json:"start_positions,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DescribeCollectionResponse) Reset() { *m = DescribeCollectionResponse{} }
func (m *DescribeCollectionResponse) String() string { return proto.CompactTextString(m) }
func (*DescribeCollectionResponse) ProtoMessage() {}
func (*DescribeCollectionResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_02345ba45cc0e303, []int{9}
}
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
func (m *DescribeCollectionResponse) GetStatus() *commonpb.Status {
if m != nil {
return m.Status
}
return nil
}
func (m *DescribeCollectionResponse) GetSchema() *schemapb.CollectionSchema {
if m != nil {
return m.Schema
}
return nil
}
func (m *DescribeCollectionResponse) GetCollectionID() int64 {
if m != nil {
return m.CollectionID
}
return 0
}
func (m *DescribeCollectionResponse) GetVirtualChannelNames() []string {
if m != nil {
return m.VirtualChannelNames
}
return nil
}
func (m *DescribeCollectionResponse) GetPhysicalChannelNames() []string {
if m != nil {
return m.PhysicalChannelNames
}
return nil
}
func (m *DescribeCollectionResponse) GetCreatedTimestamp() uint64 {
if m != nil {
return m.CreatedTimestamp
}
return 0
}
func (m *DescribeCollectionResponse) GetCreatedUtcTimestamp() uint64 {
if m != nil {
return m.CreatedUtcTimestamp
}
return 0
}
func (m *DescribeCollectionResponse) GetShardsNum() int32 {
if m != nil {
return m.ShardsNum
}
return 0
}
func (m *DescribeCollectionResponse) GetAliases() []string {
if m != nil {
return m.Aliases
}
return nil
}
func (m *DescribeCollectionResponse) GetStartPositions() []*commonpb.KeyDataPair {
if m != nil {
return m.StartPositions
}
return nil
}
//*
// Load collection data into query nodes, then you can do vector search on this collection.
type LoadCollectionRequest struct {
// Not useful for now
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
// Not useful for now
DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
// The collection name you want to load
CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *LoadCollectionRequest) Reset() { *m = LoadCollectionRequest{} }
func (m *LoadCollectionRequest) String() string { return proto.CompactTextString(m) }
func (*LoadCollectionRequest) ProtoMessage() {}
func (*LoadCollectionRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_02345ba45cc0e303, []int{10}
}
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
func (m *LoadCollectionRequest) GetBase() *commonpb.MsgBase {
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 ""
}
//*
// Release collection data from query nodes, then you can't do vector search on this collection.
type ReleaseCollectionRequest struct {
// Not useful for now
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
// Not useful for now
DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
// The collection name you want to release
CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ReleaseCollectionRequest) Reset() { *m = ReleaseCollectionRequest{} }
func (m *ReleaseCollectionRequest) String() string { return proto.CompactTextString(m) }
func (*ReleaseCollectionRequest) ProtoMessage() {}
func (*ReleaseCollectionRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_02345ba45cc0e303, []int{11}
}
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
func (m *ReleaseCollectionRequest) GetBase() *commonpb.MsgBase {
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 ""
}
//*
// Get collection statistics like row_count.
type GetCollectionStatisticsRequest struct {
// Not useful for now
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
// Not useful for now
DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
// The collection name you want get statistics
CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetCollectionStatisticsRequest) Reset() { *m = GetCollectionStatisticsRequest{} }
func (m *GetCollectionStatisticsRequest) String() string { return proto.CompactTextString(m) }
func (*GetCollectionStatisticsRequest) ProtoMessage() {}
func (*GetCollectionStatisticsRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_02345ba45cc0e303, []int{12}
}
func (m *GetCollectionStatisticsRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetCollectionStatisticsRequest.Unmarshal(m, b)
}
func (m *GetCollectionStatisticsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetCollectionStatisticsRequest.Marshal(b, m, deterministic)
}
func (m *GetCollectionStatisticsRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetCollectionStatisticsRequest.Merge(m, src)
}
func (m *GetCollectionStatisticsRequest) XXX_Size() int {
return xxx_messageInfo_GetCollectionStatisticsRequest.Size(m)
}
func (m *GetCollectionStatisticsRequest) XXX_DiscardUnknown() {
xxx_messageInfo_GetCollectionStatisticsRequest.DiscardUnknown(m)
}
var xxx_messageInfo_GetCollectionStatisticsRequest proto.InternalMessageInfo
func (m *GetCollectionStatisticsRequest) GetBase() *commonpb.MsgBase {
if m != nil {
return m.Base
}
return nil
}
func (m *GetCollectionStatisticsRequest) GetDbName() string {
if m != nil {
return m.DbName
}
return ""
}
func (m *GetCollectionStatisticsRequest) GetCollectionName() string {
if m != nil {
return m.CollectionName
}
return ""
}
//*
// Will return collection statistics in stats field like [{key:"row_count",value:"1"}]
type GetCollectionStatisticsResponse struct {
// Contain error_code and reason
Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
// Collection statistics data
Stats []*commonpb.KeyValuePair `protobuf:"bytes,2,rep,name=stats,proto3" json:"stats,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetCollectionStatisticsResponse) Reset() { *m = GetCollectionStatisticsResponse{} }
func (m *GetCollectionStatisticsResponse) String() string { return proto.CompactTextString(m) }
func (*GetCollectionStatisticsResponse) ProtoMessage() {}
func (*GetCollectionStatisticsResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_02345ba45cc0e303, []int{13}
}
func (m *GetCollectionStatisticsResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetCollectionStatisticsResponse.Unmarshal(m, b)
}
func (m *GetCollectionStatisticsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetCollectionStatisticsResponse.Marshal(b, m, deterministic)
}
func (m *GetCollectionStatisticsResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetCollectionStatisticsResponse.Merge(m, src)
}
func (m *GetCollectionStatisticsResponse) XXX_Size() int {
return xxx_messageInfo_GetCollectionStatisticsResponse.Size(m)
}
func (m *GetCollectionStatisticsResponse) XXX_DiscardUnknown() {
xxx_messageInfo_GetCollectionStatisticsResponse.DiscardUnknown(m)
}
var xxx_messageInfo_GetCollectionStatisticsResponse proto.InternalMessageInfo
func (m *GetCollectionStatisticsResponse) GetStatus() *commonpb.Status {
if m != nil {
return m.Status
}
return nil
}
func (m *GetCollectionStatisticsResponse) GetStats() []*commonpb.KeyValuePair {
if m != nil {
return m.Stats
}
return nil
}
//
// List collections
type ShowCollectionsRequest struct {
// Not useful for now
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
// Not useful for now
DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
// Not useful for now
TimeStamp uint64 `protobuf:"varint,3,opt,name=time_stamp,json=timeStamp,proto3" json:"time_stamp,omitempty"`
// Decide return Loaded collections or All collections(Optional)
Type ShowType `protobuf:"varint,4,opt,name=type,proto3,enum=milvus.proto.milvus.ShowType" json:"type,omitempty"`
// When type is InMemory, will return these collection's inMemory_percentages.(Optional)
CollectionNames []string `protobuf:"bytes,5,rep,name=collection_names,json=collectionNames,proto3" json:"collection_names,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ShowCollectionsRequest) Reset() { *m = ShowCollectionsRequest{} }
func (m *ShowCollectionsRequest) String() string { return proto.CompactTextString(m) }
func (*ShowCollectionsRequest) ProtoMessage() {}
func (*ShowCollectionsRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_02345ba45cc0e303, []int{14}
}
func (m *ShowCollectionsRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ShowCollectionsRequest.Unmarshal(m, b)
}
func (m *ShowCollectionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ShowCollectionsRequest.Marshal(b, m, deterministic)
}
func (m *ShowCollectionsRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_ShowCollectionsRequest.Merge(m, src)
}
func (m *ShowCollectionsRequest) XXX_Size() int {
return xxx_messageInfo_ShowCollectionsRequest.Size(m)
}
func (m *ShowCollectionsRequest) XXX_DiscardUnknown() {
xxx_messageInfo_ShowCollectionsRequest.DiscardUnknown(m)
}
var xxx_messageInfo_ShowCollectionsRequest proto.InternalMessageInfo
func (m *ShowCollectionsRequest) GetBase() *commonpb.MsgBase {
if m != nil {
return m.Base
}
return nil
}
func (m *ShowCollectionsRequest) GetDbName() string {
if m != nil {
return m.DbName
}
return ""
}
func (m *ShowCollectionsRequest) GetTimeStamp() uint64 {
if m != nil {
return m.TimeStamp
}
return 0
}
func (m *ShowCollectionsRequest) GetType() ShowType {
if m != nil {
return m.Type
}
return ShowType_All
}
func (m *ShowCollectionsRequest) GetCollectionNames() []string {
if m != nil {
return m.CollectionNames
}
return nil
}
//
// Return basic collection infos.
type ShowCollectionsResponse struct {
// Contain error_code and reason
Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
// Collection name array
CollectionNames []string `protobuf:"bytes,2,rep,name=collection_names,json=collectionNames,proto3" json:"collection_names,omitempty"`
// Collection Id array
CollectionIds []int64 `protobuf:"varint,3,rep,packed,name=collection_ids,json=collectionIds,proto3" json:"collection_ids,omitempty"`
// Hybrid timestamps in milvus
CreatedTimestamps []uint64 `protobuf:"varint,4,rep,packed,name=created_timestamps,json=createdTimestamps,proto3" json:"created_timestamps,omitempty"`
// The utc timestamp calculated by created_timestamp
CreatedUtcTimestamps []uint64 `protobuf:"varint,5,rep,packed,name=created_utc_timestamps,json=createdUtcTimestamps,proto3" json:"created_utc_timestamps,omitempty"`
// Load percentage on querynode when type is InMemory
InMemoryPercentages []int64 `protobuf:"varint,6,rep,packed,name=inMemory_percentages,json=inMemoryPercentages,proto3" json:"inMemory_percentages,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ShowCollectionsResponse) Reset() { *m = ShowCollectionsResponse{} }
func (m *ShowCollectionsResponse) String() string { return proto.CompactTextString(m) }
func (*ShowCollectionsResponse) ProtoMessage() {}
func (*ShowCollectionsResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_02345ba45cc0e303, []int{15}
}
func (m *ShowCollectionsResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ShowCollectionsResponse.Unmarshal(m, b)
}
func (m *ShowCollectionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ShowCollectionsResponse.Marshal(b, m, deterministic)
}
func (m *ShowCollectionsResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_ShowCollectionsResponse.Merge(m, src)
}
func (m *ShowCollectionsResponse) XXX_Size() int {
return xxx_messageInfo_ShowCollectionsResponse.Size(m)
}
func (m *ShowCollectionsResponse) XXX_DiscardUnknown() {
xxx_messageInfo_ShowCollectionsResponse.DiscardUnknown(m)
}
var xxx_messageInfo_ShowCollectionsResponse proto.InternalMessageInfo
func (m *ShowCollectionsResponse) GetStatus() *commonpb.Status {
if m != nil {
return m.Status
}
return nil
}
func (m *ShowCollectionsResponse) GetCollectionNames() []string {
if m != nil {
return m.CollectionNames
}
return nil
}
func (m *ShowCollectionsResponse) GetCollectionIds() []int64 {
if m != nil {
return m.CollectionIds
}
return nil
}
func (m *ShowCollectionsResponse) GetCreatedTimestamps() []uint64 {
if m != nil {
return m.CreatedTimestamps
}
return nil
}
func (m *ShowCollectionsResponse) GetCreatedUtcTimestamps() []uint64 {
if m != nil {
return m.CreatedUtcTimestamps
}
return nil
}
func (m *ShowCollectionsResponse) GetInMemoryPercentages() []int64 {
if m != nil {
return m.InMemoryPercentages
}
return nil
}
//
// Create partition in created collection.
type CreatePartitionRequest struct {
// Not useful for now
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
// Not useful for now
DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
// The collection name in milvus
CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
// The partition name you want to create.
PartitionName string `protobuf:"bytes,4,opt,name=partition_name,json=partitionName,proto3" json:"partition_name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CreatePartitionRequest) Reset() { *m = CreatePartitionRequest{} }
func (m *CreatePartitionRequest) String() string { return proto.CompactTextString(m) }
func (*CreatePartitionRequest) ProtoMessage() {}
func (*CreatePartitionRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_02345ba45cc0e303, []int{16}
}
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
func (m *CreatePartitionRequest) GetBase() *commonpb.MsgBase {
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 ""
}
//
// Drop partition in created collection.
type DropPartitionRequest struct {
// Not useful for now
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
// Not useful for now
DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
// The collection name in milvus
CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
// The partition name you want to drop
PartitionName string `protobuf:"bytes,4,opt,name=partition_name,json=partitionName,proto3" json:"partition_name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DropPartitionRequest) Reset() { *m = DropPartitionRequest{} }
func (m *DropPartitionRequest) String() string { return proto.CompactTextString(m) }
func (*DropPartitionRequest) ProtoMessage() {}
func (*DropPartitionRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_02345ba45cc0e303, []int{17}
}
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
func (m *DropPartitionRequest) GetBase() *commonpb.MsgBase {
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 ""
}
//
// Check if partition exist in collection or not.
type HasPartitionRequest struct {
// Not useful for now
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
// Not useful for now
DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
// The collection name in milvus
CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
// The partition name you want to check
PartitionName string `protobuf:"bytes,4,opt,name=partition_name,json=partitionName,proto3" json:"partition_name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *HasPartitionRequest) Reset() { *m = HasPartitionRequest{} }
func (m *HasPartitionRequest) String() string { return proto.CompactTextString(m) }
func (*HasPartitionRequest) ProtoMessage() {}
func (*HasPartitionRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_02345ba45cc0e303, []int{18}
}
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
func (m *HasPartitionRequest) GetBase() *commonpb.MsgBase {
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 ""
}
//
// Load specific partitions data of one collection into query nodes
// Then you can get these data as result when you do vector search on this collection.
type LoadPartitionsRequest struct {
// Not useful for now
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
// Not useful for now
DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
// The collection name in milvus
CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
// The partition names you want to load
PartitionNames []string `protobuf:"bytes,4,rep,name=partition_names,json=partitionNames,proto3" json:"partition_names,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *LoadPartitionsRequest) Reset() { *m = LoadPartitionsRequest{} }
func (m *LoadPartitionsRequest) String() string { return proto.CompactTextString(m) }
func (*LoadPartitionsRequest) ProtoMessage() {}
func (*LoadPartitionsRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_02345ba45cc0e303, []int{19}
}
func (m *LoadPartitionsRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_LoadPartitionsRequest.Unmarshal(m, b)
}
func (m *LoadPartitionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_LoadPartitionsRequest.Marshal(b, m, deterministic)
}
func (m *LoadPartitionsRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_LoadPartitionsRequest.Merge(m, src)
}
func (m *LoadPartitionsRequest) XXX_Size() int {
return xxx_messageInfo_LoadPartitionsRequest.Size(m)
}
func (m *LoadPartitionsRequest) XXX_DiscardUnknown() {
xxx_messageInfo_LoadPartitionsRequest.DiscardUnknown(m)
}
var xxx_messageInfo_LoadPartitionsRequest proto.InternalMessageInfo
func (m *LoadPartitionsRequest) GetBase() *commonpb.MsgBase {
if m != nil {
return m.Base
}
return nil
}
func (m *LoadPartitionsRequest) GetDbName() string {
if m != nil {
return m.DbName
}
return ""
}
func (m *LoadPartitionsRequest) GetCollectionName() string {
if m != nil {
return m.CollectionName
}
return ""
}
func (m *LoadPartitionsRequest) GetPartitionNames() []string {
if m != nil {
return m.PartitionNames
}
return nil
}
//
// Release specific partitions data of one collection from query nodes.
// Then you can not get these data as result when you do vector search on this collection.
type ReleasePartitionsRequest struct {
// Not useful for now
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
// Not useful for now
DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
// The collection name in milvus
CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
// The partition names you want to release
PartitionNames []string `protobuf:"bytes,4,rep,name=partition_names,json=partitionNames,proto3" json:"partition_names,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ReleasePartitionsRequest) Reset() { *m = ReleasePartitionsRequest{} }
func (m *ReleasePartitionsRequest) String() string { return proto.CompactTextString(m) }
func (*ReleasePartitionsRequest) ProtoMessage() {}
func (*ReleasePartitionsRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_02345ba45cc0e303, []int{20}
}
func (m *ReleasePartitionsRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ReleasePartitionsRequest.Unmarshal(m, b)
}
func (m *ReleasePartitionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ReleasePartitionsRequest.Marshal(b, m, deterministic)
}
func (m *ReleasePartitionsRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_ReleasePartitionsRequest.Merge(m, src)
}
func (m *ReleasePartitionsRequest) XXX_Size() int {
return xxx_messageInfo_ReleasePartitionsRequest.Size(m)
}
func (m *ReleasePartitionsRequest) XXX_DiscardUnknown() {
xxx_messageInfo_ReleasePartitionsRequest.DiscardUnknown(m)
}
var xxx_messageInfo_ReleasePartitionsRequest proto.InternalMessageInfo
func (m *ReleasePartitionsRequest) GetBase() *commonpb.MsgBase {
if m != nil {
return m.Base
}
return nil
}
func (m *ReleasePartitionsRequest) GetDbName() string {
if m != nil {
return m.DbName
}
return ""
}
func (m *ReleasePartitionsRequest) GetCollectionName() string {
if m != nil {
return m.CollectionName
}
return ""
}
func (m *ReleasePartitionsRequest) GetPartitionNames() []string {
if m != nil {
return m.PartitionNames
}
return nil
}
//
// Get partition statistics like row_count.
type GetPartitionStatisticsRequest struct {
// Not useful for now
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
// Not useful for now
DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
// The collection name in milvus
CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
// The partition name you want to collect statistics
PartitionName string `protobuf:"bytes,4,opt,name=partition_name,json=partitionName,proto3" json:"partition_name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetPartitionStatisticsRequest) Reset() { *m = GetPartitionStatisticsRequest{} }
func (m *GetPartitionStatisticsRequest) String() string { return proto.CompactTextString(m) }
func (*GetPartitionStatisticsRequest) ProtoMessage() {}
func (*GetPartitionStatisticsRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_02345ba45cc0e303, []int{21}
}
func (m *GetPartitionStatisticsRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetPartitionStatisticsRequest.Unmarshal(m, b)
}
func (m *GetPartitionStatisticsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetPartitionStatisticsRequest.Marshal(b, m, deterministic)
}
func (m *GetPartitionStatisticsRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetPartitionStatisticsRequest.Merge(m, src)
}
func (m *GetPartitionStatisticsRequest) XXX_Size() int {
return xxx_messageInfo_GetPartitionStatisticsRequest.Size(m)
}
func (m *GetPartitionStatisticsRequest) XXX_DiscardUnknown() {
xxx_messageInfo_GetPartitionStatisticsRequest.DiscardUnknown(m)
}
var xxx_messageInfo_GetPartitionStatisticsRequest proto.InternalMessageInfo
func (m *GetPartitionStatisticsRequest) GetBase() *commonpb.MsgBase {
if m != nil {
return m.Base
}
return nil
}
func (m *GetPartitionStatisticsRequest) GetDbName() string {
if m != nil {
return m.DbName
}
return ""
}
func (m *GetPartitionStatisticsRequest) GetCollectionName() string {
if m != nil {
return m.CollectionName
}
return ""
}
func (m *GetPartitionStatisticsRequest) GetPartitionName() string {
if m != nil {
return m.PartitionName
}
return ""
}
type GetPartitionStatisticsResponse struct {
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"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetPartitionStatisticsResponse) Reset() { *m = GetPartitionStatisticsResponse{} }
func (m *GetPartitionStatisticsResponse) String() string { return proto.CompactTextString(m) }
func (*GetPartitionStatisticsResponse) ProtoMessage() {}
func (*GetPartitionStatisticsResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_02345ba45cc0e303, []int{22}
}
func (m *GetPartitionStatisticsResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetPartitionStatisticsResponse.Unmarshal(m, b)
}
func (m *GetPartitionStatisticsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetPartitionStatisticsResponse.Marshal(b, m, deterministic)
}
func (m *GetPartitionStatisticsResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetPartitionStatisticsResponse.Merge(m, src)
}
func (m *GetPartitionStatisticsResponse) XXX_Size() int {
return xxx_messageInfo_GetPartitionStatisticsResponse.Size(m)
}
func (m *GetPartitionStatisticsResponse) XXX_DiscardUnknown() {
xxx_messageInfo_GetPartitionStatisticsResponse.DiscardUnknown(m)
}
var xxx_messageInfo_GetPartitionStatisticsResponse proto.InternalMessageInfo
func (m *GetPartitionStatisticsResponse) GetStatus() *commonpb.Status {
if m != nil {
return m.Status
}
return nil
}
func (m *GetPartitionStatisticsResponse) GetStats() []*commonpb.KeyValuePair {
if m != nil {
return m.Stats
}
return nil
}
//
// List all partitions for particular collection
type ShowPartitionsRequest struct {
// Not useful for now
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
// Not useful for now
DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
// The collection name you want to describe, you can pass collection_name or collectionID
CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
// The collection id in milvus
CollectionID int64 `protobuf:"varint,4,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
// When type is InMemory, will return these patitions's inMemory_percentages.(Optional)
PartitionNames []string `protobuf:"bytes,5,rep,name=partition_names,json=partitionNames,proto3" json:"partition_names,omitempty"`
// Decide return Loaded partitions or All partitions(Optional)
Type ShowType `protobuf:"varint,6,opt,name=type,proto3,enum=milvus.proto.milvus.ShowType" json:"type,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ShowPartitionsRequest) Reset() { *m = ShowPartitionsRequest{} }
func (m *ShowPartitionsRequest) String() string { return proto.CompactTextString(m) }
func (*ShowPartitionsRequest) ProtoMessage() {}
func (*ShowPartitionsRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_02345ba45cc0e303, []int{23}
}
func (m *ShowPartitionsRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ShowPartitionsRequest.Unmarshal(m, b)
}
func (m *ShowPartitionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ShowPartitionsRequest.Marshal(b, m, deterministic)
}
func (m *ShowPartitionsRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_ShowPartitionsRequest.Merge(m, src)
}
func (m *ShowPartitionsRequest) XXX_Size() int {
return xxx_messageInfo_ShowPartitionsRequest.Size(m)
}
func (m *ShowPartitionsRequest) XXX_DiscardUnknown() {
xxx_messageInfo_ShowPartitionsRequest.DiscardUnknown(m)
}
var xxx_messageInfo_ShowPartitionsRequest proto.InternalMessageInfo
func (m *ShowPartitionsRequest) GetBase() *commonpb.MsgBase {
if m != nil {
return m.Base
}
return nil
}
func (m *ShowPartitionsRequest) GetDbName() string {
if m != nil {
return m.DbName
}
return ""
}
func (m *ShowPartitionsRequest) GetCollectionName() string {
if m != nil {
return m.CollectionName
}
return ""
}
func (m *ShowPartitionsRequest) GetCollectionID() int64 {
if m != nil {
return m.CollectionID
}
return 0
}
func (m *ShowPartitionsRequest) GetPartitionNames() []string {
if m != nil {
return m.PartitionNames
}
return nil
}
func (m *ShowPartitionsRequest) GetType() ShowType {
if m != nil {
return m.Type
}
return ShowType_All
}
//
// List all partitions for particular collection response.
// The returned datas are all rows, we can format to columns by therir index.
type ShowPartitionsResponse struct {
// Contain error_code and reason
Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
// All partition names for this collection
PartitionNames []string `protobuf:"bytes,2,rep,name=partition_names,json=partitionNames,proto3" json:"partition_names,omitempty"`
// All partition ids for this collection
PartitionIDs []int64 `protobuf:"varint,3,rep,packed,name=partitionIDs,proto3" json:"partitionIDs,omitempty"`
// All hybrid timestamps
CreatedTimestamps []uint64 `protobuf:"varint,4,rep,packed,name=created_timestamps,json=createdTimestamps,proto3" json:"created_timestamps,omitempty"`
// All utc timestamps calculated by created_timestamps
CreatedUtcTimestamps []uint64 `protobuf:"varint,5,rep,packed,name=created_utc_timestamps,json=createdUtcTimestamps,proto3" json:"created_utc_timestamps,omitempty"`
// Load percentage on querynode
InMemoryPercentages []int64 `protobuf:"varint,6,rep,packed,name=inMemory_percentages,json=inMemoryPercentages,proto3" json:"inMemory_percentages,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ShowPartitionsResponse) Reset() { *m = ShowPartitionsResponse{} }
func (m *ShowPartitionsResponse) String() string { return proto.CompactTextString(m) }
func (*ShowPartitionsResponse) ProtoMessage() {}
func (*ShowPartitionsResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_02345ba45cc0e303, []int{24}
}
func (m *ShowPartitionsResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ShowPartitionsResponse.Unmarshal(m, b)
}
func (m *ShowPartitionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ShowPartitionsResponse.Marshal(b, m, deterministic)
}
func (m *ShowPartitionsResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_ShowPartitionsResponse.Merge(m, src)
}
func (m *ShowPartitionsResponse) XXX_Size() int {
return xxx_messageInfo_ShowPartitionsResponse.Size(m)
}
func (m *ShowPartitionsResponse) XXX_DiscardUnknown() {
xxx_messageInfo_ShowPartitionsResponse.DiscardUnknown(m)
}
var xxx_messageInfo_ShowPartitionsResponse proto.InternalMessageInfo
func (m *ShowPartitionsResponse) GetStatus() *commonpb.Status {
if m != nil {
return m.Status
}
return nil
}
func (m *ShowPartitionsResponse) GetPartitionNames() []string {
if m != nil {
return m.PartitionNames
}
return nil
}
func (m *ShowPartitionsResponse) GetPartitionIDs() []int64 {
if m != nil {
return m.PartitionIDs
}
return nil
}
func (m *ShowPartitionsResponse) GetCreatedTimestamps() []uint64 {
if m != nil {
return m.CreatedTimestamps
}
return nil
}
func (m *ShowPartitionsResponse) GetCreatedUtcTimestamps() []uint64 {
if m != nil {
return m.CreatedUtcTimestamps
}
return nil
}
func (m *ShowPartitionsResponse) GetInMemoryPercentages() []int64 {
if m != nil {
return m.InMemoryPercentages
}
return nil
}
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) {
return fileDescriptor_02345ba45cc0e303, []int{25}
}
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 {
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"`
EnableIndex bool `protobuf:"varint,4,opt,name=enable_index,json=enableIndex,proto3" json:"enable_index,omitempty"`
FieldID int64 `protobuf:"varint,5,opt,name=fieldID,proto3" json:"fieldID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DescribeSegmentResponse) Reset() { *m = DescribeSegmentResponse{} }
func (m *DescribeSegmentResponse) String() string { return proto.CompactTextString(m) }
func (*DescribeSegmentResponse) ProtoMessage() {}
func (*DescribeSegmentResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_02345ba45cc0e303, []int{26}
}
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
}
func (m *DescribeSegmentResponse) GetBuildID() int64 {
if m != nil {
return m.BuildID
}
return 0
}
func (m *DescribeSegmentResponse) GetEnableIndex() bool {
if m != nil {
return m.EnableIndex
}
return false
}
func (m *DescribeSegmentResponse) GetFieldID() int64 {
if m != nil {
return m.FieldID
}
return 0
}
type ShowSegmentsRequest 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"`
PartitionID int64 `protobuf:"varint,3,opt,name=partitionID,proto3" json:"partitionID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ShowSegmentsRequest) Reset() { *m = ShowSegmentsRequest{} }
func (m *ShowSegmentsRequest) String() string { return proto.CompactTextString(m) }
func (*ShowSegmentsRequest) ProtoMessage() {}
func (*ShowSegmentsRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_02345ba45cc0e303, []int{27}
}
func (m *ShowSegmentsRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ShowSegmentsRequest.Unmarshal(m, b)
}
func (m *ShowSegmentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ShowSegmentsRequest.Marshal(b, m, deterministic)
}
func (m *ShowSegmentsRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_ShowSegmentsRequest.Merge(m, src)
}
func (m *ShowSegmentsRequest) XXX_Size() int {
return xxx_messageInfo_ShowSegmentsRequest.Size(m)
}
func (m *ShowSegmentsRequest) XXX_DiscardUnknown() {
xxx_messageInfo_ShowSegmentsRequest.DiscardUnknown(m)
}
var xxx_messageInfo_ShowSegmentsRequest proto.InternalMessageInfo
func (m *ShowSegmentsRequest) GetBase() *commonpb.MsgBase {
if m != nil {
return m.Base
}
return nil
}
func (m *ShowSegmentsRequest) GetCollectionID() int64 {
if m != nil {
return m.CollectionID
}
return 0
}
func (m *ShowSegmentsRequest) GetPartitionID() int64 {
if m != nil {
return m.PartitionID
}
return 0
}
type ShowSegmentsResponse struct {
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:"-"`
}
func (m *ShowSegmentsResponse) Reset() { *m = ShowSegmentsResponse{} }
func (m *ShowSegmentsResponse) String() string { return proto.CompactTextString(m) }
func (*ShowSegmentsResponse) ProtoMessage() {}
func (*ShowSegmentsResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_02345ba45cc0e303, []int{28}
}
func (m *ShowSegmentsResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ShowSegmentsResponse.Unmarshal(m, b)
}
func (m *ShowSegmentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ShowSegmentsResponse.Marshal(b, m, deterministic)
}
func (m *ShowSegmentsResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_ShowSegmentsResponse.Merge(m, src)
}
func (m *ShowSegmentsResponse) XXX_Size() int {
return xxx_messageInfo_ShowSegmentsResponse.Size(m)
}
func (m *ShowSegmentsResponse) XXX_DiscardUnknown() {
xxx_messageInfo_ShowSegmentsResponse.DiscardUnknown(m)
}
var xxx_messageInfo_ShowSegmentsResponse proto.InternalMessageInfo
func (m *ShowSegmentsResponse) GetStatus() *commonpb.Status {
if m != nil {
return m.Status
}
return nil
}
func (m *ShowSegmentsResponse) GetSegmentIDs() []int64 {
if m != nil {
return m.SegmentIDs
}
return nil
}
//
// Create index for vector datas
type CreateIndexRequest struct {
// Not useful for now
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
// Not useful for now
DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
// The particular collection name you want to create index.
CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
// The vector field name in this particular collection
FieldName string `protobuf:"bytes,4,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"`
// Support keys: index_type,metric_type, params. Different index_type may has different params.
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) {
return fileDescriptor_02345ba45cc0e303, []int{29}
}
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
func (m *CreateIndexRequest) GetBase() *commonpb.MsgBase {
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
}
//
// Get created index information.
// Current release of Milvus only supports showing latest built index.
type DescribeIndexRequest struct {
// Not useful for now
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
// Not useful for now
DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
// The particular collection name in Milvus
CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
// The vector field name in this particular collection
FieldName string `protobuf:"bytes,4,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"`
// No need to set up for now @2021.06.30
IndexName string `protobuf:"bytes,5,opt,name=index_name,json=indexName,proto3" json:"index_name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DescribeIndexRequest) Reset() { *m = DescribeIndexRequest{} }
func (m *DescribeIndexRequest) String() string { return proto.CompactTextString(m) }
func (*DescribeIndexRequest) ProtoMessage() {}
func (*DescribeIndexRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_02345ba45cc0e303, []int{30}
}
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
func (m *DescribeIndexRequest) GetBase() *commonpb.MsgBase {
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 ""
}
func (m *DescribeIndexRequest) GetIndexName() string {
if m != nil {
return m.IndexName
}
return ""
}
//
// Index informations
type IndexDescription struct {
// Index name
IndexName string `protobuf:"bytes,1,opt,name=index_name,json=indexName,proto3" json:"index_name,omitempty"`
// Index id
IndexID int64 `protobuf:"varint,2,opt,name=indexID,proto3" json:"indexID,omitempty"`
// Will return index_type, metric_type, params(like nlist).
Params []*commonpb.KeyValuePair `protobuf:"bytes,3,rep,name=params,proto3" json:"params,omitempty"`
// The vector field name
FieldName string `protobuf:"bytes,4,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *IndexDescription) Reset() { *m = IndexDescription{} }
func (m *IndexDescription) String() string { return proto.CompactTextString(m) }
func (*IndexDescription) ProtoMessage() {}
func (*IndexDescription) Descriptor() ([]byte, []int) {
return fileDescriptor_02345ba45cc0e303, []int{31}
}
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 ""
}
func (m *IndexDescription) GetIndexID() int64 {
if m != nil {
return m.IndexID
}
return 0
}
func (m *IndexDescription) GetParams() []*commonpb.KeyValuePair {
if m != nil {
return m.Params
}
return nil
}
func (m *IndexDescription) GetFieldName() string {
if m != nil {
return m.FieldName
}
return ""
}
//
// Describe index response
type DescribeIndexResponse struct {
// Response status
Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
// All index informations, for now only return tha latest index you created for the collection.
IndexDescriptions []*IndexDescription `protobuf:"bytes,2,rep,name=index_descriptions,json=indexDescriptions,proto3" json:"index_descriptions,omitempty"`
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) {
return fileDescriptor_02345ba45cc0e303, []int{32}
}
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
func (m *DescribeIndexResponse) GetStatus() *commonpb.Status {
if m != nil {
return m.Status
}
return nil
}
func (m *DescribeIndexResponse) GetIndexDescriptions() []*IndexDescription {
if m != nil {
return m.IndexDescriptions
}
return nil
}
//
// Get index building progress
type GetIndexBuildProgressRequest struct {
// Not useful for now
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
// Not useful for now
DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
// The collection name in milvus
CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
// The vector field name in this collection
FieldName string `protobuf:"bytes,4,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"`
// Not useful for now
IndexName string `protobuf:"bytes,5,opt,name=index_name,json=indexName,proto3" json:"index_name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
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{33}
}
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{34}
}
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
}
type GetIndexStateRequest 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 *GetIndexStateRequest) Reset() { *m = GetIndexStateRequest{} }
func (m *GetIndexStateRequest) String() string { return proto.CompactTextString(m) }
func (*GetIndexStateRequest) ProtoMessage() {}
func (*GetIndexStateRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_02345ba45cc0e303, []int{35}
}
func (m *GetIndexStateRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetIndexStateRequest.Unmarshal(m, b)
}
func (m *GetIndexStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetIndexStateRequest.Marshal(b, m, deterministic)
}
func (m *GetIndexStateRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetIndexStateRequest.Merge(m, src)
}
func (m *GetIndexStateRequest) XXX_Size() int {
return xxx_messageInfo_GetIndexStateRequest.Size(m)
}
func (m *GetIndexStateRequest) XXX_DiscardUnknown() {
xxx_messageInfo_GetIndexStateRequest.DiscardUnknown(m)
}
var xxx_messageInfo_GetIndexStateRequest proto.InternalMessageInfo
func (m *GetIndexStateRequest) GetBase() *commonpb.MsgBase {
if m != nil {
return m.Base
}
return nil
}
func (m *GetIndexStateRequest) GetDbName() string {
if m != nil {
return m.DbName
}
return ""
}
func (m *GetIndexStateRequest) GetCollectionName() string {
if m != nil {
return m.CollectionName
}
return ""
}
func (m *GetIndexStateRequest) GetFieldName() string {
if m != nil {
return m.FieldName
}
return ""
}
func (m *GetIndexStateRequest) GetIndexName() string {
if m != nil {
return m.IndexName
}
return ""
}
type GetIndexStateResponse struct {
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"`
FailReason string `protobuf:"bytes,3,opt,name=fail_reason,json=failReason,proto3" json:"fail_reason,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetIndexStateResponse) Reset() { *m = GetIndexStateResponse{} }
func (m *GetIndexStateResponse) String() string { return proto.CompactTextString(m) }
func (*GetIndexStateResponse) ProtoMessage() {}
func (*GetIndexStateResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_02345ba45cc0e303, []int{36}
}
func (m *GetIndexStateResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetIndexStateResponse.Unmarshal(m, b)
}
func (m *GetIndexStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetIndexStateResponse.Marshal(b, m, deterministic)
}
func (m *GetIndexStateResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetIndexStateResponse.Merge(m, src)
}
func (m *GetIndexStateResponse) XXX_Size() int {
return xxx_messageInfo_GetIndexStateResponse.Size(m)
}
func (m *GetIndexStateResponse) XXX_DiscardUnknown() {
xxx_messageInfo_GetIndexStateResponse.DiscardUnknown(m)
}
var xxx_messageInfo_GetIndexStateResponse proto.InternalMessageInfo
func (m *GetIndexStateResponse) GetStatus() *commonpb.Status {
if m != nil {
return m.Status
}
return nil
}
func (m *GetIndexStateResponse) GetState() commonpb.IndexState {
if m != nil {
return m.State
}
return commonpb.IndexState_IndexStateNone
}
func (m *GetIndexStateResponse) GetFailReason() string {
if m != nil {
return m.FailReason
}
return ""
}
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) {
return fileDescriptor_02345ba45cc0e303, []int{37}
}
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 ""
}
type InsertRequest struct {
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
PartitionName string `protobuf:"bytes,4,opt,name=partition_name,json=partitionName,proto3" json:"partition_name,omitempty"`
FieldsData []*schemapb.FieldData `protobuf:"bytes,5,rep,name=fields_data,json=fieldsData,proto3" json:"fields_data,omitempty"`
HashKeys []uint32 `protobuf:"varint,6,rep,packed,name=hash_keys,json=hashKeys,proto3" json:"hash_keys,omitempty"`
NumRows uint32 `protobuf:"varint,7,opt,name=num_rows,json=numRows,proto3" json:"num_rows,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *InsertRequest) Reset() { *m = InsertRequest{} }
func (m *InsertRequest) String() string { return proto.CompactTextString(m) }
func (*InsertRequest) ProtoMessage() {}
func (*InsertRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_02345ba45cc0e303, []int{38}
}
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
func (m *InsertRequest) GetBase() *commonpb.MsgBase {
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) GetFieldsData() []*schemapb.FieldData {
if m != nil {
return m.FieldsData
}
return nil
}
func (m *InsertRequest) GetHashKeys() []uint32 {
if m != nil {
return m.HashKeys
}
return nil
}
func (m *InsertRequest) GetNumRows() uint32 {
if m != nil {
return m.NumRows
}
return 0
}
type MutationResult struct {
Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
IDs *schemapb.IDs `protobuf:"bytes,2,opt,name=IDs,proto3" json:"IDs,omitempty"`
SuccIndex []uint32 `protobuf:"varint,3,rep,packed,name=succ_index,json=succIndex,proto3" json:"succ_index,omitempty"`
ErrIndex []uint32 `protobuf:"varint,4,rep,packed,name=err_index,json=errIndex,proto3" json:"err_index,omitempty"`
Acknowledged bool `protobuf:"varint,5,opt,name=acknowledged,proto3" json:"acknowledged,omitempty"`
InsertCnt int64 `protobuf:"varint,6,opt,name=insert_cnt,json=insertCnt,proto3" json:"insert_cnt,omitempty"`
DeleteCnt int64 `protobuf:"varint,7,opt,name=delete_cnt,json=deleteCnt,proto3" json:"delete_cnt,omitempty"`
UpsertCnt int64 `protobuf:"varint,8,opt,name=upsert_cnt,json=upsertCnt,proto3" json:"upsert_cnt,omitempty"`
Timestamp uint64 `protobuf:"varint,9,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *MutationResult) Reset() { *m = MutationResult{} }
func (m *MutationResult) String() string { return proto.CompactTextString(m) }
func (*MutationResult) ProtoMessage() {}
func (*MutationResult) Descriptor() ([]byte, []int) {
return fileDescriptor_02345ba45cc0e303, []int{39}
}
func (m *MutationResult) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_MutationResult.Unmarshal(m, b)
}
func (m *MutationResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_MutationResult.Marshal(b, m, deterministic)
}
func (m *MutationResult) XXX_Merge(src proto.Message) {
xxx_messageInfo_MutationResult.Merge(m, src)
}
func (m *MutationResult) XXX_Size() int {
return xxx_messageInfo_MutationResult.Size(m)
}
func (m *MutationResult) XXX_DiscardUnknown() {
xxx_messageInfo_MutationResult.DiscardUnknown(m)
}
var xxx_messageInfo_MutationResult proto.InternalMessageInfo
func (m *MutationResult) GetStatus() *commonpb.Status {
if m != nil {
return m.Status
}
return nil
}
func (m *MutationResult) GetIDs() *schemapb.IDs {
if m != nil {
return m.IDs
}
return nil
}
func (m *MutationResult) GetSuccIndex() []uint32 {
if m != nil {
return m.SuccIndex
}
return nil
}
func (m *MutationResult) GetErrIndex() []uint32 {
if m != nil {
return m.ErrIndex
}
return nil
}
func (m *MutationResult) GetAcknowledged() bool {
if m != nil {
return m.Acknowledged
}
return false
}
func (m *MutationResult) GetInsertCnt() int64 {
if m != nil {
return m.InsertCnt
}
return 0
}
func (m *MutationResult) GetDeleteCnt() int64 {
if m != nil {
return m.DeleteCnt
}
return 0
}
func (m *MutationResult) GetUpsertCnt() int64 {
if m != nil {
return m.UpsertCnt
}
return 0
}
func (m *MutationResult) GetTimestamp() uint64 {
if m != nil {
return m.Timestamp
}
return 0
}
type DeleteRequest struct {
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
PartitionName string `protobuf:"bytes,4,opt,name=partition_name,json=partitionName,proto3" json:"partition_name,omitempty"`
Expr string `protobuf:"bytes,5,opt,name=expr,proto3" json:"expr,omitempty"`
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:"-"`
}
func (m *DeleteRequest) Reset() { *m = DeleteRequest{} }
func (m *DeleteRequest) String() string { return proto.CompactTextString(m) }
func (*DeleteRequest) ProtoMessage() {}
func (*DeleteRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_02345ba45cc0e303, []int{40}
}
func (m *DeleteRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DeleteRequest.Unmarshal(m, b)
}
func (m *DeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_DeleteRequest.Marshal(b, m, deterministic)
}
func (m *DeleteRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_DeleteRequest.Merge(m, src)
}
func (m *DeleteRequest) XXX_Size() int {
return xxx_messageInfo_DeleteRequest.Size(m)
}
func (m *DeleteRequest) XXX_DiscardUnknown() {
xxx_messageInfo_DeleteRequest.DiscardUnknown(m)
}
var xxx_messageInfo_DeleteRequest proto.InternalMessageInfo
func (m *DeleteRequest) GetBase() *commonpb.MsgBase {
if m != nil {
return m.Base
}
return nil
}
func (m *DeleteRequest) GetDbName() string {
if m != nil {
return m.DbName
}
return ""
}
func (m *DeleteRequest) GetCollectionName() string {
if m != nil {
return m.CollectionName
}
return ""
}
func (m *DeleteRequest) GetPartitionName() string {
if m != nil {
return m.PartitionName
}
return ""
}
func (m *DeleteRequest) GetExpr() string {
if m != nil {
return m.Expr
}
return ""
}
func (m *DeleteRequest) GetHashKeys() []uint32 {
if m != nil {
return m.HashKeys
}
return nil
}
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) {
return fileDescriptor_02345ba45cc0e303, []int{41}
}
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
}
return PlaceholderType_None
}
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) {
return fileDescriptor_02345ba45cc0e303, []int{42}
}
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
}
type SearchRequest 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"`
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"`
// serialized `PlaceholderGroup`
PlaceholderGroup []byte `protobuf:"bytes,6,opt,name=placeholder_group,json=placeholderGroup,proto3" json:"placeholder_group,omitempty"`
DslType commonpb.DslType `protobuf:"varint,7,opt,name=dsl_type,json=dslType,proto3,enum=milvus.proto.common.DslType" json:"dsl_type,omitempty"`
OutputFields []string `protobuf:"bytes,8,rep,name=output_fields,json=outputFields,proto3" json:"output_fields,omitempty"`
SearchParams []*commonpb.KeyValuePair `protobuf:"bytes,9,rep,name=search_params,json=searchParams,proto3" json:"search_params,omitempty"`
TravelTimestamp uint64 `protobuf:"varint,10,opt,name=travel_timestamp,json=travelTimestamp,proto3" json:"travel_timestamp,omitempty"`
GuaranteeTimestamp uint64 `protobuf:"varint,11,opt,name=guarantee_timestamp,json=guaranteeTimestamp,proto3" json:"guarantee_timestamp,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SearchRequest) Reset() { *m = SearchRequest{} }
func (m *SearchRequest) String() string { return proto.CompactTextString(m) }
func (*SearchRequest) ProtoMessage() {}
func (*SearchRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_02345ba45cc0e303, []int{43}
}
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
func (m *SearchRequest) GetBase() *commonpb.MsgBase {
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 ""
}
func (m *SearchRequest) GetPlaceholderGroup() []byte {
if m != nil {
return m.PlaceholderGroup
}
return nil
}
func (m *SearchRequest) GetDslType() commonpb.DslType {
if m != nil {
return m.DslType
}
return commonpb.DslType_Dsl
}
func (m *SearchRequest) GetOutputFields() []string {
if m != nil {
return m.OutputFields
}
return nil
}
func (m *SearchRequest) GetSearchParams() []*commonpb.KeyValuePair {
if m != nil {
return m.SearchParams
}
return nil
}
func (m *SearchRequest) GetTravelTimestamp() uint64 {
if m != nil {
return m.TravelTimestamp
}
return 0
}
func (m *SearchRequest) GetGuaranteeTimestamp() uint64 {
if m != nil {
return m.GuaranteeTimestamp
}
return 0
}
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) {
return fileDescriptor_02345ba45cc0e303, []int{44}
}
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
}
type SearchResults struct {
Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
Results *schemapb.SearchResultData `protobuf:"bytes,2,opt,name=results,proto3" json:"results,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SearchResults) Reset() { *m = SearchResults{} }
func (m *SearchResults) String() string { return proto.CompactTextString(m) }
func (*SearchResults) ProtoMessage() {}
func (*SearchResults) Descriptor() ([]byte, []int) {
return fileDescriptor_02345ba45cc0e303, []int{45}
}
func (m *SearchResults) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SearchResults.Unmarshal(m, b)
}
func (m *SearchResults) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SearchResults.Marshal(b, m, deterministic)
}
func (m *SearchResults) XXX_Merge(src proto.Message) {
xxx_messageInfo_SearchResults.Merge(m, src)
}
func (m *SearchResults) XXX_Size() int {
return xxx_messageInfo_SearchResults.Size(m)
}
func (m *SearchResults) XXX_DiscardUnknown() {
xxx_messageInfo_SearchResults.DiscardUnknown(m)
}
var xxx_messageInfo_SearchResults proto.InternalMessageInfo
func (m *SearchResults) GetStatus() *commonpb.Status {
if m != nil {
return m.Status
}
return nil
}
func (m *SearchResults) GetResults() *schemapb.SearchResultData {
if m != nil {
return m.Results
}
return nil
}
type FlushRequest 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"`
CollectionNames []string `protobuf:"bytes,3,rep,name=collection_names,json=collectionNames,proto3" json:"collection_names,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *FlushRequest) Reset() { *m = FlushRequest{} }
func (m *FlushRequest) String() string { return proto.CompactTextString(m) }
func (*FlushRequest) ProtoMessage() {}
func (*FlushRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_02345ba45cc0e303, []int{46}
}
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
func (m *FlushRequest) GetBase() *commonpb.MsgBase {
if m != nil {
return m.Base
}
return nil
}
func (m *FlushRequest) GetDbName() string {
if m != nil {
return m.DbName
}
return ""
}
func (m *FlushRequest) GetCollectionNames() []string {
if m != nil {
return m.CollectionNames
}
return nil
}
type FlushResponse struct {
Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
CollSegIDs map[string]*schemapb.LongArray `protobuf:"bytes,3,rep,name=coll_segIDs,json=collSegIDs,proto3" json:"coll_segIDs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *FlushResponse) Reset() { *m = FlushResponse{} }
func (m *FlushResponse) String() string { return proto.CompactTextString(m) }
func (*FlushResponse) ProtoMessage() {}
func (*FlushResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_02345ba45cc0e303, []int{47}
}
func (m *FlushResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_FlushResponse.Unmarshal(m, b)
}
func (m *FlushResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_FlushResponse.Marshal(b, m, deterministic)
}
func (m *FlushResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_FlushResponse.Merge(m, src)
}
func (m *FlushResponse) XXX_Size() int {
return xxx_messageInfo_FlushResponse.Size(m)
}
func (m *FlushResponse) XXX_DiscardUnknown() {
xxx_messageInfo_FlushResponse.DiscardUnknown(m)
}
var xxx_messageInfo_FlushResponse proto.InternalMessageInfo
func (m *FlushResponse) GetStatus() *commonpb.Status {
if m != nil {
return m.Status
}
return nil
}
func (m *FlushResponse) GetDbName() string {
if m != nil {
return m.DbName
}
return ""
}
func (m *FlushResponse) GetCollSegIDs() map[string]*schemapb.LongArray {
if m != nil {
return m.CollSegIDs
}
return nil
}
type QueryRequest struct {
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
Expr string `protobuf:"bytes,4,opt,name=expr,proto3" json:"expr,omitempty"`
OutputFields []string `protobuf:"bytes,5,rep,name=output_fields,json=outputFields,proto3" json:"output_fields,omitempty"`
PartitionNames []string `protobuf:"bytes,6,rep,name=partition_names,json=partitionNames,proto3" json:"partition_names,omitempty"`
TravelTimestamp uint64 `protobuf:"varint,7,opt,name=travel_timestamp,json=travelTimestamp,proto3" json:"travel_timestamp,omitempty"`
GuaranteeTimestamp uint64 `protobuf:"varint,8,opt,name=guarantee_timestamp,json=guaranteeTimestamp,proto3" json:"guarantee_timestamp,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *QueryRequest) Reset() { *m = QueryRequest{} }
func (m *QueryRequest) String() string { return proto.CompactTextString(m) }
func (*QueryRequest) ProtoMessage() {}
func (*QueryRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_02345ba45cc0e303, []int{48}
}
func (m *QueryRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_QueryRequest.Unmarshal(m, b)
}
func (m *QueryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_QueryRequest.Marshal(b, m, deterministic)
}
func (m *QueryRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_QueryRequest.Merge(m, src)
}
func (m *QueryRequest) XXX_Size() int {
return xxx_messageInfo_QueryRequest.Size(m)
}
func (m *QueryRequest) XXX_DiscardUnknown() {
xxx_messageInfo_QueryRequest.DiscardUnknown(m)
}
var xxx_messageInfo_QueryRequest proto.InternalMessageInfo
func (m *QueryRequest) GetBase() *commonpb.MsgBase {
if m != nil {
return m.Base
}
return nil
}
func (m *QueryRequest) GetDbName() string {
if m != nil {
return m.DbName
}
return ""
}
func (m *QueryRequest) GetCollectionName() string {
if m != nil {
return m.CollectionName
}
return ""
}
func (m *QueryRequest) GetExpr() string {
if m != nil {
return m.Expr
}
return ""
}
func (m *QueryRequest) GetOutputFields() []string {
if m != nil {
return m.OutputFields
}
return nil
}
func (m *QueryRequest) GetPartitionNames() []string {
if m != nil {
return m.PartitionNames
}
return nil
}
func (m *QueryRequest) GetTravelTimestamp() uint64 {
if m != nil {
return m.TravelTimestamp
}
return 0
}
func (m *QueryRequest) GetGuaranteeTimestamp() uint64 {
if m != nil {
return m.GuaranteeTimestamp
}
return 0
}
type QueryResults struct {
Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
FieldsData []*schemapb.FieldData `protobuf:"bytes,2,rep,name=fields_data,json=fieldsData,proto3" json:"fields_data,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *QueryResults) Reset() { *m = QueryResults{} }
func (m *QueryResults) String() string { return proto.CompactTextString(m) }
func (*QueryResults) ProtoMessage() {}
func (*QueryResults) Descriptor() ([]byte, []int) {
return fileDescriptor_02345ba45cc0e303, []int{49}
}
func (m *QueryResults) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_QueryResults.Unmarshal(m, b)
}
func (m *QueryResults) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_QueryResults.Marshal(b, m, deterministic)
}
func (m *QueryResults) XXX_Merge(src proto.Message) {
xxx_messageInfo_QueryResults.Merge(m, src)
}
func (m *QueryResults) XXX_Size() int {
return xxx_messageInfo_QueryResults.Size(m)
}
func (m *QueryResults) XXX_DiscardUnknown() {
xxx_messageInfo_QueryResults.DiscardUnknown(m)
}
var xxx_messageInfo_QueryResults proto.InternalMessageInfo
func (m *QueryResults) GetStatus() *commonpb.Status {
if m != nil {
return m.Status
}
return nil
}
func (m *QueryResults) GetFieldsData() []*schemapb.FieldData {
if m != nil {
return m.FieldsData
}
return nil
}
type VectorIDs struct {
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
FieldName string `protobuf:"bytes,2,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"`
IdArray *schemapb.IDs `protobuf:"bytes,3,opt,name=id_array,json=idArray,proto3" json:"id_array,omitempty"`
PartitionNames []string `protobuf:"bytes,4,rep,name=partition_names,json=partitionNames,proto3" json:"partition_names,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *VectorIDs) Reset() { *m = VectorIDs{} }
func (m *VectorIDs) String() string { return proto.CompactTextString(m) }
func (*VectorIDs) ProtoMessage() {}
func (*VectorIDs) Descriptor() ([]byte, []int) {
return fileDescriptor_02345ba45cc0e303, []int{50}
}
func (m *VectorIDs) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_VectorIDs.Unmarshal(m, b)
}
func (m *VectorIDs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_VectorIDs.Marshal(b, m, deterministic)
}
func (m *VectorIDs) XXX_Merge(src proto.Message) {
xxx_messageInfo_VectorIDs.Merge(m, src)
}
func (m *VectorIDs) XXX_Size() int {
return xxx_messageInfo_VectorIDs.Size(m)
}
func (m *VectorIDs) XXX_DiscardUnknown() {
xxx_messageInfo_VectorIDs.DiscardUnknown(m)
}
var xxx_messageInfo_VectorIDs proto.InternalMessageInfo
func (m *VectorIDs) GetCollectionName() string {
if m != nil {
return m.CollectionName
}
return ""
}
func (m *VectorIDs) GetFieldName() string {
if m != nil {
return m.FieldName
}
return ""
}
func (m *VectorIDs) GetIdArray() *schemapb.IDs {
if m != nil {
return m.IdArray
}
return nil
}
func (m *VectorIDs) GetPartitionNames() []string {
if m != nil {
return m.PartitionNames
}
return nil
}
type VectorsArray struct {
// Types that are valid to be assigned to Array:
// *VectorsArray_IdArray
// *VectorsArray_DataArray
Array isVectorsArray_Array `protobuf_oneof:"array"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *VectorsArray) Reset() { *m = VectorsArray{} }
func (m *VectorsArray) String() string { return proto.CompactTextString(m) }
func (*VectorsArray) ProtoMessage() {}
func (*VectorsArray) Descriptor() ([]byte, []int) {
return fileDescriptor_02345ba45cc0e303, []int{51}
}
func (m *VectorsArray) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_VectorsArray.Unmarshal(m, b)
}
func (m *VectorsArray) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_VectorsArray.Marshal(b, m, deterministic)
}
func (m *VectorsArray) XXX_Merge(src proto.Message) {
xxx_messageInfo_VectorsArray.Merge(m, src)
}
func (m *VectorsArray) XXX_Size() int {
return xxx_messageInfo_VectorsArray.Size(m)
}
func (m *VectorsArray) XXX_DiscardUnknown() {
xxx_messageInfo_VectorsArray.DiscardUnknown(m)
}
var xxx_messageInfo_VectorsArray proto.InternalMessageInfo
type isVectorsArray_Array interface {
isVectorsArray_Array()
}
type VectorsArray_IdArray struct {
IdArray *VectorIDs `protobuf:"bytes,1,opt,name=id_array,json=idArray,proto3,oneof"`
}
type VectorsArray_DataArray struct {
DataArray *schemapb.VectorField `protobuf:"bytes,2,opt,name=data_array,json=dataArray,proto3,oneof"`
}
func (*VectorsArray_IdArray) isVectorsArray_Array() {}
func (*VectorsArray_DataArray) isVectorsArray_Array() {}
func (m *VectorsArray) GetArray() isVectorsArray_Array {
if m != nil {
return m.Array
}
return nil
}
func (m *VectorsArray) GetIdArray() *VectorIDs {
if x, ok := m.GetArray().(*VectorsArray_IdArray); ok {
return x.IdArray
}
return nil
}
func (m *VectorsArray) GetDataArray() *schemapb.VectorField {
if x, ok := m.GetArray().(*VectorsArray_DataArray); ok {
return x.DataArray
}
return nil
}
// XXX_OneofWrappers is for the internal use of the proto package.
func (*VectorsArray) XXX_OneofWrappers() []interface{} {
return []interface{}{
(*VectorsArray_IdArray)(nil),
(*VectorsArray_DataArray)(nil),
}
}
type CalcDistanceRequest struct {
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
OpLeft *VectorsArray `protobuf:"bytes,2,opt,name=op_left,json=opLeft,proto3" json:"op_left,omitempty"`
OpRight *VectorsArray `protobuf:"bytes,3,opt,name=op_right,json=opRight,proto3" json:"op_right,omitempty"`
Params []*commonpb.KeyValuePair `protobuf:"bytes,4,rep,name=params,proto3" json:"params,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CalcDistanceRequest) Reset() { *m = CalcDistanceRequest{} }
func (m *CalcDistanceRequest) String() string { return proto.CompactTextString(m) }
func (*CalcDistanceRequest) ProtoMessage() {}
func (*CalcDistanceRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_02345ba45cc0e303, []int{52}
}
func (m *CalcDistanceRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CalcDistanceRequest.Unmarshal(m, b)
}
func (m *CalcDistanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CalcDistanceRequest.Marshal(b, m, deterministic)
}
func (m *CalcDistanceRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_CalcDistanceRequest.Merge(m, src)
}
func (m *CalcDistanceRequest) XXX_Size() int {
return xxx_messageInfo_CalcDistanceRequest.Size(m)
}
func (m *CalcDistanceRequest) XXX_DiscardUnknown() {
xxx_messageInfo_CalcDistanceRequest.DiscardUnknown(m)
}
var xxx_messageInfo_CalcDistanceRequest proto.InternalMessageInfo
func (m *CalcDistanceRequest) GetBase() *commonpb.MsgBase {
if m != nil {
return m.Base
}
return nil
}
func (m *CalcDistanceRequest) GetOpLeft() *VectorsArray {
if m != nil {
return m.OpLeft
}
return nil
}
func (m *CalcDistanceRequest) GetOpRight() *VectorsArray {
if m != nil {
return m.OpRight
}
return nil
}
func (m *CalcDistanceRequest) GetParams() []*commonpb.KeyValuePair {
if m != nil {
return m.Params
}
return nil
}
type CalcDistanceResults struct {
Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
// num(op_left)*num(op_right) distance values, "HAMMIN" return integer distance
//
// Types that are valid to be assigned to Array:
// *CalcDistanceResults_IntDist
// *CalcDistanceResults_FloatDist
Array isCalcDistanceResults_Array `protobuf_oneof:"array"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CalcDistanceResults) Reset() { *m = CalcDistanceResults{} }
func (m *CalcDistanceResults) String() string { return proto.CompactTextString(m) }
func (*CalcDistanceResults) ProtoMessage() {}
func (*CalcDistanceResults) Descriptor() ([]byte, []int) {
return fileDescriptor_02345ba45cc0e303, []int{53}
}
func (m *CalcDistanceResults) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CalcDistanceResults.Unmarshal(m, b)
}
func (m *CalcDistanceResults) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CalcDistanceResults.Marshal(b, m, deterministic)
}
func (m *CalcDistanceResults) XXX_Merge(src proto.Message) {
xxx_messageInfo_CalcDistanceResults.Merge(m, src)
}
func (m *CalcDistanceResults) XXX_Size() int {
return xxx_messageInfo_CalcDistanceResults.Size(m)
}
func (m *CalcDistanceResults) XXX_DiscardUnknown() {
xxx_messageInfo_CalcDistanceResults.DiscardUnknown(m)
}
var xxx_messageInfo_CalcDistanceResults proto.InternalMessageInfo
func (m *CalcDistanceResults) GetStatus() *commonpb.Status {
if m != nil {
return m.Status
}
return nil
}
type isCalcDistanceResults_Array interface {
isCalcDistanceResults_Array()
}
type CalcDistanceResults_IntDist struct {
IntDist *schemapb.IntArray `protobuf:"bytes,2,opt,name=int_dist,json=intDist,proto3,oneof"`
}
type CalcDistanceResults_FloatDist struct {
FloatDist *schemapb.FloatArray `protobuf:"bytes,3,opt,name=float_dist,json=floatDist,proto3,oneof"`
}
func (*CalcDistanceResults_IntDist) isCalcDistanceResults_Array() {}
func (*CalcDistanceResults_FloatDist) isCalcDistanceResults_Array() {}
func (m *CalcDistanceResults) GetArray() isCalcDistanceResults_Array {
if m != nil {
return m.Array
}
return nil
}
func (m *CalcDistanceResults) GetIntDist() *schemapb.IntArray {
if x, ok := m.GetArray().(*CalcDistanceResults_IntDist); ok {
return x.IntDist
}
return nil
}
func (m *CalcDistanceResults) GetFloatDist() *schemapb.FloatArray {
if x, ok := m.GetArray().(*CalcDistanceResults_FloatDist); ok {
return x.FloatDist
}
return nil
}
// XXX_OneofWrappers is for the internal use of the proto package.
func (*CalcDistanceResults) XXX_OneofWrappers() []interface{} {
return []interface{}{
(*CalcDistanceResults_IntDist)(nil),
(*CalcDistanceResults_FloatDist)(nil),
}
}
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"`
NumRows int64 `protobuf:"varint,4,opt,name=num_rows,json=numRows,proto3" json:"num_rows,omitempty"`
State commonpb.SegmentState `protobuf:"varint,5,opt,name=state,proto3,enum=milvus.proto.common.SegmentState" json:"state,omitempty"`
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) {
return fileDescriptor_02345ba45cc0e303, []int{54}
}
func (m *PersistentSegmentInfo) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PersistentSegmentInfo.Unmarshal(m, b)
}
func (m *PersistentSegmentInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_PersistentSegmentInfo.Marshal(b, m, deterministic)
}
func (m *PersistentSegmentInfo) XXX_Merge(src proto.Message) {
xxx_messageInfo_PersistentSegmentInfo.Merge(m, src)
}
func (m *PersistentSegmentInfo) XXX_Size() int {
return xxx_messageInfo_PersistentSegmentInfo.Size(m)
}
func (m *PersistentSegmentInfo) XXX_DiscardUnknown() {
xxx_messageInfo_PersistentSegmentInfo.DiscardUnknown(m)
}
var xxx_messageInfo_PersistentSegmentInfo proto.InternalMessageInfo
func (m *PersistentSegmentInfo) GetSegmentID() int64 {
if m != nil {
return m.SegmentID
}
return 0
}
func (m *PersistentSegmentInfo) GetCollectionID() int64 {
if m != nil {
return m.CollectionID
}
return 0
}
func (m *PersistentSegmentInfo) GetPartitionID() int64 {
if m != nil {
return m.PartitionID
}
return 0
}
func (m *PersistentSegmentInfo) GetNumRows() int64 {
if m != nil {
return m.NumRows
}
return 0
}
func (m *PersistentSegmentInfo) GetState() commonpb.SegmentState {
if m != nil {
return m.State
}
return commonpb.SegmentState_SegmentStateNone
}
type GetPersistentSegmentInfoRequest struct {
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:"-"`
}
func (m *GetPersistentSegmentInfoRequest) Reset() { *m = GetPersistentSegmentInfoRequest{} }
func (m *GetPersistentSegmentInfoRequest) String() string { return proto.CompactTextString(m) }
func (*GetPersistentSegmentInfoRequest) ProtoMessage() {}
func (*GetPersistentSegmentInfoRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_02345ba45cc0e303, []int{55}
}
func (m *GetPersistentSegmentInfoRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetPersistentSegmentInfoRequest.Unmarshal(m, b)
}
func (m *GetPersistentSegmentInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetPersistentSegmentInfoRequest.Marshal(b, m, deterministic)
}
func (m *GetPersistentSegmentInfoRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetPersistentSegmentInfoRequest.Merge(m, src)
}
func (m *GetPersistentSegmentInfoRequest) XXX_Size() int {
return xxx_messageInfo_GetPersistentSegmentInfoRequest.Size(m)
}
func (m *GetPersistentSegmentInfoRequest) XXX_DiscardUnknown() {
xxx_messageInfo_GetPersistentSegmentInfoRequest.DiscardUnknown(m)
}
var xxx_messageInfo_GetPersistentSegmentInfoRequest proto.InternalMessageInfo
func (m *GetPersistentSegmentInfoRequest) GetBase() *commonpb.MsgBase {
if m != nil {
return m.Base
}
return nil
}
func (m *GetPersistentSegmentInfoRequest) GetDbName() string {
if m != nil {
return m.DbName
}
return ""
}
func (m *GetPersistentSegmentInfoRequest) GetCollectionName() string {
if m != nil {
return m.CollectionName
}
return ""
}
type GetPersistentSegmentInfoResponse struct {
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:"-"`
}
func (m *GetPersistentSegmentInfoResponse) Reset() { *m = GetPersistentSegmentInfoResponse{} }
func (m *GetPersistentSegmentInfoResponse) String() string { return proto.CompactTextString(m) }
func (*GetPersistentSegmentInfoResponse) ProtoMessage() {}
func (*GetPersistentSegmentInfoResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_02345ba45cc0e303, []int{56}
}
func (m *GetPersistentSegmentInfoResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetPersistentSegmentInfoResponse.Unmarshal(m, b)
}
func (m *GetPersistentSegmentInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetPersistentSegmentInfoResponse.Marshal(b, m, deterministic)
}
func (m *GetPersistentSegmentInfoResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetPersistentSegmentInfoResponse.Merge(m, src)
}
func (m *GetPersistentSegmentInfoResponse) XXX_Size() int {
return xxx_messageInfo_GetPersistentSegmentInfoResponse.Size(m)
}
func (m *GetPersistentSegmentInfoResponse) XXX_DiscardUnknown() {
xxx_messageInfo_GetPersistentSegmentInfoResponse.DiscardUnknown(m)
}
var xxx_messageInfo_GetPersistentSegmentInfoResponse proto.InternalMessageInfo
func (m *GetPersistentSegmentInfoResponse) GetStatus() *commonpb.Status {
if m != nil {
return m.Status
}
return nil
}
func (m *GetPersistentSegmentInfoResponse) GetInfos() []*PersistentSegmentInfo {
if m != nil {
return m.Infos
}
return nil
}
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"`
NodeID int64 `protobuf:"varint,8,opt,name=nodeID,proto3" json:"nodeID,omitempty"`
State commonpb.SegmentState `protobuf:"varint,9,opt,name=state,proto3,enum=milvus.proto.common.SegmentState" json:"state,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *QuerySegmentInfo) Reset() { *m = QuerySegmentInfo{} }
func (m *QuerySegmentInfo) String() string { return proto.CompactTextString(m) }
func (*QuerySegmentInfo) ProtoMessage() {}
func (*QuerySegmentInfo) Descriptor() ([]byte, []int) {
return fileDescriptor_02345ba45cc0e303, []int{57}
}
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
}
func (m *QuerySegmentInfo) GetNodeID() int64 {
if m != nil {
return m.NodeID
}
return 0
}
func (m *QuerySegmentInfo) GetState() commonpb.SegmentState {
if m != nil {
return m.State
}
return commonpb.SegmentState_SegmentStateNone
}
type GetQuerySegmentInfoRequest struct {
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:"-"`
}
func (m *GetQuerySegmentInfoRequest) Reset() { *m = GetQuerySegmentInfoRequest{} }
func (m *GetQuerySegmentInfoRequest) String() string { return proto.CompactTextString(m) }
func (*GetQuerySegmentInfoRequest) ProtoMessage() {}
func (*GetQuerySegmentInfoRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_02345ba45cc0e303, []int{58}
}
func (m *GetQuerySegmentInfoRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetQuerySegmentInfoRequest.Unmarshal(m, b)
}
func (m *GetQuerySegmentInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetQuerySegmentInfoRequest.Marshal(b, m, deterministic)
}
func (m *GetQuerySegmentInfoRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetQuerySegmentInfoRequest.Merge(m, src)
}
func (m *GetQuerySegmentInfoRequest) XXX_Size() int {
return xxx_messageInfo_GetQuerySegmentInfoRequest.Size(m)
}
func (m *GetQuerySegmentInfoRequest) XXX_DiscardUnknown() {
xxx_messageInfo_GetQuerySegmentInfoRequest.DiscardUnknown(m)
}
var xxx_messageInfo_GetQuerySegmentInfoRequest proto.InternalMessageInfo
func (m *GetQuerySegmentInfoRequest) GetBase() *commonpb.MsgBase {
if m != nil {
return m.Base
}
return nil
}
func (m *GetQuerySegmentInfoRequest) GetDbName() string {
if m != nil {
return m.DbName
}
return ""
}
func (m *GetQuerySegmentInfoRequest) GetCollectionName() string {
if m != nil {
return m.CollectionName
}
return ""
}
type GetQuerySegmentInfoResponse struct {
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:"-"`
}
func (m *GetQuerySegmentInfoResponse) Reset() { *m = GetQuerySegmentInfoResponse{} }
func (m *GetQuerySegmentInfoResponse) String() string { return proto.CompactTextString(m) }
func (*GetQuerySegmentInfoResponse) ProtoMessage() {}
func (*GetQuerySegmentInfoResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_02345ba45cc0e303, []int{59}
}
func (m *GetQuerySegmentInfoResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetQuerySegmentInfoResponse.Unmarshal(m, b)
}
func (m *GetQuerySegmentInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetQuerySegmentInfoResponse.Marshal(b, m, deterministic)
}
func (m *GetQuerySegmentInfoResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetQuerySegmentInfoResponse.Merge(m, src)
}
func (m *GetQuerySegmentInfoResponse) XXX_Size() int {
return xxx_messageInfo_GetQuerySegmentInfoResponse.Size(m)
}
func (m *GetQuerySegmentInfoResponse) XXX_DiscardUnknown() {
xxx_messageInfo_GetQuerySegmentInfoResponse.DiscardUnknown(m)
}
var xxx_messageInfo_GetQuerySegmentInfoResponse proto.InternalMessageInfo
func (m *GetQuerySegmentInfoResponse) GetStatus() *commonpb.Status {
if m != nil {
return m.Status
}
return nil
}
func (m *GetQuerySegmentInfoResponse) GetInfos() []*QuerySegmentInfo {
if m != nil {
return m.Infos
}
return nil
}
type DummyRequest struct {
RequestType string `protobuf:"bytes,1,opt,name=request_type,json=requestType,proto3" json:"request_type,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DummyRequest) Reset() { *m = DummyRequest{} }
func (m *DummyRequest) String() string { return proto.CompactTextString(m) }
func (*DummyRequest) ProtoMessage() {}
func (*DummyRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_02345ba45cc0e303, []int{60}
}
func (m *DummyRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DummyRequest.Unmarshal(m, b)
}
func (m *DummyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_DummyRequest.Marshal(b, m, deterministic)
}
func (m *DummyRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_DummyRequest.Merge(m, src)
}
func (m *DummyRequest) XXX_Size() int {
return xxx_messageInfo_DummyRequest.Size(m)
}
func (m *DummyRequest) XXX_DiscardUnknown() {
xxx_messageInfo_DummyRequest.DiscardUnknown(m)
}
var xxx_messageInfo_DummyRequest proto.InternalMessageInfo
func (m *DummyRequest) GetRequestType() string {
if m != nil {
return m.RequestType
}
return ""
}
type DummyResponse struct {
Response string `protobuf:"bytes,1,opt,name=response,proto3" json:"response,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DummyResponse) Reset() { *m = DummyResponse{} }
func (m *DummyResponse) String() string { return proto.CompactTextString(m) }
func (*DummyResponse) ProtoMessage() {}
func (*DummyResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_02345ba45cc0e303, []int{61}
}
func (m *DummyResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DummyResponse.Unmarshal(m, b)
}
func (m *DummyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_DummyResponse.Marshal(b, m, deterministic)
}
func (m *DummyResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_DummyResponse.Merge(m, src)
}
func (m *DummyResponse) XXX_Size() int {
return xxx_messageInfo_DummyResponse.Size(m)
}
func (m *DummyResponse) XXX_DiscardUnknown() {
xxx_messageInfo_DummyResponse.DiscardUnknown(m)
}
var xxx_messageInfo_DummyResponse proto.InternalMessageInfo
func (m *DummyResponse) GetResponse() string {
if m != nil {
return m.Response
}
return ""
}
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) {
return fileDescriptor_02345ba45cc0e303, []int{62}
}
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
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) {
return fileDescriptor_02345ba45cc0e303, []int{63}
}
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
}
type GetMetricsRequest struct {
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
Request string `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetMetricsRequest) Reset() { *m = GetMetricsRequest{} }
func (m *GetMetricsRequest) String() string { return proto.CompactTextString(m) }
func (*GetMetricsRequest) ProtoMessage() {}
func (*GetMetricsRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_02345ba45cc0e303, []int{64}
}
func (m *GetMetricsRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetMetricsRequest.Unmarshal(m, b)
}
func (m *GetMetricsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetMetricsRequest.Marshal(b, m, deterministic)
}
func (m *GetMetricsRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetMetricsRequest.Merge(m, src)
}
func (m *GetMetricsRequest) XXX_Size() int {
return xxx_messageInfo_GetMetricsRequest.Size(m)
}
func (m *GetMetricsRequest) XXX_DiscardUnknown() {
xxx_messageInfo_GetMetricsRequest.DiscardUnknown(m)
}
var xxx_messageInfo_GetMetricsRequest proto.InternalMessageInfo
func (m *GetMetricsRequest) GetBase() *commonpb.MsgBase {
if m != nil {
return m.Base
}
return nil
}
func (m *GetMetricsRequest) GetRequest() string {
if m != nil {
return m.Request
}
return ""
}
type GetMetricsResponse struct {
Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
Response string `protobuf:"bytes,2,opt,name=response,proto3" json:"response,omitempty"`
ComponentName string `protobuf:"bytes,3,opt,name=component_name,json=componentName,proto3" json:"component_name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetMetricsResponse) Reset() { *m = GetMetricsResponse{} }
func (m *GetMetricsResponse) String() string { return proto.CompactTextString(m) }
func (*GetMetricsResponse) ProtoMessage() {}
func (*GetMetricsResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_02345ba45cc0e303, []int{65}
}
func (m *GetMetricsResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetMetricsResponse.Unmarshal(m, b)
}
func (m *GetMetricsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetMetricsResponse.Marshal(b, m, deterministic)
}
func (m *GetMetricsResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetMetricsResponse.Merge(m, src)
}
func (m *GetMetricsResponse) XXX_Size() int {
return xxx_messageInfo_GetMetricsResponse.Size(m)
}
func (m *GetMetricsResponse) XXX_DiscardUnknown() {
xxx_messageInfo_GetMetricsResponse.DiscardUnknown(m)
}
var xxx_messageInfo_GetMetricsResponse proto.InternalMessageInfo
func (m *GetMetricsResponse) GetStatus() *commonpb.Status {
if m != nil {
return m.Status
}
return nil
}
func (m *GetMetricsResponse) GetResponse() string {
if m != nil {
return m.Response
}
return ""
}
func (m *GetMetricsResponse) GetComponentName() string {
if m != nil {
return m.ComponentName
}
return ""
}
//
// Do load balancing operation from src_nodeID to dst_nodeID.
type LoadBalanceRequest struct {
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
SrcNodeID int64 `protobuf:"varint,2,opt,name=src_nodeID,json=srcNodeID,proto3" json:"src_nodeID,omitempty"`
DstNodeIDs []int64 `protobuf:"varint,3,rep,packed,name=dst_nodeIDs,json=dstNodeIDs,proto3" json:"dst_nodeIDs,omitempty"`
SealedSegmentIDs []int64 `protobuf:"varint,4,rep,packed,name=sealed_segmentIDs,json=sealedSegmentIDs,proto3" json:"sealed_segmentIDs,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *LoadBalanceRequest) Reset() { *m = LoadBalanceRequest{} }
func (m *LoadBalanceRequest) String() string { return proto.CompactTextString(m) }
func (*LoadBalanceRequest) ProtoMessage() {}
func (*LoadBalanceRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_02345ba45cc0e303, []int{66}
}
func (m *LoadBalanceRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_LoadBalanceRequest.Unmarshal(m, b)
}
func (m *LoadBalanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_LoadBalanceRequest.Marshal(b, m, deterministic)
}
func (m *LoadBalanceRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_LoadBalanceRequest.Merge(m, src)
}
func (m *LoadBalanceRequest) XXX_Size() int {
return xxx_messageInfo_LoadBalanceRequest.Size(m)
}
func (m *LoadBalanceRequest) XXX_DiscardUnknown() {
xxx_messageInfo_LoadBalanceRequest.DiscardUnknown(m)
}
var xxx_messageInfo_LoadBalanceRequest proto.InternalMessageInfo
func (m *LoadBalanceRequest) GetBase() *commonpb.MsgBase {
if m != nil {
return m.Base
}
return nil
}
func (m *LoadBalanceRequest) GetSrcNodeID() int64 {
if m != nil {
return m.SrcNodeID
}
return 0
}
func (m *LoadBalanceRequest) GetDstNodeIDs() []int64 {
if m != nil {
return m.DstNodeIDs
}
return nil
}
func (m *LoadBalanceRequest) GetSealedSegmentIDs() []int64 {
if m != nil {
return m.SealedSegmentIDs
}
return nil
}
type ManualCompactionRequest struct {
CollectionID int64 `protobuf:"varint,1,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
Timetravel uint64 `protobuf:"varint,2,opt,name=timetravel,proto3" json:"timetravel,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ManualCompactionRequest) Reset() { *m = ManualCompactionRequest{} }
func (m *ManualCompactionRequest) String() string { return proto.CompactTextString(m) }
func (*ManualCompactionRequest) ProtoMessage() {}
func (*ManualCompactionRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_02345ba45cc0e303, []int{67}
}
func (m *ManualCompactionRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ManualCompactionRequest.Unmarshal(m, b)
}
func (m *ManualCompactionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ManualCompactionRequest.Marshal(b, m, deterministic)
}
func (m *ManualCompactionRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_ManualCompactionRequest.Merge(m, src)
}
func (m *ManualCompactionRequest) XXX_Size() int {
return xxx_messageInfo_ManualCompactionRequest.Size(m)
}
func (m *ManualCompactionRequest) XXX_DiscardUnknown() {
xxx_messageInfo_ManualCompactionRequest.DiscardUnknown(m)
}
var xxx_messageInfo_ManualCompactionRequest proto.InternalMessageInfo
func (m *ManualCompactionRequest) GetCollectionID() int64 {
if m != nil {
return m.CollectionID
}
return 0
}
func (m *ManualCompactionRequest) GetTimetravel() uint64 {
if m != nil {
return m.Timetravel
}
return 0
}
type ManualCompactionResponse struct {
Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
CompactionID int64 `protobuf:"varint,2,opt,name=compactionID,proto3" json:"compactionID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ManualCompactionResponse) Reset() { *m = ManualCompactionResponse{} }
func (m *ManualCompactionResponse) String() string { return proto.CompactTextString(m) }
func (*ManualCompactionResponse) ProtoMessage() {}
func (*ManualCompactionResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_02345ba45cc0e303, []int{68}
}
func (m *ManualCompactionResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ManualCompactionResponse.Unmarshal(m, b)
}
func (m *ManualCompactionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ManualCompactionResponse.Marshal(b, m, deterministic)
}
func (m *ManualCompactionResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_ManualCompactionResponse.Merge(m, src)
}
func (m *ManualCompactionResponse) XXX_Size() int {
return xxx_messageInfo_ManualCompactionResponse.Size(m)
}
func (m *ManualCompactionResponse) XXX_DiscardUnknown() {
xxx_messageInfo_ManualCompactionResponse.DiscardUnknown(m)
}
var xxx_messageInfo_ManualCompactionResponse proto.InternalMessageInfo
func (m *ManualCompactionResponse) GetStatus() *commonpb.Status {
if m != nil {
return m.Status
}
return nil
}
func (m *ManualCompactionResponse) GetCompactionID() int64 {
if m != nil {
return m.CompactionID
}
return 0
}
type GetCompactionStateRequest struct {
CompactionID int64 `protobuf:"varint,1,opt,name=compactionID,proto3" json:"compactionID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetCompactionStateRequest) Reset() { *m = GetCompactionStateRequest{} }
func (m *GetCompactionStateRequest) String() string { return proto.CompactTextString(m) }
func (*GetCompactionStateRequest) ProtoMessage() {}
func (*GetCompactionStateRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_02345ba45cc0e303, []int{69}
}
func (m *GetCompactionStateRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetCompactionStateRequest.Unmarshal(m, b)
}
func (m *GetCompactionStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetCompactionStateRequest.Marshal(b, m, deterministic)
}
func (m *GetCompactionStateRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetCompactionStateRequest.Merge(m, src)
}
func (m *GetCompactionStateRequest) XXX_Size() int {
return xxx_messageInfo_GetCompactionStateRequest.Size(m)
}
func (m *GetCompactionStateRequest) XXX_DiscardUnknown() {
xxx_messageInfo_GetCompactionStateRequest.DiscardUnknown(m)
}
var xxx_messageInfo_GetCompactionStateRequest proto.InternalMessageInfo
func (m *GetCompactionStateRequest) GetCompactionID() int64 {
if m != nil {
return m.CompactionID
}
return 0
}
type GetCompactionStateResponse struct {
Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
State commonpb.CompactionState `protobuf:"varint,2,opt,name=state,proto3,enum=milvus.proto.common.CompactionState" json:"state,omitempty"`
ExecutingPlanNo int64 `protobuf:"varint,3,opt,name=executingPlanNo,proto3" json:"executingPlanNo,omitempty"`
TimeoutPlanNo int64 `protobuf:"varint,4,opt,name=timeoutPlanNo,proto3" json:"timeoutPlanNo,omitempty"`
CompletedPlanNo int64 `protobuf:"varint,5,opt,name=completedPlanNo,proto3" json:"completedPlanNo,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetCompactionStateResponse) Reset() { *m = GetCompactionStateResponse{} }
func (m *GetCompactionStateResponse) String() string { return proto.CompactTextString(m) }
func (*GetCompactionStateResponse) ProtoMessage() {}
func (*GetCompactionStateResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_02345ba45cc0e303, []int{70}
}
func (m *GetCompactionStateResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetCompactionStateResponse.Unmarshal(m, b)
}
func (m *GetCompactionStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetCompactionStateResponse.Marshal(b, m, deterministic)
}
func (m *GetCompactionStateResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetCompactionStateResponse.Merge(m, src)
}
func (m *GetCompactionStateResponse) XXX_Size() int {
return xxx_messageInfo_GetCompactionStateResponse.Size(m)
}
func (m *GetCompactionStateResponse) XXX_DiscardUnknown() {
xxx_messageInfo_GetCompactionStateResponse.DiscardUnknown(m)
}
var xxx_messageInfo_GetCompactionStateResponse proto.InternalMessageInfo
func (m *GetCompactionStateResponse) GetStatus() *commonpb.Status {
if m != nil {
return m.Status
}
return nil
}
func (m *GetCompactionStateResponse) GetState() commonpb.CompactionState {
if m != nil {
return m.State
}
return commonpb.CompactionState_UndefiedState
}
func (m *GetCompactionStateResponse) GetExecutingPlanNo() int64 {
if m != nil {
return m.ExecutingPlanNo
}
return 0
}
func (m *GetCompactionStateResponse) GetTimeoutPlanNo() int64 {
if m != nil {
return m.TimeoutPlanNo
}
return 0
}
func (m *GetCompactionStateResponse) GetCompletedPlanNo() int64 {
if m != nil {
return m.CompletedPlanNo
}
return 0
}
type GetCompactionPlansRequest struct {
CompactionID int64 `protobuf:"varint,1,opt,name=compactionID,proto3" json:"compactionID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetCompactionPlansRequest) Reset() { *m = GetCompactionPlansRequest{} }
func (m *GetCompactionPlansRequest) String() string { return proto.CompactTextString(m) }
func (*GetCompactionPlansRequest) ProtoMessage() {}
func (*GetCompactionPlansRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_02345ba45cc0e303, []int{71}
}
func (m *GetCompactionPlansRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetCompactionPlansRequest.Unmarshal(m, b)
}
func (m *GetCompactionPlansRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetCompactionPlansRequest.Marshal(b, m, deterministic)
}
func (m *GetCompactionPlansRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetCompactionPlansRequest.Merge(m, src)
}
func (m *GetCompactionPlansRequest) XXX_Size() int {
return xxx_messageInfo_GetCompactionPlansRequest.Size(m)
}
func (m *GetCompactionPlansRequest) XXX_DiscardUnknown() {
xxx_messageInfo_GetCompactionPlansRequest.DiscardUnknown(m)
}
var xxx_messageInfo_GetCompactionPlansRequest proto.InternalMessageInfo
func (m *GetCompactionPlansRequest) GetCompactionID() int64 {
if m != nil {
return m.CompactionID
}
return 0
}
type GetCompactionPlansResponse struct {
Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
State commonpb.CompactionState `protobuf:"varint,2,opt,name=state,proto3,enum=milvus.proto.common.CompactionState" json:"state,omitempty"`
MergeInfos []*CompactionMergeInfo `protobuf:"bytes,3,rep,name=mergeInfos,proto3" json:"mergeInfos,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetCompactionPlansResponse) Reset() { *m = GetCompactionPlansResponse{} }
func (m *GetCompactionPlansResponse) String() string { return proto.CompactTextString(m) }
func (*GetCompactionPlansResponse) ProtoMessage() {}
func (*GetCompactionPlansResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_02345ba45cc0e303, []int{72}
}
func (m *GetCompactionPlansResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetCompactionPlansResponse.Unmarshal(m, b)
}
func (m *GetCompactionPlansResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetCompactionPlansResponse.Marshal(b, m, deterministic)
}
func (m *GetCompactionPlansResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetCompactionPlansResponse.Merge(m, src)
}
func (m *GetCompactionPlansResponse) XXX_Size() int {
return xxx_messageInfo_GetCompactionPlansResponse.Size(m)
}
func (m *GetCompactionPlansResponse) XXX_DiscardUnknown() {
xxx_messageInfo_GetCompactionPlansResponse.DiscardUnknown(m)
}
var xxx_messageInfo_GetCompactionPlansResponse proto.InternalMessageInfo
func (m *GetCompactionPlansResponse) GetStatus() *commonpb.Status {
if m != nil {
return m.Status
}
return nil
}
func (m *GetCompactionPlansResponse) GetState() commonpb.CompactionState {
if m != nil {
return m.State
}
return commonpb.CompactionState_UndefiedState
}
func (m *GetCompactionPlansResponse) GetMergeInfos() []*CompactionMergeInfo {
if m != nil {
return m.MergeInfos
}
return nil
}
type CompactionMergeInfo struct {
Sources []int64 `protobuf:"varint,1,rep,packed,name=sources,proto3" json:"sources,omitempty"`
Target int64 `protobuf:"varint,2,opt,name=target,proto3" json:"target,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CompactionMergeInfo) Reset() { *m = CompactionMergeInfo{} }
func (m *CompactionMergeInfo) String() string { return proto.CompactTextString(m) }
func (*CompactionMergeInfo) ProtoMessage() {}
func (*CompactionMergeInfo) Descriptor() ([]byte, []int) {
return fileDescriptor_02345ba45cc0e303, []int{73}
}
func (m *CompactionMergeInfo) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CompactionMergeInfo.Unmarshal(m, b)
}
func (m *CompactionMergeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CompactionMergeInfo.Marshal(b, m, deterministic)
}
func (m *CompactionMergeInfo) XXX_Merge(src proto.Message) {
xxx_messageInfo_CompactionMergeInfo.Merge(m, src)
}
func (m *CompactionMergeInfo) XXX_Size() int {
return xxx_messageInfo_CompactionMergeInfo.Size(m)
}
func (m *CompactionMergeInfo) XXX_DiscardUnknown() {
xxx_messageInfo_CompactionMergeInfo.DiscardUnknown(m)
}
var xxx_messageInfo_CompactionMergeInfo proto.InternalMessageInfo
func (m *CompactionMergeInfo) GetSources() []int64 {
if m != nil {
return m.Sources
}
return nil
}
func (m *CompactionMergeInfo) GetTarget() int64 {
if m != nil {
return m.Target
}
return 0
}
type GetFlushStateRequest struct {
SegmentIDs []int64 `protobuf:"varint,1,rep,packed,name=segmentIDs,proto3" json:"segmentIDs,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetFlushStateRequest) Reset() { *m = GetFlushStateRequest{} }
func (m *GetFlushStateRequest) String() string { return proto.CompactTextString(m) }
func (*GetFlushStateRequest) ProtoMessage() {}
func (*GetFlushStateRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_02345ba45cc0e303, []int{74}
}
func (m *GetFlushStateRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetFlushStateRequest.Unmarshal(m, b)
}
func (m *GetFlushStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetFlushStateRequest.Marshal(b, m, deterministic)
}
func (m *GetFlushStateRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetFlushStateRequest.Merge(m, src)
}
func (m *GetFlushStateRequest) XXX_Size() int {
return xxx_messageInfo_GetFlushStateRequest.Size(m)
}
func (m *GetFlushStateRequest) XXX_DiscardUnknown() {
xxx_messageInfo_GetFlushStateRequest.DiscardUnknown(m)
}
var xxx_messageInfo_GetFlushStateRequest proto.InternalMessageInfo
func (m *GetFlushStateRequest) GetSegmentIDs() []int64 {
if m != nil {
return m.SegmentIDs
}
return nil
}
type GetFlushStateResponse struct {
Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
Flushed bool `protobuf:"varint,2,opt,name=flushed,proto3" json:"flushed,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetFlushStateResponse) Reset() { *m = GetFlushStateResponse{} }
func (m *GetFlushStateResponse) String() string { return proto.CompactTextString(m) }
func (*GetFlushStateResponse) ProtoMessage() {}
func (*GetFlushStateResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_02345ba45cc0e303, []int{75}
}
func (m *GetFlushStateResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetFlushStateResponse.Unmarshal(m, b)
}
func (m *GetFlushStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetFlushStateResponse.Marshal(b, m, deterministic)
}
func (m *GetFlushStateResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetFlushStateResponse.Merge(m, src)
}
func (m *GetFlushStateResponse) XXX_Size() int {
return xxx_messageInfo_GetFlushStateResponse.Size(m)
}
func (m *GetFlushStateResponse) XXX_DiscardUnknown() {
xxx_messageInfo_GetFlushStateResponse.DiscardUnknown(m)
}
var xxx_messageInfo_GetFlushStateResponse proto.InternalMessageInfo
func (m *GetFlushStateResponse) GetStatus() *commonpb.Status {
if m != nil {
return m.Status
}
return nil
}
func (m *GetFlushStateResponse) GetFlushed() bool {
if m != nil {
return m.Flushed
}
return false
}
func init() {
proto.RegisterEnum("milvus.proto.milvus.ShowType", ShowType_name, ShowType_value)
proto.RegisterEnum("milvus.proto.milvus.PlaceholderType", PlaceholderType_name, PlaceholderType_value)
proto.RegisterType((*CreateAliasRequest)(nil), "milvus.proto.milvus.CreateAliasRequest")
proto.RegisterType((*DropAliasRequest)(nil), "milvus.proto.milvus.DropAliasRequest")
proto.RegisterType((*AlterAliasRequest)(nil), "milvus.proto.milvus.AlterAliasRequest")
proto.RegisterType((*CreateCollectionRequest)(nil), "milvus.proto.milvus.CreateCollectionRequest")
proto.RegisterType((*DropCollectionRequest)(nil), "milvus.proto.milvus.DropCollectionRequest")
proto.RegisterType((*HasCollectionRequest)(nil), "milvus.proto.milvus.HasCollectionRequest")
proto.RegisterType((*BoolResponse)(nil), "milvus.proto.milvus.BoolResponse")
proto.RegisterType((*StringResponse)(nil), "milvus.proto.milvus.StringResponse")
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")
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")
proto.RegisterType((*CreatePartitionRequest)(nil), "milvus.proto.milvus.CreatePartitionRequest")
proto.RegisterType((*DropPartitionRequest)(nil), "milvus.proto.milvus.DropPartitionRequest")
proto.RegisterType((*HasPartitionRequest)(nil), "milvus.proto.milvus.HasPartitionRequest")
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")
proto.RegisterType((*DescribeSegmentRequest)(nil), "milvus.proto.milvus.DescribeSegmentRequest")
proto.RegisterType((*DescribeSegmentResponse)(nil), "milvus.proto.milvus.DescribeSegmentResponse")
proto.RegisterType((*ShowSegmentsRequest)(nil), "milvus.proto.milvus.ShowSegmentsRequest")
proto.RegisterType((*ShowSegmentsResponse)(nil), "milvus.proto.milvus.ShowSegmentsResponse")
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")
proto.RegisterType((*GetIndexBuildProgressRequest)(nil), "milvus.proto.milvus.GetIndexBuildProgressRequest")
proto.RegisterType((*GetIndexBuildProgressResponse)(nil), "milvus.proto.milvus.GetIndexBuildProgressResponse")
proto.RegisterType((*GetIndexStateRequest)(nil), "milvus.proto.milvus.GetIndexStateRequest")
proto.RegisterType((*GetIndexStateResponse)(nil), "milvus.proto.milvus.GetIndexStateResponse")
proto.RegisterType((*DropIndexRequest)(nil), "milvus.proto.milvus.DropIndexRequest")
proto.RegisterType((*InsertRequest)(nil), "milvus.proto.milvus.InsertRequest")
proto.RegisterType((*MutationResult)(nil), "milvus.proto.milvus.MutationResult")
proto.RegisterType((*DeleteRequest)(nil), "milvus.proto.milvus.DeleteRequest")
proto.RegisterType((*PlaceholderValue)(nil), "milvus.proto.milvus.PlaceholderValue")
proto.RegisterType((*PlaceholderGroup)(nil), "milvus.proto.milvus.PlaceholderGroup")
proto.RegisterType((*SearchRequest)(nil), "milvus.proto.milvus.SearchRequest")
proto.RegisterType((*Hits)(nil), "milvus.proto.milvus.Hits")
proto.RegisterType((*SearchResults)(nil), "milvus.proto.milvus.SearchResults")
proto.RegisterType((*FlushRequest)(nil), "milvus.proto.milvus.FlushRequest")
proto.RegisterType((*FlushResponse)(nil), "milvus.proto.milvus.FlushResponse")
proto.RegisterMapType((map[string]*schemapb.LongArray)(nil), "milvus.proto.milvus.FlushResponse.CollSegIDsEntry")
proto.RegisterType((*QueryRequest)(nil), "milvus.proto.milvus.QueryRequest")
proto.RegisterType((*QueryResults)(nil), "milvus.proto.milvus.QueryResults")
proto.RegisterType((*VectorIDs)(nil), "milvus.proto.milvus.VectorIDs")
proto.RegisterType((*VectorsArray)(nil), "milvus.proto.milvus.VectorsArray")
proto.RegisterType((*CalcDistanceRequest)(nil), "milvus.proto.milvus.CalcDistanceRequest")
proto.RegisterType((*CalcDistanceResults)(nil), "milvus.proto.milvus.CalcDistanceResults")
proto.RegisterType((*PersistentSegmentInfo)(nil), "milvus.proto.milvus.PersistentSegmentInfo")
proto.RegisterType((*GetPersistentSegmentInfoRequest)(nil), "milvus.proto.milvus.GetPersistentSegmentInfoRequest")
proto.RegisterType((*GetPersistentSegmentInfoResponse)(nil), "milvus.proto.milvus.GetPersistentSegmentInfoResponse")
proto.RegisterType((*QuerySegmentInfo)(nil), "milvus.proto.milvus.QuerySegmentInfo")
proto.RegisterType((*GetQuerySegmentInfoRequest)(nil), "milvus.proto.milvus.GetQuerySegmentInfoRequest")
proto.RegisterType((*GetQuerySegmentInfoResponse)(nil), "milvus.proto.milvus.GetQuerySegmentInfoResponse")
proto.RegisterType((*DummyRequest)(nil), "milvus.proto.milvus.DummyRequest")
proto.RegisterType((*DummyResponse)(nil), "milvus.proto.milvus.DummyResponse")
proto.RegisterType((*RegisterLinkRequest)(nil), "milvus.proto.milvus.RegisterLinkRequest")
proto.RegisterType((*RegisterLinkResponse)(nil), "milvus.proto.milvus.RegisterLinkResponse")
proto.RegisterType((*GetMetricsRequest)(nil), "milvus.proto.milvus.GetMetricsRequest")
proto.RegisterType((*GetMetricsResponse)(nil), "milvus.proto.milvus.GetMetricsResponse")
proto.RegisterType((*LoadBalanceRequest)(nil), "milvus.proto.milvus.LoadBalanceRequest")
proto.RegisterType((*ManualCompactionRequest)(nil), "milvus.proto.milvus.ManualCompactionRequest")
proto.RegisterType((*ManualCompactionResponse)(nil), "milvus.proto.milvus.ManualCompactionResponse")
proto.RegisterType((*GetCompactionStateRequest)(nil), "milvus.proto.milvus.GetCompactionStateRequest")
proto.RegisterType((*GetCompactionStateResponse)(nil), "milvus.proto.milvus.GetCompactionStateResponse")
proto.RegisterType((*GetCompactionPlansRequest)(nil), "milvus.proto.milvus.GetCompactionPlansRequest")
proto.RegisterType((*GetCompactionPlansResponse)(nil), "milvus.proto.milvus.GetCompactionPlansResponse")
proto.RegisterType((*CompactionMergeInfo)(nil), "milvus.proto.milvus.CompactionMergeInfo")
proto.RegisterType((*GetFlushStateRequest)(nil), "milvus.proto.milvus.GetFlushStateRequest")
proto.RegisterType((*GetFlushStateResponse)(nil), "milvus.proto.milvus.GetFlushStateResponse")
}
func init() { proto.RegisterFile("milvus.proto", fileDescriptor_02345ba45cc0e303) }
var fileDescriptor_02345ba45cc0e303 = []byte{
// 3560 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x3b, 0x4d, 0x73, 0x1b, 0x47,
0x76, 0x1c, 0x80, 0x20, 0x80, 0x47, 0x80, 0x84, 0x9a, 0x14, 0x05, 0x41, 0x5f, 0xd4, 0xd8, 0xb2,
0x28, 0xc9, 0x92, 0x2c, 0xca, 0x5f, 0x91, 0x93, 0xd8, 0x92, 0x18, 0x4b, 0x2c, 0x4b, 0x0a, 0x3d,
0xb4, 0x9d, 0x72, 0x5c, 0x2a, 0x54, 0x13, 0xd3, 0x04, 0xa7, 0x34, 0x98, 0x81, 0xa7, 0x1b, 0x92,
0xe8, 0x53, 0xaa, 0x1c, 0x27, 0x95, 0xb2, 0x63, 0x57, 0x2a, 0xa9, 0xa4, 0x72, 0x48, 0x0e, 0xc9,
0xee, 0x61, 0x6f, 0xeb, 0xf5, 0xd6, 0xee, 0xd6, 0x5e, 0x76, 0x0f, 0x3e, 0xec, 0x61, 0xab, 0xf6,
0xe3, 0xb2, 0x87, 0xbd, 0xec, 0x1f, 0xf0, 0x3f, 0xd8, 0xc3, 0x56, 0x7f, 0xcc, 0x60, 0x66, 0xd0,
0x03, 0x82, 0x82, 0xb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xb0, 0xa0, 0x2f,
0x04, 0x45, 0xcb, 0x59, 0xb6, 0x99, 0x5d, 0xf2, 0xda, 0xb8, 0xba, 0x2b, 0x9a, 0x48, 0x8b, 0x0f,
0x60, 0x26, 0x59, 0xee, 0x98, 0xa1, 0x45, 0x6d, 0x85, 0x68, 0xe3, 0xc2, 0x48, 0xb8, 0xd1, 0x60,
0xef, 0xc2, 0x74, 0xec, 0xaf, 0x57, 0x74, 0x76, 0x88, 0x1d, 0xc7, 0x7f, 0x01, 0xdd, 0x49, 0x93,
0x6f, 0x43, 0x39, 0xfa, 0x59, 0x15, 0x9d, 0xc9, 0xb4, 0xdf, 0xdd, 0xb0, 0x5c, 0x07, 0xe8, 0xff,
0x89, 0x8a, 0x9e, 0xd3, 0xf2, 0x1c, 0xf8, 0x55, 0x75, 0x27, 0xa6, 0xd1, 0xf4, 0xe5, 0x23, 0xf3,
0xb0, 0xe9, 0xc7, 0xab, 0x22, 0x76, 0x62, 0xbb, 0x05, 0xd5, 0x44, 0x2d, 0x53, 0xd6, 0x16, 0xd6,
0x94, 0x98, 0x35, 0xce, 0x8f, 0x82, 0x1a, 0xad, 0xdf, 0x16, 0x54, 0x13, 0x95, 0x25, 0x19, 0x23,
0xe9, 0x0a, 0x69, 0x32, 0x46, 0xd2, 0x16, 0xaa, 0x98, 0x13, 0xe8, 0x1f, 0x62, 0x45, 0x2c, 0x89,
0x42, 0x21, 0x74, 0x65, 0x28, 0x1f, 0x5d, 0x9d, 0x54, 0x63, 0x79, 0x37, 0x24, 0x91, 0x08, 0xca,
0xaa, 0xa4, 0x4a, 0xb3, 0xad, 0x6a, 0x37, 0x2b, 0xb5, 0x0e, 0x53, 0xb2, 0x56, 0x04, 0x99, 0x19,
0x55, 0x61, 0xb1, 0x42, 0x92, 0xc6, 0x33, 0x5a, 0x9c, 0x64, 0x19, 0x85, 0x64, 0x2a, 0x6b, 0x01,
0x32, 0x98, 0x26, 0x0a, 0x05, 0x46, 0x65, 0x6a, 0xc1, 0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3, 0x9e, 0x90, 0x99, 0xf3, 0x69, 0x5c, 0x1e, 0x19, 0x3f, 0x9a, 0xcf, 0x87,
0x50, 0x4b, 0x27, 0xae, 0x32, 0xee, 0x9f, 0x19, 0xe9, 0xb3, 0xc6, 0xc5, 0x11, 0xb1, 0xe3, 0x67,
0xd5, 0xb1, 0x41, 0x99, 0xfe, 0xce, 0x61, 0x5b, 0x22, 0x67, 0x32, 0xca, 0xac, 0xe3, 0xe9, 0x99,
0x51, 0x66, 0x9d, 0x48, 0xc6, 0x98, 0x13, 0xcb, 0x3d, 0xa8, 0xac, 0x05, 0xfe, 0xe3, 0xed, 0xf0,
0x16, 0xfe, 0xe7, 0xb1, 0xce, 0x1b, 0x2f, 0xfd, 0xfd, 0xd5, 0xb6, 0xc3, 0xb6, 0x7a, 0x1b, 0x7c,
0xfd, 0x2f, 0x4b, 0xdc, 0x8b, 0x8e, 0xaf, 0xbe, 0x2e, 0x3b, 0x1e, 0x23, 0x81, 0x87, 0xdd, 0xcb,
0x82, 0x97, 0x82, 0x76, 0x37, 0x36, 0xa6, 0x44, 0xfb, 0xea, 0x9f, 0x02, 0x00, 0x00, 0xff, 0xff,
0x0d, 0x1d, 0x49, 0x34, 0x45, 0x45, 0x00, 0x00,
}
// 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)
GetCollectionStatistics(ctx context.Context, in *GetCollectionStatisticsRequest, opts ...grpc.CallOption) (*GetCollectionStatisticsResponse, error)
ShowCollections(ctx context.Context, in *ShowCollectionsRequest, opts ...grpc.CallOption) (*ShowCollectionsResponse, error)
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)
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)
CreateAlias(ctx context.Context, in *CreateAliasRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
DropAlias(ctx context.Context, in *DropAliasRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
AlterAlias(ctx context.Context, in *AlterAliasRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
CreateIndex(ctx context.Context, in *CreateIndexRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
DescribeIndex(ctx context.Context, in *DescribeIndexRequest, opts ...grpc.CallOption) (*DescribeIndexResponse, error)
GetIndexState(ctx context.Context, in *GetIndexStateRequest, opts ...grpc.CallOption) (*GetIndexStateResponse, error)
GetIndexBuildProgress(ctx context.Context, in *GetIndexBuildProgressRequest, opts ...grpc.CallOption) (*GetIndexBuildProgressResponse, error)
DropIndex(ctx context.Context, in *DropIndexRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
Insert(ctx context.Context, in *InsertRequest, opts ...grpc.CallOption) (*MutationResult, error)
Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*MutationResult, error)
Search(ctx context.Context, in *SearchRequest, opts ...grpc.CallOption) (*SearchResults, error)
Flush(ctx context.Context, in *FlushRequest, opts ...grpc.CallOption) (*FlushResponse, error)
Query(ctx context.Context, in *QueryRequest, opts ...grpc.CallOption) (*QueryResults, error)
CalcDistance(ctx context.Context, in *CalcDistanceRequest, opts ...grpc.CallOption) (*CalcDistanceResults, error)
GetFlushState(ctx context.Context, in *GetFlushStateRequest, opts ...grpc.CallOption) (*GetFlushStateResponse, error)
GetPersistentSegmentInfo(ctx context.Context, in *GetPersistentSegmentInfoRequest, opts ...grpc.CallOption) (*GetPersistentSegmentInfoResponse, error)
GetQuerySegmentInfo(ctx context.Context, in *GetQuerySegmentInfoRequest, opts ...grpc.CallOption) (*GetQuerySegmentInfoResponse, error)
Dummy(ctx context.Context, in *DummyRequest, opts ...grpc.CallOption) (*DummyResponse, error)
// TODO: remove
RegisterLink(ctx context.Context, in *RegisterLinkRequest, opts ...grpc.CallOption) (*RegisterLinkResponse, error)
// https://wiki.lfaidata.foundation/display/MIL/MEP+8+--+Add+metrics+for+proxy
GetMetrics(ctx context.Context, in *GetMetricsRequest, opts ...grpc.CallOption) (*GetMetricsResponse, error)
LoadBalance(ctx context.Context, in *LoadBalanceRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
GetCompactionState(ctx context.Context, in *GetCompactionStateRequest, opts ...grpc.CallOption) (*GetCompactionStateResponse, error)
ManualCompaction(ctx context.Context, in *ManualCompactionRequest, opts ...grpc.CallOption) (*ManualCompactionResponse, error)
GetCompactionStateWithPlans(ctx context.Context, in *GetCompactionPlansRequest, opts ...grpc.CallOption) (*GetCompactionPlansResponse, error)
}
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
}
func (c *milvusServiceClient) GetCollectionStatistics(ctx context.Context, in *GetCollectionStatisticsRequest, opts ...grpc.CallOption) (*GetCollectionStatisticsResponse, error) {
out := new(GetCollectionStatisticsResponse)
err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/GetCollectionStatistics", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *milvusServiceClient) ShowCollections(ctx context.Context, in *ShowCollectionsRequest, opts ...grpc.CallOption) (*ShowCollectionsResponse, error) {
out := new(ShowCollectionsResponse)
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
}
func (c *milvusServiceClient) LoadPartitions(ctx context.Context, in *LoadPartitionsRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
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
}
func (c *milvusServiceClient) ReleasePartitions(ctx context.Context, in *ReleasePartitionsRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
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
}
func (c *milvusServiceClient) GetPartitionStatistics(ctx context.Context, in *GetPartitionStatisticsRequest, opts ...grpc.CallOption) (*GetPartitionStatisticsResponse, error) {
out := new(GetPartitionStatisticsResponse)
err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/GetPartitionStatistics", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *milvusServiceClient) ShowPartitions(ctx context.Context, in *ShowPartitionsRequest, opts ...grpc.CallOption) (*ShowPartitionsResponse, error) {
out := new(ShowPartitionsResponse)
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) CreateAlias(ctx context.Context, in *CreateAliasRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
out := new(commonpb.Status)
err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/CreateAlias", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *milvusServiceClient) DropAlias(ctx context.Context, in *DropAliasRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
out := new(commonpb.Status)
err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/DropAlias", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *milvusServiceClient) AlterAlias(ctx context.Context, in *AlterAliasRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
out := new(commonpb.Status)
err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/AlterAlias", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
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
}
func (c *milvusServiceClient) GetIndexState(ctx context.Context, in *GetIndexStateRequest, opts ...grpc.CallOption) (*GetIndexStateResponse, error) {
out := new(GetIndexStateResponse)
err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/GetIndexState", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
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
}
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
}
func (c *milvusServiceClient) Insert(ctx context.Context, in *InsertRequest, opts ...grpc.CallOption) (*MutationResult, error) {
out := new(MutationResult)
err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/Insert", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *milvusServiceClient) Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*MutationResult, error) {
out := new(MutationResult)
err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/Delete", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *milvusServiceClient) Search(ctx context.Context, in *SearchRequest, opts ...grpc.CallOption) (*SearchResults, error) {
out := new(SearchResults)
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) (*FlushResponse, error) {
out := new(FlushResponse)
err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/Flush", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *milvusServiceClient) Query(ctx context.Context, in *QueryRequest, opts ...grpc.CallOption) (*QueryResults, error) {
out := new(QueryResults)
err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/Query", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *milvusServiceClient) CalcDistance(ctx context.Context, in *CalcDistanceRequest, opts ...grpc.CallOption) (*CalcDistanceResults, error) {
out := new(CalcDistanceResults)
err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/CalcDistance", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *milvusServiceClient) GetFlushState(ctx context.Context, in *GetFlushStateRequest, opts ...grpc.CallOption) (*GetFlushStateResponse, error) {
out := new(GetFlushStateResponse)
err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/GetFlushState", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *milvusServiceClient) GetPersistentSegmentInfo(ctx context.Context, in *GetPersistentSegmentInfoRequest, opts ...grpc.CallOption) (*GetPersistentSegmentInfoResponse, error) {
out := new(GetPersistentSegmentInfoResponse)
err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/GetPersistentSegmentInfo", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *milvusServiceClient) GetQuerySegmentInfo(ctx context.Context, in *GetQuerySegmentInfoRequest, opts ...grpc.CallOption) (*GetQuerySegmentInfoResponse, error) {
out := new(GetQuerySegmentInfoResponse)
err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/GetQuerySegmentInfo", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *milvusServiceClient) Dummy(ctx context.Context, in *DummyRequest, opts ...grpc.CallOption) (*DummyResponse, error) {
out := new(DummyResponse)
err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/Dummy", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *milvusServiceClient) RegisterLink(ctx context.Context, in *RegisterLinkRequest, opts ...grpc.CallOption) (*RegisterLinkResponse, error) {
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
}
func (c *milvusServiceClient) GetMetrics(ctx context.Context, in *GetMetricsRequest, opts ...grpc.CallOption) (*GetMetricsResponse, error) {
out := new(GetMetricsResponse)
err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/GetMetrics", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *milvusServiceClient) LoadBalance(ctx context.Context, in *LoadBalanceRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
out := new(commonpb.Status)
err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/LoadBalance", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *milvusServiceClient) GetCompactionState(ctx context.Context, in *GetCompactionStateRequest, opts ...grpc.CallOption) (*GetCompactionStateResponse, error) {
out := new(GetCompactionStateResponse)
err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/GetCompactionState", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *milvusServiceClient) ManualCompaction(ctx context.Context, in *ManualCompactionRequest, opts ...grpc.CallOption) (*ManualCompactionResponse, error) {
out := new(ManualCompactionResponse)
err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/ManualCompaction", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *milvusServiceClient) GetCompactionStateWithPlans(ctx context.Context, in *GetCompactionPlansRequest, opts ...grpc.CallOption) (*GetCompactionPlansResponse, error) {
out := new(GetCompactionPlansResponse)
err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/GetCompactionStateWithPlans", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// 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)
GetCollectionStatistics(context.Context, *GetCollectionStatisticsRequest) (*GetCollectionStatisticsResponse, error)
ShowCollections(context.Context, *ShowCollectionsRequest) (*ShowCollectionsResponse, error)
CreatePartition(context.Context, *CreatePartitionRequest) (*commonpb.Status, error)
DropPartition(context.Context, *DropPartitionRequest) (*commonpb.Status, error)
HasPartition(context.Context, *HasPartitionRequest) (*BoolResponse, error)
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)
CreateAlias(context.Context, *CreateAliasRequest) (*commonpb.Status, error)
DropAlias(context.Context, *DropAliasRequest) (*commonpb.Status, error)
AlterAlias(context.Context, *AlterAliasRequest) (*commonpb.Status, error)
CreateIndex(context.Context, *CreateIndexRequest) (*commonpb.Status, error)
DescribeIndex(context.Context, *DescribeIndexRequest) (*DescribeIndexResponse, error)
GetIndexState(context.Context, *GetIndexStateRequest) (*GetIndexStateResponse, error)
GetIndexBuildProgress(context.Context, *GetIndexBuildProgressRequest) (*GetIndexBuildProgressResponse, error)
DropIndex(context.Context, *DropIndexRequest) (*commonpb.Status, error)
Insert(context.Context, *InsertRequest) (*MutationResult, error)
Delete(context.Context, *DeleteRequest) (*MutationResult, error)
Search(context.Context, *SearchRequest) (*SearchResults, error)
Flush(context.Context, *FlushRequest) (*FlushResponse, error)
Query(context.Context, *QueryRequest) (*QueryResults, error)
CalcDistance(context.Context, *CalcDistanceRequest) (*CalcDistanceResults, error)
GetFlushState(context.Context, *GetFlushStateRequest) (*GetFlushStateResponse, error)
GetPersistentSegmentInfo(context.Context, *GetPersistentSegmentInfoRequest) (*GetPersistentSegmentInfoResponse, error)
GetQuerySegmentInfo(context.Context, *GetQuerySegmentInfoRequest) (*GetQuerySegmentInfoResponse, error)
Dummy(context.Context, *DummyRequest) (*DummyResponse, error)
// TODO: remove
RegisterLink(context.Context, *RegisterLinkRequest) (*RegisterLinkResponse, error)
// https://wiki.lfaidata.foundation/display/MIL/MEP+8+--+Add+metrics+for+proxy
GetMetrics(context.Context, *GetMetricsRequest) (*GetMetricsResponse, error)
LoadBalance(context.Context, *LoadBalanceRequest) (*commonpb.Status, error)
GetCompactionState(context.Context, *GetCompactionStateRequest) (*GetCompactionStateResponse, error)
ManualCompaction(context.Context, *ManualCompactionRequest) (*ManualCompactionResponse, error)
GetCompactionStateWithPlans(context.Context, *GetCompactionPlansRequest) (*GetCompactionPlansResponse, error)
}
// 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")
}
func (*UnimplementedMilvusServiceServer) GetCollectionStatistics(ctx context.Context, req *GetCollectionStatisticsRequest) (*GetCollectionStatisticsResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetCollectionStatistics not implemented")
}
func (*UnimplementedMilvusServiceServer) ShowCollections(ctx context.Context, req *ShowCollectionsRequest) (*ShowCollectionsResponse, error) {
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")
}
func (*UnimplementedMilvusServiceServer) LoadPartitions(ctx context.Context, req *LoadPartitionsRequest) (*commonpb.Status, error) {
return nil, status.Errorf(codes.Unimplemented, "method LoadPartitions not implemented")
}
func (*UnimplementedMilvusServiceServer) ReleasePartitions(ctx context.Context, req *ReleasePartitionsRequest) (*commonpb.Status, error) {
return nil, status.Errorf(codes.Unimplemented, "method ReleasePartitions not implemented")
}
func (*UnimplementedMilvusServiceServer) GetPartitionStatistics(ctx context.Context, req *GetPartitionStatisticsRequest) (*GetPartitionStatisticsResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetPartitionStatistics not implemented")
}
func (*UnimplementedMilvusServiceServer) ShowPartitions(ctx context.Context, req *ShowPartitionsRequest) (*ShowPartitionsResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method ShowPartitions not implemented")
}
func (*UnimplementedMilvusServiceServer) CreateAlias(ctx context.Context, req *CreateAliasRequest) (*commonpb.Status, error) {
return nil, status.Errorf(codes.Unimplemented, "method CreateAlias not implemented")
}
func (*UnimplementedMilvusServiceServer) DropAlias(ctx context.Context, req *DropAliasRequest) (*commonpb.Status, error) {
return nil, status.Errorf(codes.Unimplemented, "method DropAlias not implemented")
}
func (*UnimplementedMilvusServiceServer) AlterAlias(ctx context.Context, req *AlterAliasRequest) (*commonpb.Status, error) {
return nil, status.Errorf(codes.Unimplemented, "method AlterAlias not implemented")
}
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")
}
func (*UnimplementedMilvusServiceServer) GetIndexState(ctx context.Context, req *GetIndexStateRequest) (*GetIndexStateResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetIndexState not implemented")
}
func (*UnimplementedMilvusServiceServer) GetIndexBuildProgress(ctx context.Context, req *GetIndexBuildProgressRequest) (*GetIndexBuildProgressResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetIndexBuildProgress not implemented")
}
func (*UnimplementedMilvusServiceServer) DropIndex(ctx context.Context, req *DropIndexRequest) (*commonpb.Status, error) {
return nil, status.Errorf(codes.Unimplemented, "method DropIndex not implemented")
}
func (*UnimplementedMilvusServiceServer) Insert(ctx context.Context, req *InsertRequest) (*MutationResult, error) {
return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented")
}
func (*UnimplementedMilvusServiceServer) Delete(ctx context.Context, req *DeleteRequest) (*MutationResult, error) {
return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented")
}
func (*UnimplementedMilvusServiceServer) Search(ctx context.Context, req *SearchRequest) (*SearchResults, error) {
return nil, status.Errorf(codes.Unimplemented, "method Search not implemented")
}
func (*UnimplementedMilvusServiceServer) Flush(ctx context.Context, req *FlushRequest) (*FlushResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method Flush not implemented")
}
func (*UnimplementedMilvusServiceServer) Query(ctx context.Context, req *QueryRequest) (*QueryResults, error) {
return nil, status.Errorf(codes.Unimplemented, "method Query not implemented")
}
func (*UnimplementedMilvusServiceServer) CalcDistance(ctx context.Context, req *CalcDistanceRequest) (*CalcDistanceResults, error) {
return nil, status.Errorf(codes.Unimplemented, "method CalcDistance not implemented")
}
func (*UnimplementedMilvusServiceServer) GetFlushState(ctx context.Context, req *GetFlushStateRequest) (*GetFlushStateResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetFlushState not implemented")
}
func (*UnimplementedMilvusServiceServer) GetPersistentSegmentInfo(ctx context.Context, req *GetPersistentSegmentInfoRequest) (*GetPersistentSegmentInfoResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetPersistentSegmentInfo not implemented")
}
func (*UnimplementedMilvusServiceServer) GetQuerySegmentInfo(ctx context.Context, req *GetQuerySegmentInfoRequest) (*GetQuerySegmentInfoResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetQuerySegmentInfo not implemented")
}
func (*UnimplementedMilvusServiceServer) Dummy(ctx context.Context, req *DummyRequest) (*DummyResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method Dummy not implemented")
}
func (*UnimplementedMilvusServiceServer) RegisterLink(ctx context.Context, req *RegisterLinkRequest) (*RegisterLinkResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method RegisterLink not implemented")
}
func (*UnimplementedMilvusServiceServer) GetMetrics(ctx context.Context, req *GetMetricsRequest) (*GetMetricsResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetMetrics not implemented")
}
func (*UnimplementedMilvusServiceServer) LoadBalance(ctx context.Context, req *LoadBalanceRequest) (*commonpb.Status, error) {
return nil, status.Errorf(codes.Unimplemented, "method LoadBalance not implemented")
}
func (*UnimplementedMilvusServiceServer) GetCompactionState(ctx context.Context, req *GetCompactionStateRequest) (*GetCompactionStateResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetCompactionState not implemented")
}
func (*UnimplementedMilvusServiceServer) ManualCompaction(ctx context.Context, req *ManualCompactionRequest) (*ManualCompactionResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method ManualCompaction not implemented")
}
func (*UnimplementedMilvusServiceServer) GetCompactionStateWithPlans(ctx context.Context, req *GetCompactionPlansRequest) (*GetCompactionPlansResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetCompactionStateWithPlans not implemented")
}
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) {
in := new(GetCollectionStatisticsRequest)
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) {
return srv.(MilvusServiceServer).GetCollectionStatistics(ctx, req.(*GetCollectionStatisticsRequest))
}
return interceptor(ctx, in, info, handler)
}
func _MilvusService_ShowCollections_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ShowCollectionsRequest)
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) {
return srv.(MilvusServiceServer).ShowCollections(ctx, req.(*ShowCollectionsRequest))
}
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) {
in := new(LoadPartitionsRequest)
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) {
return srv.(MilvusServiceServer).LoadPartitions(ctx, req.(*LoadPartitionsRequest))
}
return interceptor(ctx, in, info, handler)
}
func _MilvusService_ReleasePartitions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ReleasePartitionsRequest)
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) {
return srv.(MilvusServiceServer).ReleasePartitions(ctx, req.(*ReleasePartitionsRequest))
}
return interceptor(ctx, in, info, handler)
}
func _MilvusService_GetPartitionStatistics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetPartitionStatisticsRequest)
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) {
return srv.(MilvusServiceServer).GetPartitionStatistics(ctx, req.(*GetPartitionStatisticsRequest))
}
return interceptor(ctx, in, info, handler)
}
func _MilvusService_ShowPartitions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ShowPartitionsRequest)
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) {
return srv.(MilvusServiceServer).ShowPartitions(ctx, req.(*ShowPartitionsRequest))
}
return interceptor(ctx, in, info, handler)
}
func _MilvusService_CreateAlias_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(CreateAliasRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MilvusServiceServer).CreateAlias(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/milvus.proto.milvus.MilvusService/CreateAlias",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MilvusServiceServer).CreateAlias(ctx, req.(*CreateAliasRequest))
}
return interceptor(ctx, in, info, handler)
}
func _MilvusService_DropAlias_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(DropAliasRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MilvusServiceServer).DropAlias(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/milvus.proto.milvus.MilvusService/DropAlias",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MilvusServiceServer).DropAlias(ctx, req.(*DropAliasRequest))
}
return interceptor(ctx, in, info, handler)
}
func _MilvusService_AlterAlias_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(AlterAliasRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MilvusServiceServer).AlterAlias(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/milvus.proto.milvus.MilvusService/AlterAlias",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MilvusServiceServer).AlterAlias(ctx, req.(*AlterAliasRequest))
}
return interceptor(ctx, in, info, handler)
}
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)
}
func _MilvusService_GetIndexState_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetIndexStateRequest)
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) {
return srv.(MilvusServiceServer).GetIndexState(ctx, req.(*GetIndexStateRequest))
}
return interceptor(ctx, in, info, handler)
}
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)
}
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)
}
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_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(DeleteRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MilvusServiceServer).Delete(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/milvus.proto.milvus.MilvusService/Delete",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MilvusServiceServer).Delete(ctx, req.(*DeleteRequest))
}
return interceptor(ctx, in, info, handler)
}
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)
}
func _MilvusService_Query_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(QueryRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MilvusServiceServer).Query(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/milvus.proto.milvus.MilvusService/Query",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MilvusServiceServer).Query(ctx, req.(*QueryRequest))
}
return interceptor(ctx, in, info, handler)
}
func _MilvusService_CalcDistance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(CalcDistanceRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MilvusServiceServer).CalcDistance(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/milvus.proto.milvus.MilvusService/CalcDistance",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MilvusServiceServer).CalcDistance(ctx, req.(*CalcDistanceRequest))
}
return interceptor(ctx, in, info, handler)
}
func _MilvusService_GetFlushState_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetFlushStateRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MilvusServiceServer).GetFlushState(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/milvus.proto.milvus.MilvusService/GetFlushState",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MilvusServiceServer).GetFlushState(ctx, req.(*GetFlushStateRequest))
}
return interceptor(ctx, in, info, handler)
}
func _MilvusService_GetPersistentSegmentInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetPersistentSegmentInfoRequest)
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) {
return srv.(MilvusServiceServer).GetPersistentSegmentInfo(ctx, req.(*GetPersistentSegmentInfoRequest))
}
return interceptor(ctx, in, info, handler)
}
func _MilvusService_GetQuerySegmentInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetQuerySegmentInfoRequest)
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) {
return srv.(MilvusServiceServer).GetQuerySegmentInfo(ctx, req.(*GetQuerySegmentInfoRequest))
}
return interceptor(ctx, in, info, handler)
}
func _MilvusService_Dummy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(DummyRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MilvusServiceServer).Dummy(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/milvus.proto.milvus.MilvusService/Dummy",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MilvusServiceServer).Dummy(ctx, req.(*DummyRequest))
}
return interceptor(ctx, in, info, handler)
}
func _MilvusService_RegisterLink_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(RegisterLinkRequest)
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) {
return srv.(MilvusServiceServer).RegisterLink(ctx, req.(*RegisterLinkRequest))
}
return interceptor(ctx, in, info, handler)
}
func _MilvusService_GetMetrics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetMetricsRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MilvusServiceServer).GetMetrics(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/milvus.proto.milvus.MilvusService/GetMetrics",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MilvusServiceServer).GetMetrics(ctx, req.(*GetMetricsRequest))
}
return interceptor(ctx, in, info, handler)
}
func _MilvusService_LoadBalance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(LoadBalanceRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MilvusServiceServer).LoadBalance(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/milvus.proto.milvus.MilvusService/LoadBalance",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MilvusServiceServer).LoadBalance(ctx, req.(*LoadBalanceRequest))
}
return interceptor(ctx, in, info, handler)
}
func _MilvusService_GetCompactionState_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetCompactionStateRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MilvusServiceServer).GetCompactionState(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/milvus.proto.milvus.MilvusService/GetCompactionState",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MilvusServiceServer).GetCompactionState(ctx, req.(*GetCompactionStateRequest))
}
return interceptor(ctx, in, info, handler)
}
func _MilvusService_ManualCompaction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ManualCompactionRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MilvusServiceServer).ManualCompaction(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/milvus.proto.milvus.MilvusService/ManualCompaction",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MilvusServiceServer).ManualCompaction(ctx, req.(*ManualCompactionRequest))
}
return interceptor(ctx, in, info, handler)
}
func _MilvusService_GetCompactionStateWithPlans_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetCompactionPlansRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MilvusServiceServer).GetCompactionStateWithPlans(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/milvus.proto.milvus.MilvusService/GetCompactionStateWithPlans",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MilvusServiceServer).GetCompactionStateWithPlans(ctx, req.(*GetCompactionPlansRequest))
}
return interceptor(ctx, in, info, handler)
}
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: "CreateAlias",
Handler: _MilvusService_CreateAlias_Handler,
},
{
MethodName: "DropAlias",
Handler: _MilvusService_DropAlias_Handler,
},
{
MethodName: "AlterAlias",
Handler: _MilvusService_AlterAlias_Handler,
},
{
MethodName: "CreateIndex",
Handler: _MilvusService_CreateIndex_Handler,
},
{
MethodName: "DescribeIndex",
Handler: _MilvusService_DescribeIndex_Handler,
},
{
MethodName: "GetIndexState",
Handler: _MilvusService_GetIndexState_Handler,
},
{
MethodName: "GetIndexBuildProgress",
Handler: _MilvusService_GetIndexBuildProgress_Handler,
},
{
MethodName: "DropIndex",
Handler: _MilvusService_DropIndex_Handler,
},
{
MethodName: "Insert",
Handler: _MilvusService_Insert_Handler,
},
{
MethodName: "Delete",
Handler: _MilvusService_Delete_Handler,
},
{
MethodName: "Search",
Handler: _MilvusService_Search_Handler,
},
{
MethodName: "Flush",
Handler: _MilvusService_Flush_Handler,
},
{
MethodName: "Query",
Handler: _MilvusService_Query_Handler,
},
{
MethodName: "CalcDistance",
Handler: _MilvusService_CalcDistance_Handler,
},
{
MethodName: "GetFlushState",
Handler: _MilvusService_GetFlushState_Handler,
},
{
MethodName: "GetPersistentSegmentInfo",
Handler: _MilvusService_GetPersistentSegmentInfo_Handler,
},
{
MethodName: "GetQuerySegmentInfo",
Handler: _MilvusService_GetQuerySegmentInfo_Handler,
},
{
MethodName: "Dummy",
Handler: _MilvusService_Dummy_Handler,
},
{
MethodName: "RegisterLink",
Handler: _MilvusService_RegisterLink_Handler,
},
{
MethodName: "GetMetrics",
Handler: _MilvusService_GetMetrics_Handler,
},
{
MethodName: "LoadBalance",
Handler: _MilvusService_LoadBalance_Handler,
},
{
MethodName: "GetCompactionState",
Handler: _MilvusService_GetCompactionState_Handler,
},
{
MethodName: "ManualCompaction",
Handler: _MilvusService_ManualCompaction_Handler,
},
{
MethodName: "GetCompactionStateWithPlans",
Handler: _MilvusService_GetCompactionStateWithPlans_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "milvus.proto",
}
// 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 {
RegisterLink(ctx context.Context, in *RegisterLinkRequest, opts ...grpc.CallOption) (*RegisterLinkResponse, error)
}
type proxyServiceClient struct {
cc *grpc.ClientConn
}
func NewProxyServiceClient(cc *grpc.ClientConn) ProxyServiceClient {
return &proxyServiceClient{cc}
}
func (c *proxyServiceClient) RegisterLink(ctx context.Context, in *RegisterLinkRequest, opts ...grpc.CallOption) (*RegisterLinkResponse, error) {
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 {
RegisterLink(context.Context, *RegisterLinkRequest) (*RegisterLinkResponse, error)
}
// UnimplementedProxyServiceServer can be embedded to have forward compatible implementations.
type UnimplementedProxyServiceServer struct {
}
func (*UnimplementedProxyServiceServer) RegisterLink(ctx context.Context, req *RegisterLinkRequest) (*RegisterLinkResponse, error) {
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) {
in := new(RegisterLinkRequest)
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) {
return srv.(ProxyServiceServer).RegisterLink(ctx, req.(*RegisterLinkRequest))
}
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",
}