mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-03 04:19:18 +08:00
b89e5a3240
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
3916 lines
148 KiB
Go
3916 lines
148 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_VECTOR_BINARY PlaceholderType = 100
|
|
PlaceholderType_VECTOR_FLOAT PlaceholderType = 101
|
|
)
|
|
|
|
var PlaceholderType_name = map[int32]string{
|
|
0: "NONE",
|
|
100: "VECTOR_BINARY",
|
|
101: "VECTOR_FLOAT",
|
|
}
|
|
|
|
var PlaceholderType_value = map[string]int32{
|
|
"NONE": 0,
|
|
"VECTOR_BINARY": 100,
|
|
"VECTOR_FLOAT": 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"`
|
|
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 ""
|
|
}
|
|
|
|
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 CollectionStatsRequest 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 *CollectionStatsRequest) Reset() { *m = CollectionStatsRequest{} }
|
|
func (m *CollectionStatsRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*CollectionStatsRequest) ProtoMessage() {}
|
|
func (*CollectionStatsRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_02345ba45cc0e303, []int{9}
|
|
}
|
|
|
|
func (m *CollectionStatsRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_CollectionStatsRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *CollectionStatsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_CollectionStatsRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *CollectionStatsRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_CollectionStatsRequest.Merge(m, src)
|
|
}
|
|
func (m *CollectionStatsRequest) XXX_Size() int {
|
|
return xxx_messageInfo_CollectionStatsRequest.Size(m)
|
|
}
|
|
func (m *CollectionStatsRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_CollectionStatsRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_CollectionStatsRequest proto.InternalMessageInfo
|
|
|
|
func (m *CollectionStatsRequest) GetBase() *commonpb.MsgBase {
|
|
if m != nil {
|
|
return m.Base
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *CollectionStatsRequest) GetDbName() string {
|
|
if m != nil {
|
|
return m.DbName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *CollectionStatsRequest) GetCollectionName() string {
|
|
if m != nil {
|
|
return m.CollectionName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type CollectionStatsResponse 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 *CollectionStatsResponse) Reset() { *m = CollectionStatsResponse{} }
|
|
func (m *CollectionStatsResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*CollectionStatsResponse) ProtoMessage() {}
|
|
func (*CollectionStatsResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_02345ba45cc0e303, []int{10}
|
|
}
|
|
|
|
func (m *CollectionStatsResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_CollectionStatsResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *CollectionStatsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_CollectionStatsResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *CollectionStatsResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_CollectionStatsResponse.Merge(m, src)
|
|
}
|
|
func (m *CollectionStatsResponse) XXX_Size() int {
|
|
return xxx_messageInfo_CollectionStatsResponse.Size(m)
|
|
}
|
|
func (m *CollectionStatsResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_CollectionStatsResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_CollectionStatsResponse proto.InternalMessageInfo
|
|
|
|
func (m *CollectionStatsResponse) GetStatus() *commonpb.Status {
|
|
if m != nil {
|
|
return m.Status
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *CollectionStatsResponse) GetStats() []*commonpb.KeyValuePair {
|
|
if m != nil {
|
|
return m.Stats
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ShowCollectionRequest 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 *ShowCollectionRequest) Reset() { *m = ShowCollectionRequest{} }
|
|
func (m *ShowCollectionRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*ShowCollectionRequest) ProtoMessage() {}
|
|
func (*ShowCollectionRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_02345ba45cc0e303, []int{11}
|
|
}
|
|
|
|
func (m *ShowCollectionRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ShowCollectionRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *ShowCollectionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ShowCollectionRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *ShowCollectionRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ShowCollectionRequest.Merge(m, src)
|
|
}
|
|
func (m *ShowCollectionRequest) XXX_Size() int {
|
|
return xxx_messageInfo_ShowCollectionRequest.Size(m)
|
|
}
|
|
func (m *ShowCollectionRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ShowCollectionRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ShowCollectionRequest proto.InternalMessageInfo
|
|
|
|
func (m *ShowCollectionRequest) GetBase() *commonpb.MsgBase {
|
|
if m != nil {
|
|
return m.Base
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ShowCollectionRequest) GetDbName() string {
|
|
if m != nil {
|
|
return m.DbName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ShowCollectionResponse 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 *ShowCollectionResponse) Reset() { *m = ShowCollectionResponse{} }
|
|
func (m *ShowCollectionResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*ShowCollectionResponse) ProtoMessage() {}
|
|
func (*ShowCollectionResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_02345ba45cc0e303, []int{12}
|
|
}
|
|
|
|
func (m *ShowCollectionResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ShowCollectionResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *ShowCollectionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ShowCollectionResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *ShowCollectionResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ShowCollectionResponse.Merge(m, src)
|
|
}
|
|
func (m *ShowCollectionResponse) XXX_Size() int {
|
|
return xxx_messageInfo_ShowCollectionResponse.Size(m)
|
|
}
|
|
func (m *ShowCollectionResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ShowCollectionResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ShowCollectionResponse proto.InternalMessageInfo
|
|
|
|
func (m *ShowCollectionResponse) GetStatus() *commonpb.Status {
|
|
if m != nil {
|
|
return m.Status
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ShowCollectionResponse) 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 LoadPartitonRequest 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 *LoadPartitonRequest) Reset() { *m = LoadPartitonRequest{} }
|
|
func (m *LoadPartitonRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*LoadPartitonRequest) ProtoMessage() {}
|
|
func (*LoadPartitonRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_02345ba45cc0e303, []int{16}
|
|
}
|
|
|
|
func (m *LoadPartitonRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_LoadPartitonRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *LoadPartitonRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_LoadPartitonRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *LoadPartitonRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_LoadPartitonRequest.Merge(m, src)
|
|
}
|
|
func (m *LoadPartitonRequest) XXX_Size() int {
|
|
return xxx_messageInfo_LoadPartitonRequest.Size(m)
|
|
}
|
|
func (m *LoadPartitonRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_LoadPartitonRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_LoadPartitonRequest proto.InternalMessageInfo
|
|
|
|
func (m *LoadPartitonRequest) GetBase() *commonpb.MsgBase {
|
|
if m != nil {
|
|
return m.Base
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *LoadPartitonRequest) GetDbName() string {
|
|
if m != nil {
|
|
return m.DbName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *LoadPartitonRequest) GetCollectionName() string {
|
|
if m != nil {
|
|
return m.CollectionName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *LoadPartitonRequest) GetPartitionNames() []string {
|
|
if m != nil {
|
|
return m.PartitionNames
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ReleasePartitionRequest 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 *ReleasePartitionRequest) Reset() { *m = ReleasePartitionRequest{} }
|
|
func (m *ReleasePartitionRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*ReleasePartitionRequest) ProtoMessage() {}
|
|
func (*ReleasePartitionRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_02345ba45cc0e303, []int{17}
|
|
}
|
|
|
|
func (m *ReleasePartitionRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ReleasePartitionRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *ReleasePartitionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ReleasePartitionRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *ReleasePartitionRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ReleasePartitionRequest.Merge(m, src)
|
|
}
|
|
func (m *ReleasePartitionRequest) XXX_Size() int {
|
|
return xxx_messageInfo_ReleasePartitionRequest.Size(m)
|
|
}
|
|
func (m *ReleasePartitionRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ReleasePartitionRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ReleasePartitionRequest proto.InternalMessageInfo
|
|
|
|
func (m *ReleasePartitionRequest) GetBase() *commonpb.MsgBase {
|
|
if m != nil {
|
|
return m.Base
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ReleasePartitionRequest) GetDbName() string {
|
|
if m != nil {
|
|
return m.DbName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ReleasePartitionRequest) GetCollectionName() string {
|
|
if m != nil {
|
|
return m.CollectionName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ReleasePartitionRequest) GetPartitionNames() []string {
|
|
if m != nil {
|
|
return m.PartitionNames
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type PartitionStatsRequest 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 *PartitionStatsRequest) Reset() { *m = PartitionStatsRequest{} }
|
|
func (m *PartitionStatsRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*PartitionStatsRequest) ProtoMessage() {}
|
|
func (*PartitionStatsRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_02345ba45cc0e303, []int{18}
|
|
}
|
|
|
|
func (m *PartitionStatsRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_PartitionStatsRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *PartitionStatsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_PartitionStatsRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *PartitionStatsRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_PartitionStatsRequest.Merge(m, src)
|
|
}
|
|
func (m *PartitionStatsRequest) XXX_Size() int {
|
|
return xxx_messageInfo_PartitionStatsRequest.Size(m)
|
|
}
|
|
func (m *PartitionStatsRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_PartitionStatsRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_PartitionStatsRequest proto.InternalMessageInfo
|
|
|
|
func (m *PartitionStatsRequest) GetBase() *commonpb.MsgBase {
|
|
if m != nil {
|
|
return m.Base
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *PartitionStatsRequest) GetDbName() string {
|
|
if m != nil {
|
|
return m.DbName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *PartitionStatsRequest) GetCollectionName() string {
|
|
if m != nil {
|
|
return m.CollectionName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *PartitionStatsRequest) GetPartitionName() string {
|
|
if m != nil {
|
|
return m.PartitionName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type PartitionStatsResponse 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 *PartitionStatsResponse) Reset() { *m = PartitionStatsResponse{} }
|
|
func (m *PartitionStatsResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*PartitionStatsResponse) ProtoMessage() {}
|
|
func (*PartitionStatsResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_02345ba45cc0e303, []int{19}
|
|
}
|
|
|
|
func (m *PartitionStatsResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_PartitionStatsResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *PartitionStatsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_PartitionStatsResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *PartitionStatsResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_PartitionStatsResponse.Merge(m, src)
|
|
}
|
|
func (m *PartitionStatsResponse) XXX_Size() int {
|
|
return xxx_messageInfo_PartitionStatsResponse.Size(m)
|
|
}
|
|
func (m *PartitionStatsResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_PartitionStatsResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_PartitionStatsResponse proto.InternalMessageInfo
|
|
|
|
func (m *PartitionStatsResponse) GetStatus() *commonpb.Status {
|
|
if m != nil {
|
|
return m.Status
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *PartitionStatsResponse) GetStats() []*commonpb.KeyValuePair {
|
|
if m != nil {
|
|
return m.Stats
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ShowPartitionRequest 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 *ShowPartitionRequest) Reset() { *m = ShowPartitionRequest{} }
|
|
func (m *ShowPartitionRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*ShowPartitionRequest) ProtoMessage() {}
|
|
func (*ShowPartitionRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_02345ba45cc0e303, []int{20}
|
|
}
|
|
|
|
func (m *ShowPartitionRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ShowPartitionRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *ShowPartitionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ShowPartitionRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *ShowPartitionRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ShowPartitionRequest.Merge(m, src)
|
|
}
|
|
func (m *ShowPartitionRequest) XXX_Size() int {
|
|
return xxx_messageInfo_ShowPartitionRequest.Size(m)
|
|
}
|
|
func (m *ShowPartitionRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ShowPartitionRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ShowPartitionRequest proto.InternalMessageInfo
|
|
|
|
func (m *ShowPartitionRequest) GetBase() *commonpb.MsgBase {
|
|
if m != nil {
|
|
return m.Base
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ShowPartitionRequest) GetDbName() string {
|
|
if m != nil {
|
|
return m.DbName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ShowPartitionRequest) GetCollectionName() string {
|
|
if m != nil {
|
|
return m.CollectionName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ShowPartitionRequest) GetCollectionID() int64 {
|
|
if m != nil {
|
|
return m.CollectionID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ShowPartitionResponse 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 *ShowPartitionResponse) Reset() { *m = ShowPartitionResponse{} }
|
|
func (m *ShowPartitionResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*ShowPartitionResponse) ProtoMessage() {}
|
|
func (*ShowPartitionResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_02345ba45cc0e303, []int{21}
|
|
}
|
|
|
|
func (m *ShowPartitionResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ShowPartitionResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *ShowPartitionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ShowPartitionResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *ShowPartitionResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ShowPartitionResponse.Merge(m, src)
|
|
}
|
|
func (m *ShowPartitionResponse) XXX_Size() int {
|
|
return xxx_messageInfo_ShowPartitionResponse.Size(m)
|
|
}
|
|
func (m *ShowPartitionResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ShowPartitionResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ShowPartitionResponse proto.InternalMessageInfo
|
|
|
|
func (m *ShowPartitionResponse) GetStatus() *commonpb.Status {
|
|
if m != nil {
|
|
return m.Status
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ShowPartitionResponse) GetPartitionNames() []string {
|
|
if m != nil {
|
|
return m.PartitionNames
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ShowPartitionResponse) 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"`
|
|
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
|
|
}
|
|
|
|
type ShowSegmentRequest 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 *ShowSegmentRequest) Reset() { *m = ShowSegmentRequest{} }
|
|
func (m *ShowSegmentRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*ShowSegmentRequest) ProtoMessage() {}
|
|
func (*ShowSegmentRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_02345ba45cc0e303, []int{24}
|
|
}
|
|
|
|
func (m *ShowSegmentRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ShowSegmentRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *ShowSegmentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ShowSegmentRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *ShowSegmentRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ShowSegmentRequest.Merge(m, src)
|
|
}
|
|
func (m *ShowSegmentRequest) XXX_Size() int {
|
|
return xxx_messageInfo_ShowSegmentRequest.Size(m)
|
|
}
|
|
func (m *ShowSegmentRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ShowSegmentRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ShowSegmentRequest proto.InternalMessageInfo
|
|
|
|
func (m *ShowSegmentRequest) GetBase() *commonpb.MsgBase {
|
|
if m != nil {
|
|
return m.Base
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ShowSegmentRequest) GetCollectionID() int64 {
|
|
if m != nil {
|
|
return m.CollectionID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ShowSegmentRequest) GetPartitionID() int64 {
|
|
if m != nil {
|
|
return m.PartitionID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ShowSegmentResponse 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 *ShowSegmentResponse) Reset() { *m = ShowSegmentResponse{} }
|
|
func (m *ShowSegmentResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*ShowSegmentResponse) ProtoMessage() {}
|
|
func (*ShowSegmentResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_02345ba45cc0e303, []int{25}
|
|
}
|
|
|
|
func (m *ShowSegmentResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ShowSegmentResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *ShowSegmentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ShowSegmentResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *ShowSegmentResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ShowSegmentResponse.Merge(m, src)
|
|
}
|
|
func (m *ShowSegmentResponse) XXX_Size() int {
|
|
return xxx_messageInfo_ShowSegmentResponse.Size(m)
|
|
}
|
|
func (m *ShowSegmentResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ShowSegmentResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ShowSegmentResponse proto.InternalMessageInfo
|
|
|
|
func (m *ShowSegmentResponse) GetStatus() *commonpb.Status {
|
|
if m != nil {
|
|
return m.Status
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ShowSegmentResponse) 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"`
|
|
Params []*commonpb.KeyValuePair `protobuf:"bytes,2,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) 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 IndexStateRequest 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 *IndexStateRequest) Reset() { *m = IndexStateRequest{} }
|
|
func (m *IndexStateRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*IndexStateRequest) ProtoMessage() {}
|
|
func (*IndexStateRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_02345ba45cc0e303, []int{30}
|
|
}
|
|
|
|
func (m *IndexStateRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_IndexStateRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *IndexStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_IndexStateRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *IndexStateRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_IndexStateRequest.Merge(m, src)
|
|
}
|
|
func (m *IndexStateRequest) XXX_Size() int {
|
|
return xxx_messageInfo_IndexStateRequest.Size(m)
|
|
}
|
|
func (m *IndexStateRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_IndexStateRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_IndexStateRequest proto.InternalMessageInfo
|
|
|
|
func (m *IndexStateRequest) GetBase() *commonpb.MsgBase {
|
|
if m != nil {
|
|
return m.Base
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *IndexStateRequest) GetDbName() string {
|
|
if m != nil {
|
|
return m.DbName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *IndexStateRequest) GetCollectionName() string {
|
|
if m != nil {
|
|
return m.CollectionName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *IndexStateRequest) GetFieldName() string {
|
|
if m != nil {
|
|
return m.FieldName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *IndexStateRequest) GetIndexName() string {
|
|
if m != nil {
|
|
return m.IndexName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type IndexStateResponse 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 *IndexStateResponse) Reset() { *m = IndexStateResponse{} }
|
|
func (m *IndexStateResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*IndexStateResponse) ProtoMessage() {}
|
|
func (*IndexStateResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_02345ba45cc0e303, []int{31}
|
|
}
|
|
|
|
func (m *IndexStateResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_IndexStateResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *IndexStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_IndexStateResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *IndexStateResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_IndexStateResponse.Merge(m, src)
|
|
}
|
|
func (m *IndexStateResponse) XXX_Size() int {
|
|
return xxx_messageInfo_IndexStateResponse.Size(m)
|
|
}
|
|
func (m *IndexStateResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_IndexStateResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_IndexStateResponse proto.InternalMessageInfo
|
|
|
|
func (m *IndexStateResponse) GetStatus() *commonpb.Status {
|
|
if m != nil {
|
|
return m.Status
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *IndexStateResponse) GetState() commonpb.IndexState {
|
|
if m != nil {
|
|
return m.State
|
|
}
|
|
return commonpb.IndexState_NONE
|
|
}
|
|
|
|
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{32}
|
|
}
|
|
|
|
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{33}
|
|
}
|
|
|
|
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{34}
|
|
}
|
|
|
|
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{35}
|
|
}
|
|
|
|
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{36}
|
|
}
|
|
|
|
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{37}
|
|
}
|
|
|
|
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{38}
|
|
}
|
|
|
|
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{39}
|
|
}
|
|
|
|
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{40}
|
|
}
|
|
|
|
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_SegmentNone
|
|
}
|
|
|
|
type PersistentSegmentInfoRequest 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 *PersistentSegmentInfoRequest) Reset() { *m = PersistentSegmentInfoRequest{} }
|
|
func (m *PersistentSegmentInfoRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*PersistentSegmentInfoRequest) ProtoMessage() {}
|
|
func (*PersistentSegmentInfoRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_02345ba45cc0e303, []int{41}
|
|
}
|
|
|
|
func (m *PersistentSegmentInfoRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_PersistentSegmentInfoRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *PersistentSegmentInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_PersistentSegmentInfoRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *PersistentSegmentInfoRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_PersistentSegmentInfoRequest.Merge(m, src)
|
|
}
|
|
func (m *PersistentSegmentInfoRequest) XXX_Size() int {
|
|
return xxx_messageInfo_PersistentSegmentInfoRequest.Size(m)
|
|
}
|
|
func (m *PersistentSegmentInfoRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_PersistentSegmentInfoRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_PersistentSegmentInfoRequest proto.InternalMessageInfo
|
|
|
|
func (m *PersistentSegmentInfoRequest) GetBase() *commonpb.MsgBase {
|
|
if m != nil {
|
|
return m.Base
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *PersistentSegmentInfoRequest) GetDbName() string {
|
|
if m != nil {
|
|
return m.DbName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *PersistentSegmentInfoRequest) GetCollectionName() string {
|
|
if m != nil {
|
|
return m.CollectionName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type PersistentSegmentInfoResponse 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 *PersistentSegmentInfoResponse) Reset() { *m = PersistentSegmentInfoResponse{} }
|
|
func (m *PersistentSegmentInfoResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*PersistentSegmentInfoResponse) ProtoMessage() {}
|
|
func (*PersistentSegmentInfoResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_02345ba45cc0e303, []int{42}
|
|
}
|
|
|
|
func (m *PersistentSegmentInfoResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_PersistentSegmentInfoResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *PersistentSegmentInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_PersistentSegmentInfoResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *PersistentSegmentInfoResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_PersistentSegmentInfoResponse.Merge(m, src)
|
|
}
|
|
func (m *PersistentSegmentInfoResponse) XXX_Size() int {
|
|
return xxx_messageInfo_PersistentSegmentInfoResponse.Size(m)
|
|
}
|
|
func (m *PersistentSegmentInfoResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_PersistentSegmentInfoResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_PersistentSegmentInfoResponse proto.InternalMessageInfo
|
|
|
|
func (m *PersistentSegmentInfoResponse) GetStatus() *commonpb.Status {
|
|
if m != nil {
|
|
return m.Status
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *PersistentSegmentInfoResponse) 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{43}
|
|
}
|
|
|
|
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 QuerySegmentInfoRequest 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 *QuerySegmentInfoRequest) Reset() { *m = QuerySegmentInfoRequest{} }
|
|
func (m *QuerySegmentInfoRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*QuerySegmentInfoRequest) ProtoMessage() {}
|
|
func (*QuerySegmentInfoRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_02345ba45cc0e303, []int{44}
|
|
}
|
|
|
|
func (m *QuerySegmentInfoRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_QuerySegmentInfoRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *QuerySegmentInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_QuerySegmentInfoRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *QuerySegmentInfoRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_QuerySegmentInfoRequest.Merge(m, src)
|
|
}
|
|
func (m *QuerySegmentInfoRequest) XXX_Size() int {
|
|
return xxx_messageInfo_QuerySegmentInfoRequest.Size(m)
|
|
}
|
|
func (m *QuerySegmentInfoRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_QuerySegmentInfoRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_QuerySegmentInfoRequest proto.InternalMessageInfo
|
|
|
|
func (m *QuerySegmentInfoRequest) GetBase() *commonpb.MsgBase {
|
|
if m != nil {
|
|
return m.Base
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *QuerySegmentInfoRequest) GetDbName() string {
|
|
if m != nil {
|
|
return m.DbName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *QuerySegmentInfoRequest) GetCollectionName() string {
|
|
if m != nil {
|
|
return m.CollectionName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type QuerySegmentInfoResponse 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 *QuerySegmentInfoResponse) Reset() { *m = QuerySegmentInfoResponse{} }
|
|
func (m *QuerySegmentInfoResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*QuerySegmentInfoResponse) ProtoMessage() {}
|
|
func (*QuerySegmentInfoResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_02345ba45cc0e303, []int{45}
|
|
}
|
|
|
|
func (m *QuerySegmentInfoResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_QuerySegmentInfoResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *QuerySegmentInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_QuerySegmentInfoResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *QuerySegmentInfoResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_QuerySegmentInfoResponse.Merge(m, src)
|
|
}
|
|
func (m *QuerySegmentInfoResponse) XXX_Size() int {
|
|
return xxx_messageInfo_QuerySegmentInfoResponse.Size(m)
|
|
}
|
|
func (m *QuerySegmentInfoResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_QuerySegmentInfoResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_QuerySegmentInfoResponse proto.InternalMessageInfo
|
|
|
|
func (m *QuerySegmentInfoResponse) GetStatus() *commonpb.Status {
|
|
if m != nil {
|
|
return m.Status
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *QuerySegmentInfoResponse) GetInfos() []*QuerySegmentInfo {
|
|
if m != nil {
|
|
return m.Infos
|
|
}
|
|
return nil
|
|
}
|
|
|
|
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{46}
|
|
}
|
|
|
|
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((*CollectionStatsRequest)(nil), "milvus.proto.milvus.CollectionStatsRequest")
|
|
proto.RegisterType((*CollectionStatsResponse)(nil), "milvus.proto.milvus.CollectionStatsResponse")
|
|
proto.RegisterType((*ShowCollectionRequest)(nil), "milvus.proto.milvus.ShowCollectionRequest")
|
|
proto.RegisterType((*ShowCollectionResponse)(nil), "milvus.proto.milvus.ShowCollectionResponse")
|
|
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((*LoadPartitonRequest)(nil), "milvus.proto.milvus.LoadPartitonRequest")
|
|
proto.RegisterType((*ReleasePartitionRequest)(nil), "milvus.proto.milvus.ReleasePartitionRequest")
|
|
proto.RegisterType((*PartitionStatsRequest)(nil), "milvus.proto.milvus.PartitionStatsRequest")
|
|
proto.RegisterType((*PartitionStatsResponse)(nil), "milvus.proto.milvus.PartitionStatsResponse")
|
|
proto.RegisterType((*ShowPartitionRequest)(nil), "milvus.proto.milvus.ShowPartitionRequest")
|
|
proto.RegisterType((*ShowPartitionResponse)(nil), "milvus.proto.milvus.ShowPartitionResponse")
|
|
proto.RegisterType((*DescribeSegmentRequest)(nil), "milvus.proto.milvus.DescribeSegmentRequest")
|
|
proto.RegisterType((*DescribeSegmentResponse)(nil), "milvus.proto.milvus.DescribeSegmentResponse")
|
|
proto.RegisterType((*ShowSegmentRequest)(nil), "milvus.proto.milvus.ShowSegmentRequest")
|
|
proto.RegisterType((*ShowSegmentResponse)(nil), "milvus.proto.milvus.ShowSegmentResponse")
|
|
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((*IndexStateRequest)(nil), "milvus.proto.milvus.IndexStateRequest")
|
|
proto.RegisterType((*IndexStateResponse)(nil), "milvus.proto.milvus.IndexStateResponse")
|
|
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((*PersistentSegmentInfoRequest)(nil), "milvus.proto.milvus.PersistentSegmentInfoRequest")
|
|
proto.RegisterType((*PersistentSegmentInfoResponse)(nil), "milvus.proto.milvus.PersistentSegmentInfoResponse")
|
|
proto.RegisterType((*QuerySegmentInfo)(nil), "milvus.proto.milvus.QuerySegmentInfo")
|
|
proto.RegisterType((*QuerySegmentInfoRequest)(nil), "milvus.proto.milvus.QuerySegmentInfoRequest")
|
|
proto.RegisterType((*QuerySegmentInfoResponse)(nil), "milvus.proto.milvus.QuerySegmentInfoResponse")
|
|
proto.RegisterType((*RegisterLinkResponse)(nil), "milvus.proto.milvus.RegisterLinkResponse")
|
|
}
|
|
|
|
func init() { proto.RegisterFile("milvus.proto", fileDescriptor_02345ba45cc0e303) }
|
|
|
|
var fileDescriptor_02345ba45cc0e303 = []byte{
|
|
// 1964 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x5a, 0xed, 0x6f, 0x1b, 0x49,
|
|
0x19, 0xcf, 0xd8, 0x8e, 0x93, 0x3c, 0xb1, 0x13, 0x67, 0xf2, 0xe6, 0xfa, 0x5a, 0x2e, 0x1d, 0xb8,
|
|
0x6b, 0xfa, 0x1a, 0xc8, 0xf1, 0x2a, 0x84, 0xd4, 0xa6, 0xe9, 0xa5, 0x56, 0x7b, 0x6d, 0x6e, 0x1d,
|
|
0x0e, 0xca, 0xa9, 0x32, 0x6b, 0xef, 0xd4, 0x5e, 0x6e, 0xbd, 0x6b, 0x76, 0xc6, 0x49, 0xd3, 0x4f,
|
|
0x88, 0x22, 0x90, 0xb8, 0x13, 0xf0, 0x09, 0x89, 0xaf, 0x48, 0x7c, 0x45, 0x70, 0x20, 0xfe, 0x03,
|
|
0x24, 0x24, 0xfe, 0x0e, 0x3e, 0x9d, 0xf8, 0x13, 0x90, 0xd0, 0xcc, 0xac, 0x37, 0xbb, 0xeb, 0xd9,
|
|
0xd8, 0xad, 0xef, 0x1a, 0xf7, 0x9b, 0xe7, 0xd9, 0x67, 0x66, 0x7e, 0xcf, 0xdb, 0xcc, 0x33, 0xcf,
|
|
0x63, 0x28, 0x74, 0x6c, 0xe7, 0xb0, 0xc7, 0x6e, 0x74, 0x7d, 0x8f, 0x7b, 0x78, 0x39, 0x3a, 0xba,
|
|
0xa1, 0x06, 0x95, 0x42, 0xd3, 0xeb, 0x74, 0x3c, 0x57, 0x11, 0x2b,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0x76, 0x76, 0x7e, 0x74,
|
|
0xb3, 0x65, 0xf3, 0x76, 0xaf, 0x21, 0xd6, 0xd8, 0x7a, 0x66, 0x3b, 0x8e, 0xfd, 0x8c, 0xd3, 0x66,
|
|
0x7b, 0x4b, 0x4d, 0xbb, 0x6e, 0xd9, 0x8c, 0xfb, 0x76, 0xa3, 0xc7, 0xa9, 0xb5, 0x65, 0xbb, 0x9c,
|
|
0xfa, 0xae, 0xe9, 0x6c, 0xc9, 0x85, 0x03, 0x8e, 0x6e, 0xa3, 0x91, 0x97, 0xe3, 0x77, 0xfe, 0x1f,
|
|
0x00, 0x00, 0xff, 0xff, 0x0d, 0xe8, 0xd6, 0x03, 0x3a, 0x27, 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 *CollectionStatsRequest, opts ...grpc.CallOption) (*CollectionStatsResponse, error)
|
|
ShowCollections(ctx context.Context, in *ShowCollectionRequest, opts ...grpc.CallOption) (*ShowCollectionResponse, 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 *LoadPartitonRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
|
|
ReleasePartitions(ctx context.Context, in *ReleasePartitionRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
|
|
GetPartitionStatistics(ctx context.Context, in *PartitionStatsRequest, opts ...grpc.CallOption) (*PartitionStatsResponse, error)
|
|
ShowPartitions(ctx context.Context, in *ShowPartitionRequest, opts ...grpc.CallOption) (*ShowPartitionResponse, 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 *IndexStateRequest, opts ...grpc.CallOption) (*IndexStateResponse, 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)
|
|
GetDdChannel(ctx context.Context, in *commonpb.Empty, opts ...grpc.CallOption) (*StringResponse, error)
|
|
GetPersistentSegmentInfo(ctx context.Context, in *PersistentSegmentInfoRequest, opts ...grpc.CallOption) (*PersistentSegmentInfoResponse, error)
|
|
GetQuerySegmentInfo(ctx context.Context, in *QuerySegmentInfoRequest, opts ...grpc.CallOption) (*QuerySegmentInfoResponse, 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 *CollectionStatsRequest, opts ...grpc.CallOption) (*CollectionStatsResponse, error) {
|
|
out := new(CollectionStatsResponse)
|
|
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 *ShowCollectionRequest, opts ...grpc.CallOption) (*ShowCollectionResponse, error) {
|
|
out := new(ShowCollectionResponse)
|
|
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 *LoadPartitonRequest, 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 *ReleasePartitionRequest, 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 *PartitionStatsRequest, opts ...grpc.CallOption) (*PartitionStatsResponse, error) {
|
|
out := new(PartitionStatsResponse)
|
|
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 *ShowPartitionRequest, opts ...grpc.CallOption) (*ShowPartitionResponse, error) {
|
|
out := new(ShowPartitionResponse)
|
|
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 *IndexStateRequest, opts ...grpc.CallOption) (*IndexStateResponse, error) {
|
|
out := new(IndexStateResponse)
|
|
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) 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) GetDdChannel(ctx context.Context, in *commonpb.Empty, opts ...grpc.CallOption) (*StringResponse, error) {
|
|
out := new(StringResponse)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/GetDdChannel", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *milvusServiceClient) GetPersistentSegmentInfo(ctx context.Context, in *PersistentSegmentInfoRequest, opts ...grpc.CallOption) (*PersistentSegmentInfoResponse, error) {
|
|
out := new(PersistentSegmentInfoResponse)
|
|
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 *QuerySegmentInfoRequest, opts ...grpc.CallOption) (*QuerySegmentInfoResponse, error) {
|
|
out := new(QuerySegmentInfoResponse)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/GetQuerySegmentInfo", 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, *CollectionStatsRequest) (*CollectionStatsResponse, error)
|
|
ShowCollections(context.Context, *ShowCollectionRequest) (*ShowCollectionResponse, error)
|
|
CreatePartition(context.Context, *CreatePartitionRequest) (*commonpb.Status, error)
|
|
DropPartition(context.Context, *DropPartitionRequest) (*commonpb.Status, error)
|
|
HasPartition(context.Context, *HasPartitionRequest) (*BoolResponse, error)
|
|
LoadPartitions(context.Context, *LoadPartitonRequest) (*commonpb.Status, error)
|
|
ReleasePartitions(context.Context, *ReleasePartitionRequest) (*commonpb.Status, error)
|
|
GetPartitionStatistics(context.Context, *PartitionStatsRequest) (*PartitionStatsResponse, error)
|
|
ShowPartitions(context.Context, *ShowPartitionRequest) (*ShowPartitionResponse, error)
|
|
CreateIndex(context.Context, *CreateIndexRequest) (*commonpb.Status, error)
|
|
DescribeIndex(context.Context, *DescribeIndexRequest) (*DescribeIndexResponse, error)
|
|
GetIndexState(context.Context, *IndexStateRequest) (*IndexStateResponse, error)
|
|
Insert(context.Context, *InsertRequest) (*InsertResponse, error)
|
|
Search(context.Context, *SearchRequest) (*SearchResults, error)
|
|
Flush(context.Context, *FlushRequest) (*commonpb.Status, error)
|
|
GetDdChannel(context.Context, *commonpb.Empty) (*StringResponse, error)
|
|
GetPersistentSegmentInfo(context.Context, *PersistentSegmentInfoRequest) (*PersistentSegmentInfoResponse, error)
|
|
GetQuerySegmentInfo(context.Context, *QuerySegmentInfoRequest) (*QuerySegmentInfoResponse, 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 *CollectionStatsRequest) (*CollectionStatsResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetCollectionStatistics not implemented")
|
|
}
|
|
func (*UnimplementedMilvusServiceServer) ShowCollections(ctx context.Context, req *ShowCollectionRequest) (*ShowCollectionResponse, 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 *LoadPartitonRequest) (*commonpb.Status, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method LoadPartitions not implemented")
|
|
}
|
|
func (*UnimplementedMilvusServiceServer) ReleasePartitions(ctx context.Context, req *ReleasePartitionRequest) (*commonpb.Status, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method ReleasePartitions not implemented")
|
|
}
|
|
func (*UnimplementedMilvusServiceServer) GetPartitionStatistics(ctx context.Context, req *PartitionStatsRequest) (*PartitionStatsResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetPartitionStatistics not implemented")
|
|
}
|
|
func (*UnimplementedMilvusServiceServer) ShowPartitions(ctx context.Context, req *ShowPartitionRequest) (*ShowPartitionResponse, 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 *IndexStateRequest) (*IndexStateResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetIndexState 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) GetDdChannel(ctx context.Context, req *commonpb.Empty) (*StringResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetDdChannel not implemented")
|
|
}
|
|
func (*UnimplementedMilvusServiceServer) GetPersistentSegmentInfo(ctx context.Context, req *PersistentSegmentInfoRequest) (*PersistentSegmentInfoResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetPersistentSegmentInfo not implemented")
|
|
}
|
|
func (*UnimplementedMilvusServiceServer) GetQuerySegmentInfo(ctx context.Context, req *QuerySegmentInfoRequest) (*QuerySegmentInfoResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetQuerySegmentInfo 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(CollectionStatsRequest)
|
|
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.(*CollectionStatsRequest))
|
|
}
|
|
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(ShowCollectionRequest)
|
|
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.(*ShowCollectionRequest))
|
|
}
|
|
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(LoadPartitonRequest)
|
|
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.(*LoadPartitonRequest))
|
|
}
|
|
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(ReleasePartitionRequest)
|
|
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.(*ReleasePartitionRequest))
|
|
}
|
|
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(PartitionStatsRequest)
|
|
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.(*PartitionStatsRequest))
|
|
}
|
|
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(ShowPartitionRequest)
|
|
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.(*ShowPartitionRequest))
|
|
}
|
|
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(IndexStateRequest)
|
|
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.(*IndexStateRequest))
|
|
}
|
|
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_GetDdChannel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(commonpb.Empty)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(MilvusServiceServer).GetDdChannel(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.milvus.MilvusService/GetDdChannel",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(MilvusServiceServer).GetDdChannel(ctx, req.(*commonpb.Empty))
|
|
}
|
|
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(PersistentSegmentInfoRequest)
|
|
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.(*PersistentSegmentInfoRequest))
|
|
}
|
|
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(QuerySegmentInfoRequest)
|
|
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.(*QuerySegmentInfoRequest))
|
|
}
|
|
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: "Insert",
|
|
Handler: _MilvusService_Insert_Handler,
|
|
},
|
|
{
|
|
MethodName: "Search",
|
|
Handler: _MilvusService_Search_Handler,
|
|
},
|
|
{
|
|
MethodName: "Flush",
|
|
Handler: _MilvusService_Flush_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetDdChannel",
|
|
Handler: _MilvusService_GetDdChannel_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetPersistentSegmentInfo",
|
|
Handler: _MilvusService_GetPersistentSegmentInfo_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetQuerySegmentInfo",
|
|
Handler: _MilvusService_GetQuerySegmentInfo_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 *commonpb.Empty, 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 *commonpb.Empty, 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, *commonpb.Empty) (*RegisterLinkResponse, error)
|
|
}
|
|
|
|
// UnimplementedProxyServiceServer can be embedded to have forward compatible implementations.
|
|
type UnimplementedProxyServiceServer struct {
|
|
}
|
|
|
|
func (*UnimplementedProxyServiceServer) RegisterLink(ctx context.Context, req *commonpb.Empty) (*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(commonpb.Empty)
|
|
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.(*commonpb.Empty))
|
|
}
|
|
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",
|
|
}
|