mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-05 05:18:52 +08:00
f3649f0419
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
4083 lines
156 KiB
Go
4083 lines
156 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/zilliztech/milvus-distributed/internal/proto/commonpb"
|
|
schemapb "github.com/zilliztech/milvus-distributed/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
|
|
|
|
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{0}
|
|
}
|
|
|
|
type CreateCollectionRequest 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"`
|
|
// `schema` is the serialized `schema.CollectionSchema`
|
|
Schema []byte `protobuf:"bytes,4,opt,name=schema,proto3" json:"schema,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *CreateCollectionRequest) Reset() { *m = CreateCollectionRequest{} }
|
|
func (m *CreateCollectionRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*CreateCollectionRequest) ProtoMessage() {}
|
|
func (*CreateCollectionRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_02345ba45cc0e303, []int{0}
|
|
}
|
|
|
|
func (m *CreateCollectionRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_CreateCollectionRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *CreateCollectionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_CreateCollectionRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *CreateCollectionRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_CreateCollectionRequest.Merge(m, src)
|
|
}
|
|
func (m *CreateCollectionRequest) XXX_Size() int {
|
|
return xxx_messageInfo_CreateCollectionRequest.Size(m)
|
|
}
|
|
func (m *CreateCollectionRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_CreateCollectionRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_CreateCollectionRequest proto.InternalMessageInfo
|
|
|
|
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
|
|
}
|
|
|
|
type DropCollectionRequest 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"`
|
|
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{1}
|
|
}
|
|
|
|
func (m *DropCollectionRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_DropCollectionRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *DropCollectionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_DropCollectionRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *DropCollectionRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_DropCollectionRequest.Merge(m, src)
|
|
}
|
|
func (m *DropCollectionRequest) XXX_Size() int {
|
|
return xxx_messageInfo_DropCollectionRequest.Size(m)
|
|
}
|
|
func (m *DropCollectionRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_DropCollectionRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_DropCollectionRequest proto.InternalMessageInfo
|
|
|
|
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 ""
|
|
}
|
|
|
|
type HasCollectionRequest 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"`
|
|
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{2}
|
|
}
|
|
|
|
func (m *HasCollectionRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_HasCollectionRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *HasCollectionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_HasCollectionRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *HasCollectionRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_HasCollectionRequest.Merge(m, src)
|
|
}
|
|
func (m *HasCollectionRequest) XXX_Size() int {
|
|
return xxx_messageInfo_HasCollectionRequest.Size(m)
|
|
}
|
|
func (m *HasCollectionRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_HasCollectionRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_HasCollectionRequest proto.InternalMessageInfo
|
|
|
|
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 ""
|
|
}
|
|
|
|
type BoolResponse struct {
|
|
Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
|
|
Value bool `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *BoolResponse) Reset() { *m = BoolResponse{} }
|
|
func (m *BoolResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*BoolResponse) ProtoMessage() {}
|
|
func (*BoolResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_02345ba45cc0e303, []int{3}
|
|
}
|
|
|
|
func (m *BoolResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_BoolResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *BoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_BoolResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *BoolResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_BoolResponse.Merge(m, src)
|
|
}
|
|
func (m *BoolResponse) XXX_Size() int {
|
|
return xxx_messageInfo_BoolResponse.Size(m)
|
|
}
|
|
func (m *BoolResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_BoolResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_BoolResponse proto.InternalMessageInfo
|
|
|
|
func (m *BoolResponse) GetStatus() *commonpb.Status {
|
|
if m != nil {
|
|
return m.Status
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *BoolResponse) GetValue() bool {
|
|
if m != nil {
|
|
return m.Value
|
|
}
|
|
return false
|
|
}
|
|
|
|
type StringResponse struct {
|
|
Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
|
|
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *StringResponse) Reset() { *m = StringResponse{} }
|
|
func (m *StringResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*StringResponse) ProtoMessage() {}
|
|
func (*StringResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_02345ba45cc0e303, []int{4}
|
|
}
|
|
|
|
func (m *StringResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_StringResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *StringResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_StringResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *StringResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_StringResponse.Merge(m, src)
|
|
}
|
|
func (m *StringResponse) XXX_Size() int {
|
|
return xxx_messageInfo_StringResponse.Size(m)
|
|
}
|
|
func (m *StringResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_StringResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_StringResponse proto.InternalMessageInfo
|
|
|
|
func (m *StringResponse) GetStatus() *commonpb.Status {
|
|
if m != nil {
|
|
return m.Status
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *StringResponse) GetValue() string {
|
|
if m != nil {
|
|
return m.Value
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DescribeCollectionRequest 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"`
|
|
CollectionID int64 `protobuf:"varint,4,opt,name=collectionID,proto3" json:"collectionID,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{5}
|
|
}
|
|
|
|
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
|
|
}
|
|
|
|
type DescribeCollectionResponse struct {
|
|
Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
|
|
Schema *schemapb.CollectionSchema `protobuf:"bytes,2,opt,name=schema,proto3" json:"schema,omitempty"`
|
|
CollectionID int64 `protobuf:"varint,3,opt,name=collectionID,proto3" json:"collectionID,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{6}
|
|
}
|
|
|
|
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
|
|
}
|
|
|
|
type LoadCollectionRequest 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"`
|
|
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{7}
|
|
}
|
|
|
|
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 ""
|
|
}
|
|
|
|
type ReleaseCollectionRequest 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"`
|
|
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{8}
|
|
}
|
|
|
|
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 ""
|
|
}
|
|
|
|
type GetCollectionStatisticsRequest 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"`
|
|
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{9}
|
|
}
|
|
|
|
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 ""
|
|
}
|
|
|
|
type GetCollectionStatisticsResponse 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 *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{10}
|
|
}
|
|
|
|
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
|
|
}
|
|
|
|
type ShowCollectionsRequest 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"`
|
|
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{11}
|
|
}
|
|
|
|
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 ""
|
|
}
|
|
|
|
type ShowCollectionsResponse struct {
|
|
Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
|
|
CollectionNames []string `protobuf:"bytes,2,rep,name=collection_names,json=collectionNames,proto3" json:"collection_names,omitempty"`
|
|
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{12}
|
|
}
|
|
|
|
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
|
|
}
|
|
|
|
type CreatePartitionRequest 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"`
|
|
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{13}
|
|
}
|
|
|
|
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 ""
|
|
}
|
|
|
|
type DropPartitionRequest 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"`
|
|
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{14}
|
|
}
|
|
|
|
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 ""
|
|
}
|
|
|
|
type HasPartitionRequest 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"`
|
|
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{15}
|
|
}
|
|
|
|
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 ""
|
|
}
|
|
|
|
type LoadPartitionsRequest 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"`
|
|
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{16}
|
|
}
|
|
|
|
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
|
|
}
|
|
|
|
type ReleasePartitionsRequest 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"`
|
|
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{17}
|
|
}
|
|
|
|
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
|
|
}
|
|
|
|
type GetPartitionStatisticsRequest 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"`
|
|
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{18}
|
|
}
|
|
|
|
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{19}
|
|
}
|
|
|
|
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
|
|
}
|
|
|
|
type ShowPartitionsRequest 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"`
|
|
CollectionID int64 `protobuf:"varint,4,opt,name=collectionID,proto3" json:"collectionID,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{20}
|
|
}
|
|
|
|
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
|
|
}
|
|
|
|
type ShowPartitionsResponse struct {
|
|
Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
|
|
PartitionNames []string `protobuf:"bytes,2,rep,name=partition_names,json=partitionNames,proto3" json:"partition_names,omitempty"`
|
|
PartitionIDs []int64 `protobuf:"varint,3,rep,packed,name=partitionIDs,proto3" json:"partitionIDs,omitempty"`
|
|
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{21}
|
|
}
|
|
|
|
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
|
|
}
|
|
|
|
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{22}
|
|
}
|
|
|
|
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"`
|
|
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{23}
|
|
}
|
|
|
|
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
|
|
}
|
|
|
|
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{24}
|
|
}
|
|
|
|
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{25}
|
|
}
|
|
|
|
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
|
|
}
|
|
|
|
type CreateIndexRequest 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"`
|
|
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{26}
|
|
}
|
|
|
|
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
|
|
}
|
|
|
|
type DescribeIndexRequest 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 *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{27}
|
|
}
|
|
|
|
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 ""
|
|
}
|
|
|
|
type IndexDescription struct {
|
|
IndexName string `protobuf:"bytes,1,opt,name=index_name,json=indexName,proto3" json:"index_name,omitempty"`
|
|
IndexID int64 `protobuf:"varint,2,opt,name=indexID,proto3" json:"indexID,omitempty"`
|
|
Params []*commonpb.KeyValuePair `protobuf:"bytes,3,rep,name=params,proto3" json:"params,omitempty"`
|
|
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{28}
|
|
}
|
|
|
|
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
|
|
}
|
|
|
|
type DescribeIndexResponse struct {
|
|
Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
|
|
IndexDescriptions []*IndexDescription `protobuf:"bytes,2,rep,name=index_descriptions,json=indexDescriptions,proto3" json:"index_descriptions,omitempty"`
|
|
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{29}
|
|
}
|
|
|
|
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
|
|
}
|
|
|
|
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{30}
|
|
}
|
|
|
|
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"`
|
|
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{31}
|
|
}
|
|
|
|
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
|
|
}
|
|
|
|
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{32}
|
|
}
|
|
|
|
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"`
|
|
RowData []*commonpb.Blob `protobuf:"bytes,5,rep,name=row_data,json=rowData,proto3" json:"row_data,omitempty"`
|
|
HashKeys []uint32 `protobuf:"varint,6,rep,packed,name=hash_keys,json=hashKeys,proto3" json:"hash_keys,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
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{33}
|
|
}
|
|
|
|
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) GetRowData() []*commonpb.Blob {
|
|
if m != nil {
|
|
return m.RowData
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *InsertRequest) GetHashKeys() []uint32 {
|
|
if m != nil {
|
|
return m.HashKeys
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type InsertResponse struct {
|
|
Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
|
|
RowIDBegin int64 `protobuf:"varint,2,opt,name=rowID_begin,json=rowIDBegin,proto3" json:"rowID_begin,omitempty"`
|
|
RowIDEnd int64 `protobuf:"varint,3,opt,name=rowID_end,json=rowIDEnd,proto3" json:"rowID_end,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *InsertResponse) Reset() { *m = InsertResponse{} }
|
|
func (m *InsertResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*InsertResponse) ProtoMessage() {}
|
|
func (*InsertResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_02345ba45cc0e303, []int{34}
|
|
}
|
|
|
|
func (m *InsertResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_InsertResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *InsertResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_InsertResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *InsertResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_InsertResponse.Merge(m, src)
|
|
}
|
|
func (m *InsertResponse) XXX_Size() int {
|
|
return xxx_messageInfo_InsertResponse.Size(m)
|
|
}
|
|
func (m *InsertResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_InsertResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_InsertResponse proto.InternalMessageInfo
|
|
|
|
func (m *InsertResponse) GetStatus() *commonpb.Status {
|
|
if m != nil {
|
|
return m.Status
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *InsertResponse) GetRowIDBegin() int64 {
|
|
if m != nil {
|
|
return m.RowIDBegin
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *InsertResponse) GetRowIDEnd() int64 {
|
|
if m != nil {
|
|
return m.RowIDEnd
|
|
}
|
|
return 0
|
|
}
|
|
|
|
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{35}
|
|
}
|
|
|
|
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{36}
|
|
}
|
|
|
|
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"`
|
|
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{37}
|
|
}
|
|
|
|
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
|
|
}
|
|
|
|
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{38}
|
|
}
|
|
|
|
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"`
|
|
Hits [][]byte `protobuf:"bytes,2,rep,name=hits,proto3" json:"hits,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{39}
|
|
}
|
|
|
|
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) GetHits() [][]byte {
|
|
if m != nil {
|
|
return m.Hits
|
|
}
|
|
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{40}
|
|
}
|
|
|
|
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 PersistentSegmentInfo struct {
|
|
SegmentID int64 `protobuf:"varint,1,opt,name=segmentID,proto3" json:"segmentID,omitempty"`
|
|
CollectionID int64 `protobuf:"varint,2,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
|
|
PartitionID int64 `protobuf:"varint,3,opt,name=partitionID,proto3" json:"partitionID,omitempty"`
|
|
OpenTime uint64 `protobuf:"varint,4,opt,name=open_time,json=openTime,proto3" json:"open_time,omitempty"`
|
|
SealedTime uint64 `protobuf:"varint,5,opt,name=sealed_time,json=sealedTime,proto3" json:"sealed_time,omitempty"`
|
|
FlushedTime uint64 `protobuf:"varint,6,opt,name=flushed_time,json=flushedTime,proto3" json:"flushed_time,omitempty"`
|
|
NumRows int64 `protobuf:"varint,7,opt,name=num_rows,json=numRows,proto3" json:"num_rows,omitempty"`
|
|
MemSize int64 `protobuf:"varint,8,opt,name=mem_size,json=memSize,proto3" json:"mem_size,omitempty"`
|
|
State commonpb.SegmentState `protobuf:"varint,9,opt,name=state,proto3,enum=milvus.proto.common.SegmentState" json:"state,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *PersistentSegmentInfo) Reset() { *m = PersistentSegmentInfo{} }
|
|
func (m *PersistentSegmentInfo) String() string { return proto.CompactTextString(m) }
|
|
func (*PersistentSegmentInfo) ProtoMessage() {}
|
|
func (*PersistentSegmentInfo) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_02345ba45cc0e303, []int{41}
|
|
}
|
|
|
|
func (m *PersistentSegmentInfo) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_PersistentSegmentInfo.Unmarshal(m, b)
|
|
}
|
|
func (m *PersistentSegmentInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_PersistentSegmentInfo.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *PersistentSegmentInfo) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_PersistentSegmentInfo.Merge(m, src)
|
|
}
|
|
func (m *PersistentSegmentInfo) XXX_Size() int {
|
|
return xxx_messageInfo_PersistentSegmentInfo.Size(m)
|
|
}
|
|
func (m *PersistentSegmentInfo) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_PersistentSegmentInfo.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_PersistentSegmentInfo proto.InternalMessageInfo
|
|
|
|
func (m *PersistentSegmentInfo) GetSegmentID() int64 {
|
|
if m != nil {
|
|
return m.SegmentID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *PersistentSegmentInfo) GetCollectionID() int64 {
|
|
if m != nil {
|
|
return m.CollectionID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *PersistentSegmentInfo) GetPartitionID() int64 {
|
|
if m != nil {
|
|
return m.PartitionID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *PersistentSegmentInfo) GetOpenTime() uint64 {
|
|
if m != nil {
|
|
return m.OpenTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *PersistentSegmentInfo) GetSealedTime() uint64 {
|
|
if m != nil {
|
|
return m.SealedTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *PersistentSegmentInfo) GetFlushedTime() uint64 {
|
|
if m != nil {
|
|
return m.FlushedTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *PersistentSegmentInfo) GetNumRows() int64 {
|
|
if m != nil {
|
|
return m.NumRows
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *PersistentSegmentInfo) GetMemSize() int64 {
|
|
if m != nil {
|
|
return m.MemSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *PersistentSegmentInfo) GetState() commonpb.SegmentState {
|
|
if m != nil {
|
|
return m.State
|
|
}
|
|
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{42}
|
|
}
|
|
|
|
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{43}
|
|
}
|
|
|
|
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"`
|
|
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{44}
|
|
}
|
|
|
|
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
|
|
}
|
|
|
|
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{45}
|
|
}
|
|
|
|
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{46}
|
|
}
|
|
|
|
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 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{47}
|
|
}
|
|
|
|
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{48}
|
|
}
|
|
|
|
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
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterEnum("milvus.proto.milvus.PlaceholderType", PlaceholderType_name, PlaceholderType_value)
|
|
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((*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((*InsertResponse)(nil), "milvus.proto.milvus.InsertResponse")
|
|
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((*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((*RegisterLinkRequest)(nil), "milvus.proto.milvus.RegisterLinkRequest")
|
|
proto.RegisterType((*RegisterLinkResponse)(nil), "milvus.proto.milvus.RegisterLinkResponse")
|
|
}
|
|
|
|
func init() { proto.RegisterFile("milvus.proto", fileDescriptor_02345ba45cc0e303) }
|
|
|
|
var fileDescriptor_02345ba45cc0e303 = []byte{
|
|
// 1974 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x59, 0xdd, 0x6f, 0x1b, 0xc7,
|
|
0x11, 0xf7, 0x92, 0x14, 0x45, 0x0d, 0x8f, 0x12, 0xbd, 0xfa, 0x30, 0x7d, 0x8e, 0x63, 0xf9, 0x5a,
|
|
0x37, 0xb2, 0x9d, 0x58, 0x81, 0x9c, 0xf4, 0x03, 0x45, 0x8b, 0x54, 0x51, 0x23, 0x0b, 0x4e, 0x02,
|
|
0xe5, 0xe8, 0x06, 0x4d, 0x03, 0x83, 0x38, 0xf2, 0xd6, 0xe4, 0xc1, 0xc7, 0x3b, 0xf6, 0x76, 0x69,
|
|
0x99, 0x7a, 0x4d, 0x11, 0xa0, 0x1f, 0x71, 0x1e, 0xda, 0x97, 0xf6, 0xb1, 0x40, 0x9f, 0xdb, 0xa2,
|
|
0x01, 0x0a, 0xf4, 0xb9, 0x0f, 0x05, 0xfa, 0x77, 0xf4, 0xa9, 0xe8, 0x9f, 0x50, 0x20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xa9, 0xea, 0x18, 0x56, 0x15, 0xa9, 0x29, 0xde, 0xce, 0x5a, 0x2f,
|
|
0x23, 0xab, 0xd6, 0x5f, 0x9f, 0x7e, 0x42, 0x24, 0x9b, 0x80, 0x16, 0xcf, 0x36, 0x33, 0x62, 0xb1,
|
|
0x22, 0x51, 0xd5, 0x6f, 0x4e, 0xc1, 0x39, 0x14, 0xb3, 0xd3, 0x07, 0xed, 0x30, 0xf0, 0x9f, 0x0e,
|
|
0x86, 0xd9, 0xe0, 0xd7, 0x23, 0x76, 0x77, 0xf7, 0x67, 0x6f, 0xb5, 0x1d, 0xd6, 0xe9, 0x37, 0xf9,
|
|
0xf9, 0x6f, 0x1f, 0x3b, 0xae, 0xeb, 0x1c, 0x33, 0xd2, 0xea, 0x6c, 0xcb, 0x69, 0xaf, 0xd9, 0x0e,
|
|
0x65, 0x81, 0xd3, 0xec, 0x33, 0x62, 0x6f, 0x3b, 0x1e, 0x23, 0x81, 0x67, 0xb9, 0xdb, 0x62, 0xe1,
|
|
0x90, 0xa3, 0xd7, 0x6c, 0x16, 0xc5, 0xf8, 0xee, 0x97, 0x01, 0x00, 0x00, 0xff, 0xff, 0x11, 0xc5,
|
|
0x0f, 0x16, 0x63, 0x29, 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)
|
|
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)
|
|
DropIndex(ctx context.Context, in *DropIndexRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
|
|
Insert(ctx context.Context, in *InsertRequest, opts ...grpc.CallOption) (*InsertResponse, error)
|
|
Search(ctx context.Context, in *SearchRequest, opts ...grpc.CallOption) (*SearchResults, error)
|
|
Flush(ctx context.Context, in *FlushRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
|
|
GetPersistentSegmentInfo(ctx context.Context, in *GetPersistentSegmentInfoRequest, opts ...grpc.CallOption) (*GetPersistentSegmentInfoResponse, error)
|
|
GetQuerySegmentInfo(ctx context.Context, in *GetQuerySegmentInfoRequest, opts ...grpc.CallOption) (*GetQuerySegmentInfoResponse, error)
|
|
// TODO: remove
|
|
RegisterLink(ctx context.Context, in *RegisterLinkRequest, opts ...grpc.CallOption) (*RegisterLinkResponse, error)
|
|
}
|
|
|
|
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) 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) 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) (*InsertResponse, error) {
|
|
out := new(InsertResponse)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/Insert", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
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) (*commonpb.Status, error) {
|
|
out := new(commonpb.Status)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/Flush", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
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) 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
|
|
}
|
|
|
|
// 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)
|
|
CreateIndex(context.Context, *CreateIndexRequest) (*commonpb.Status, error)
|
|
DescribeIndex(context.Context, *DescribeIndexRequest) (*DescribeIndexResponse, error)
|
|
GetIndexState(context.Context, *GetIndexStateRequest) (*GetIndexStateResponse, error)
|
|
DropIndex(context.Context, *DropIndexRequest) (*commonpb.Status, error)
|
|
Insert(context.Context, *InsertRequest) (*InsertResponse, error)
|
|
Search(context.Context, *SearchRequest) (*SearchResults, error)
|
|
Flush(context.Context, *FlushRequest) (*commonpb.Status, error)
|
|
GetPersistentSegmentInfo(context.Context, *GetPersistentSegmentInfoRequest) (*GetPersistentSegmentInfoResponse, error)
|
|
GetQuerySegmentInfo(context.Context, *GetQuerySegmentInfoRequest) (*GetQuerySegmentInfoResponse, error)
|
|
// TODO: remove
|
|
RegisterLink(context.Context, *RegisterLinkRequest) (*RegisterLinkResponse, 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) 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) 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) (*InsertResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method Insert 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) (*commonpb.Status, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method Flush 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) RegisterLink(ctx context.Context, req *RegisterLinkRequest) (*RegisterLinkResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method RegisterLink 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_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_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_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_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_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)
|
|
}
|
|
|
|
var _MilvusService_serviceDesc = grpc.ServiceDesc{
|
|
ServiceName: "milvus.proto.milvus.MilvusService",
|
|
HandlerType: (*MilvusServiceServer)(nil),
|
|
Methods: []grpc.MethodDesc{
|
|
{
|
|
MethodName: "CreateCollection",
|
|
Handler: _MilvusService_CreateCollection_Handler,
|
|
},
|
|
{
|
|
MethodName: "DropCollection",
|
|
Handler: _MilvusService_DropCollection_Handler,
|
|
},
|
|
{
|
|
MethodName: "HasCollection",
|
|
Handler: _MilvusService_HasCollection_Handler,
|
|
},
|
|
{
|
|
MethodName: "LoadCollection",
|
|
Handler: _MilvusService_LoadCollection_Handler,
|
|
},
|
|
{
|
|
MethodName: "ReleaseCollection",
|
|
Handler: _MilvusService_ReleaseCollection_Handler,
|
|
},
|
|
{
|
|
MethodName: "DescribeCollection",
|
|
Handler: _MilvusService_DescribeCollection_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetCollectionStatistics",
|
|
Handler: _MilvusService_GetCollectionStatistics_Handler,
|
|
},
|
|
{
|
|
MethodName: "ShowCollections",
|
|
Handler: _MilvusService_ShowCollections_Handler,
|
|
},
|
|
{
|
|
MethodName: "CreatePartition",
|
|
Handler: _MilvusService_CreatePartition_Handler,
|
|
},
|
|
{
|
|
MethodName: "DropPartition",
|
|
Handler: _MilvusService_DropPartition_Handler,
|
|
},
|
|
{
|
|
MethodName: "HasPartition",
|
|
Handler: _MilvusService_HasPartition_Handler,
|
|
},
|
|
{
|
|
MethodName: "LoadPartitions",
|
|
Handler: _MilvusService_LoadPartitions_Handler,
|
|
},
|
|
{
|
|
MethodName: "ReleasePartitions",
|
|
Handler: _MilvusService_ReleasePartitions_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetPartitionStatistics",
|
|
Handler: _MilvusService_GetPartitionStatistics_Handler,
|
|
},
|
|
{
|
|
MethodName: "ShowPartitions",
|
|
Handler: _MilvusService_ShowPartitions_Handler,
|
|
},
|
|
{
|
|
MethodName: "CreateIndex",
|
|
Handler: _MilvusService_CreateIndex_Handler,
|
|
},
|
|
{
|
|
MethodName: "DescribeIndex",
|
|
Handler: _MilvusService_DescribeIndex_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetIndexState",
|
|
Handler: _MilvusService_GetIndexState_Handler,
|
|
},
|
|
{
|
|
MethodName: "DropIndex",
|
|
Handler: _MilvusService_DropIndex_Handler,
|
|
},
|
|
{
|
|
MethodName: "Insert",
|
|
Handler: _MilvusService_Insert_Handler,
|
|
},
|
|
{
|
|
MethodName: "Search",
|
|
Handler: _MilvusService_Search_Handler,
|
|
},
|
|
{
|
|
MethodName: "Flush",
|
|
Handler: _MilvusService_Flush_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetPersistentSegmentInfo",
|
|
Handler: _MilvusService_GetPersistentSegmentInfo_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetQuerySegmentInfo",
|
|
Handler: _MilvusService_GetQuerySegmentInfo_Handler,
|
|
},
|
|
{
|
|
MethodName: "RegisterLink",
|
|
Handler: _MilvusService_RegisterLink_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",
|
|
}
|