mirror of https://github.com/milvus-io/milvus.git
2210 lines
91 KiB
Go
2210 lines
91 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// source: root_coord.proto
|
|
|
|
package rootcoordpb
|
|
|
|
import (
|
|
context "context"
|
|
fmt "fmt"
|
|
proto "github.com/golang/protobuf/proto"
|
|
commonpb "github.com/milvus-io/milvus/internal/proto/commonpb"
|
|
datapb "github.com/milvus-io/milvus/internal/proto/datapb"
|
|
etcdpb "github.com/milvus-io/milvus/internal/proto/etcdpb"
|
|
internalpb "github.com/milvus-io/milvus/internal/proto/internalpb"
|
|
milvuspb "github.com/milvus-io/milvus/internal/proto/milvuspb"
|
|
proxypb "github.com/milvus-io/milvus/internal/proto/proxypb"
|
|
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 AllocTimestampRequest struct {
|
|
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
|
|
Count uint32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *AllocTimestampRequest) Reset() { *m = AllocTimestampRequest{} }
|
|
func (m *AllocTimestampRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*AllocTimestampRequest) ProtoMessage() {}
|
|
func (*AllocTimestampRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_4513485a144f6b06, []int{0}
|
|
}
|
|
|
|
func (m *AllocTimestampRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_AllocTimestampRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *AllocTimestampRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_AllocTimestampRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *AllocTimestampRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_AllocTimestampRequest.Merge(m, src)
|
|
}
|
|
func (m *AllocTimestampRequest) XXX_Size() int {
|
|
return xxx_messageInfo_AllocTimestampRequest.Size(m)
|
|
}
|
|
func (m *AllocTimestampRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_AllocTimestampRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_AllocTimestampRequest proto.InternalMessageInfo
|
|
|
|
func (m *AllocTimestampRequest) GetBase() *commonpb.MsgBase {
|
|
if m != nil {
|
|
return m.Base
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *AllocTimestampRequest) GetCount() uint32 {
|
|
if m != nil {
|
|
return m.Count
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type AllocTimestampResponse struct {
|
|
Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
|
|
Timestamp uint64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
|
|
Count uint32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *AllocTimestampResponse) Reset() { *m = AllocTimestampResponse{} }
|
|
func (m *AllocTimestampResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*AllocTimestampResponse) ProtoMessage() {}
|
|
func (*AllocTimestampResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_4513485a144f6b06, []int{1}
|
|
}
|
|
|
|
func (m *AllocTimestampResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_AllocTimestampResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *AllocTimestampResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_AllocTimestampResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *AllocTimestampResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_AllocTimestampResponse.Merge(m, src)
|
|
}
|
|
func (m *AllocTimestampResponse) XXX_Size() int {
|
|
return xxx_messageInfo_AllocTimestampResponse.Size(m)
|
|
}
|
|
func (m *AllocTimestampResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_AllocTimestampResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_AllocTimestampResponse proto.InternalMessageInfo
|
|
|
|
func (m *AllocTimestampResponse) GetStatus() *commonpb.Status {
|
|
if m != nil {
|
|
return m.Status
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *AllocTimestampResponse) GetTimestamp() uint64 {
|
|
if m != nil {
|
|
return m.Timestamp
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *AllocTimestampResponse) GetCount() uint32 {
|
|
if m != nil {
|
|
return m.Count
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type AllocIDRequest struct {
|
|
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
|
|
Count uint32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *AllocIDRequest) Reset() { *m = AllocIDRequest{} }
|
|
func (m *AllocIDRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*AllocIDRequest) ProtoMessage() {}
|
|
func (*AllocIDRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_4513485a144f6b06, []int{2}
|
|
}
|
|
|
|
func (m *AllocIDRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_AllocIDRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *AllocIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_AllocIDRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *AllocIDRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_AllocIDRequest.Merge(m, src)
|
|
}
|
|
func (m *AllocIDRequest) XXX_Size() int {
|
|
return xxx_messageInfo_AllocIDRequest.Size(m)
|
|
}
|
|
func (m *AllocIDRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_AllocIDRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_AllocIDRequest proto.InternalMessageInfo
|
|
|
|
func (m *AllocIDRequest) GetBase() *commonpb.MsgBase {
|
|
if m != nil {
|
|
return m.Base
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *AllocIDRequest) GetCount() uint32 {
|
|
if m != nil {
|
|
return m.Count
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type AllocIDResponse struct {
|
|
Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
|
|
ID int64 `protobuf:"varint,2,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
Count uint32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *AllocIDResponse) Reset() { *m = AllocIDResponse{} }
|
|
func (m *AllocIDResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*AllocIDResponse) ProtoMessage() {}
|
|
func (*AllocIDResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_4513485a144f6b06, []int{3}
|
|
}
|
|
|
|
func (m *AllocIDResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_AllocIDResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *AllocIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_AllocIDResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *AllocIDResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_AllocIDResponse.Merge(m, src)
|
|
}
|
|
func (m *AllocIDResponse) XXX_Size() int {
|
|
return xxx_messageInfo_AllocIDResponse.Size(m)
|
|
}
|
|
func (m *AllocIDResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_AllocIDResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_AllocIDResponse proto.InternalMessageInfo
|
|
|
|
func (m *AllocIDResponse) GetStatus() *commonpb.Status {
|
|
if m != nil {
|
|
return m.Status
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *AllocIDResponse) GetID() int64 {
|
|
if m != nil {
|
|
return m.ID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *AllocIDResponse) GetCount() uint32 {
|
|
if m != nil {
|
|
return m.Count
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ImportResult struct {
|
|
Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
|
|
TaskId int64 `protobuf:"varint,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
|
|
DatanodeId int64 `protobuf:"varint,3,opt,name=datanode_id,json=datanodeId,proto3" json:"datanode_id,omitempty"`
|
|
State commonpb.ImportState `protobuf:"varint,4,opt,name=state,proto3,enum=milvus.proto.common.ImportState" json:"state,omitempty"`
|
|
Segments []int64 `protobuf:"varint,5,rep,packed,name=segments,proto3" json:"segments,omitempty"`
|
|
AutoIds []int64 `protobuf:"varint,6,rep,packed,name=auto_ids,json=autoIds,proto3" json:"auto_ids,omitempty"`
|
|
RowCount int64 `protobuf:"varint,7,opt,name=row_count,json=rowCount,proto3" json:"row_count,omitempty"`
|
|
Infos []*commonpb.KeyValuePair `protobuf:"bytes,8,rep,name=infos,proto3" json:"infos,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ImportResult) Reset() { *m = ImportResult{} }
|
|
func (m *ImportResult) String() string { return proto.CompactTextString(m) }
|
|
func (*ImportResult) ProtoMessage() {}
|
|
func (*ImportResult) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_4513485a144f6b06, []int{4}
|
|
}
|
|
|
|
func (m *ImportResult) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ImportResult.Unmarshal(m, b)
|
|
}
|
|
func (m *ImportResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ImportResult.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *ImportResult) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ImportResult.Merge(m, src)
|
|
}
|
|
func (m *ImportResult) XXX_Size() int {
|
|
return xxx_messageInfo_ImportResult.Size(m)
|
|
}
|
|
func (m *ImportResult) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ImportResult.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ImportResult proto.InternalMessageInfo
|
|
|
|
func (m *ImportResult) GetStatus() *commonpb.Status {
|
|
if m != nil {
|
|
return m.Status
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ImportResult) GetTaskId() int64 {
|
|
if m != nil {
|
|
return m.TaskId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ImportResult) GetDatanodeId() int64 {
|
|
if m != nil {
|
|
return m.DatanodeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ImportResult) GetState() commonpb.ImportState {
|
|
if m != nil {
|
|
return m.State
|
|
}
|
|
return commonpb.ImportState_ImportPending
|
|
}
|
|
|
|
func (m *ImportResult) GetSegments() []int64 {
|
|
if m != nil {
|
|
return m.Segments
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ImportResult) GetAutoIds() []int64 {
|
|
if m != nil {
|
|
return m.AutoIds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ImportResult) GetRowCount() int64 {
|
|
if m != nil {
|
|
return m.RowCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ImportResult) GetInfos() []*commonpb.KeyValuePair {
|
|
if m != nil {
|
|
return m.Infos
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DescribeSegmentsRequest 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"`
|
|
SegmentIDs []int64 `protobuf:"varint,3,rep,packed,name=segmentIDs,proto3" json:"segmentIDs,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *DescribeSegmentsRequest) Reset() { *m = DescribeSegmentsRequest{} }
|
|
func (m *DescribeSegmentsRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*DescribeSegmentsRequest) ProtoMessage() {}
|
|
func (*DescribeSegmentsRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_4513485a144f6b06, []int{5}
|
|
}
|
|
|
|
func (m *DescribeSegmentsRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_DescribeSegmentsRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *DescribeSegmentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_DescribeSegmentsRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *DescribeSegmentsRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_DescribeSegmentsRequest.Merge(m, src)
|
|
}
|
|
func (m *DescribeSegmentsRequest) XXX_Size() int {
|
|
return xxx_messageInfo_DescribeSegmentsRequest.Size(m)
|
|
}
|
|
func (m *DescribeSegmentsRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_DescribeSegmentsRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_DescribeSegmentsRequest proto.InternalMessageInfo
|
|
|
|
func (m *DescribeSegmentsRequest) GetBase() *commonpb.MsgBase {
|
|
if m != nil {
|
|
return m.Base
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *DescribeSegmentsRequest) GetCollectionID() int64 {
|
|
if m != nil {
|
|
return m.CollectionID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *DescribeSegmentsRequest) GetSegmentIDs() []int64 {
|
|
if m != nil {
|
|
return m.SegmentIDs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SegmentBaseInfo struct {
|
|
CollectionID int64 `protobuf:"varint,1,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
|
|
PartitionID int64 `protobuf:"varint,2,opt,name=partitionID,proto3" json:"partitionID,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 *SegmentBaseInfo) Reset() { *m = SegmentBaseInfo{} }
|
|
func (m *SegmentBaseInfo) String() string { return proto.CompactTextString(m) }
|
|
func (*SegmentBaseInfo) ProtoMessage() {}
|
|
func (*SegmentBaseInfo) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_4513485a144f6b06, []int{6}
|
|
}
|
|
|
|
func (m *SegmentBaseInfo) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SegmentBaseInfo.Unmarshal(m, b)
|
|
}
|
|
func (m *SegmentBaseInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SegmentBaseInfo.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *SegmentBaseInfo) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SegmentBaseInfo.Merge(m, src)
|
|
}
|
|
func (m *SegmentBaseInfo) XXX_Size() int {
|
|
return xxx_messageInfo_SegmentBaseInfo.Size(m)
|
|
}
|
|
func (m *SegmentBaseInfo) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SegmentBaseInfo.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SegmentBaseInfo proto.InternalMessageInfo
|
|
|
|
func (m *SegmentBaseInfo) GetCollectionID() int64 {
|
|
if m != nil {
|
|
return m.CollectionID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegmentBaseInfo) GetPartitionID() int64 {
|
|
if m != nil {
|
|
return m.PartitionID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegmentBaseInfo) GetSegmentID() int64 {
|
|
if m != nil {
|
|
return m.SegmentID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type SegmentInfos struct {
|
|
BaseInfo *SegmentBaseInfo `protobuf:"bytes,1,opt,name=base_info,json=baseInfo,proto3" json:"base_info,omitempty"`
|
|
IndexInfos []*etcdpb.SegmentIndexInfo `protobuf:"bytes,2,rep,name=index_infos,json=indexInfos,proto3" json:"index_infos,omitempty"`
|
|
ExtraIndexInfos map[int64]*etcdpb.IndexInfo `protobuf:"bytes,3,rep,name=extra_index_infos,json=extraIndexInfos,proto3" json:"extra_index_infos,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *SegmentInfos) Reset() { *m = SegmentInfos{} }
|
|
func (m *SegmentInfos) String() string { return proto.CompactTextString(m) }
|
|
func (*SegmentInfos) ProtoMessage() {}
|
|
func (*SegmentInfos) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_4513485a144f6b06, []int{7}
|
|
}
|
|
|
|
func (m *SegmentInfos) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SegmentInfos.Unmarshal(m, b)
|
|
}
|
|
func (m *SegmentInfos) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SegmentInfos.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *SegmentInfos) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SegmentInfos.Merge(m, src)
|
|
}
|
|
func (m *SegmentInfos) XXX_Size() int {
|
|
return xxx_messageInfo_SegmentInfos.Size(m)
|
|
}
|
|
func (m *SegmentInfos) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SegmentInfos.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SegmentInfos proto.InternalMessageInfo
|
|
|
|
func (m *SegmentInfos) GetBaseInfo() *SegmentBaseInfo {
|
|
if m != nil {
|
|
return m.BaseInfo
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SegmentInfos) GetIndexInfos() []*etcdpb.SegmentIndexInfo {
|
|
if m != nil {
|
|
return m.IndexInfos
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SegmentInfos) GetExtraIndexInfos() map[int64]*etcdpb.IndexInfo {
|
|
if m != nil {
|
|
return m.ExtraIndexInfos
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DescribeSegmentsResponse struct {
|
|
Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
|
|
CollectionID int64 `protobuf:"varint,2,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
|
|
SegmentInfos map[int64]*SegmentInfos `protobuf:"bytes,3,rep,name=segment_infos,json=segmentInfos,proto3" json:"segment_infos,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *DescribeSegmentsResponse) Reset() { *m = DescribeSegmentsResponse{} }
|
|
func (m *DescribeSegmentsResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*DescribeSegmentsResponse) ProtoMessage() {}
|
|
func (*DescribeSegmentsResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_4513485a144f6b06, []int{8}
|
|
}
|
|
|
|
func (m *DescribeSegmentsResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_DescribeSegmentsResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *DescribeSegmentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_DescribeSegmentsResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *DescribeSegmentsResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_DescribeSegmentsResponse.Merge(m, src)
|
|
}
|
|
func (m *DescribeSegmentsResponse) XXX_Size() int {
|
|
return xxx_messageInfo_DescribeSegmentsResponse.Size(m)
|
|
}
|
|
func (m *DescribeSegmentsResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_DescribeSegmentsResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_DescribeSegmentsResponse proto.InternalMessageInfo
|
|
|
|
func (m *DescribeSegmentsResponse) GetStatus() *commonpb.Status {
|
|
if m != nil {
|
|
return m.Status
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *DescribeSegmentsResponse) GetCollectionID() int64 {
|
|
if m != nil {
|
|
return m.CollectionID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *DescribeSegmentsResponse) GetSegmentInfos() map[int64]*SegmentInfos {
|
|
if m != nil {
|
|
return m.SegmentInfos
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetCredentialRequest struct {
|
|
// Not useful for now
|
|
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
|
|
// username
|
|
Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetCredentialRequest) Reset() { *m = GetCredentialRequest{} }
|
|
func (m *GetCredentialRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*GetCredentialRequest) ProtoMessage() {}
|
|
func (*GetCredentialRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_4513485a144f6b06, []int{9}
|
|
}
|
|
|
|
func (m *GetCredentialRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetCredentialRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *GetCredentialRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetCredentialRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GetCredentialRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetCredentialRequest.Merge(m, src)
|
|
}
|
|
func (m *GetCredentialRequest) XXX_Size() int {
|
|
return xxx_messageInfo_GetCredentialRequest.Size(m)
|
|
}
|
|
func (m *GetCredentialRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetCredentialRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetCredentialRequest proto.InternalMessageInfo
|
|
|
|
func (m *GetCredentialRequest) GetBase() *commonpb.MsgBase {
|
|
if m != nil {
|
|
return m.Base
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *GetCredentialRequest) GetUsername() string {
|
|
if m != nil {
|
|
return m.Username
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetCredentialResponse struct {
|
|
// Contain error_code and reason
|
|
Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
|
|
// username
|
|
Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
|
|
// password
|
|
Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetCredentialResponse) Reset() { *m = GetCredentialResponse{} }
|
|
func (m *GetCredentialResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*GetCredentialResponse) ProtoMessage() {}
|
|
func (*GetCredentialResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_4513485a144f6b06, []int{10}
|
|
}
|
|
|
|
func (m *GetCredentialResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetCredentialResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *GetCredentialResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetCredentialResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GetCredentialResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetCredentialResponse.Merge(m, src)
|
|
}
|
|
func (m *GetCredentialResponse) XXX_Size() int {
|
|
return xxx_messageInfo_GetCredentialResponse.Size(m)
|
|
}
|
|
func (m *GetCredentialResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetCredentialResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetCredentialResponse proto.InternalMessageInfo
|
|
|
|
func (m *GetCredentialResponse) GetStatus() *commonpb.Status {
|
|
if m != nil {
|
|
return m.Status
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *GetCredentialResponse) GetUsername() string {
|
|
if m != nil {
|
|
return m.Username
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *GetCredentialResponse) GetPassword() string {
|
|
if m != nil {
|
|
return m.Password
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterType((*AllocTimestampRequest)(nil), "milvus.proto.rootcoord.AllocTimestampRequest")
|
|
proto.RegisterType((*AllocTimestampResponse)(nil), "milvus.proto.rootcoord.AllocTimestampResponse")
|
|
proto.RegisterType((*AllocIDRequest)(nil), "milvus.proto.rootcoord.AllocIDRequest")
|
|
proto.RegisterType((*AllocIDResponse)(nil), "milvus.proto.rootcoord.AllocIDResponse")
|
|
proto.RegisterType((*ImportResult)(nil), "milvus.proto.rootcoord.ImportResult")
|
|
proto.RegisterType((*DescribeSegmentsRequest)(nil), "milvus.proto.rootcoord.DescribeSegmentsRequest")
|
|
proto.RegisterType((*SegmentBaseInfo)(nil), "milvus.proto.rootcoord.SegmentBaseInfo")
|
|
proto.RegisterType((*SegmentInfos)(nil), "milvus.proto.rootcoord.SegmentInfos")
|
|
proto.RegisterMapType((map[int64]*etcdpb.IndexInfo)(nil), "milvus.proto.rootcoord.SegmentInfos.ExtraIndexInfosEntry")
|
|
proto.RegisterType((*DescribeSegmentsResponse)(nil), "milvus.proto.rootcoord.DescribeSegmentsResponse")
|
|
proto.RegisterMapType((map[int64]*SegmentInfos)(nil), "milvus.proto.rootcoord.DescribeSegmentsResponse.SegmentInfosEntry")
|
|
proto.RegisterType((*GetCredentialRequest)(nil), "milvus.proto.rootcoord.GetCredentialRequest")
|
|
proto.RegisterType((*GetCredentialResponse)(nil), "milvus.proto.rootcoord.GetCredentialResponse")
|
|
}
|
|
|
|
func init() { proto.RegisterFile("root_coord.proto", fileDescriptor_4513485a144f6b06) }
|
|
|
|
var fileDescriptor_4513485a144f6b06 = []byte{
|
|
// 1440 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x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 0xe6, 0x9b, 0x0c, 0x06, 0xcb, 0x7e,
|
|
0xd7, 0x83, 0xff, 0x03, 0x00, 0x00, 0xff, 0xff, 0xec, 0x82, 0x28, 0xae, 0x8d, 0x16, 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
|
|
|
|
// RootCoordClient is the client API for RootCoord service.
|
|
//
|
|
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
|
type RootCoordClient interface {
|
|
GetComponentStates(ctx context.Context, in *internalpb.GetComponentStatesRequest, opts ...grpc.CallOption) (*internalpb.ComponentStates, error)
|
|
GetTimeTickChannel(ctx context.Context, in *internalpb.GetTimeTickChannelRequest, opts ...grpc.CallOption) (*milvuspb.StringResponse, error)
|
|
GetStatisticsChannel(ctx context.Context, in *internalpb.GetStatisticsChannelRequest, opts ...grpc.CallOption) (*milvuspb.StringResponse, error)
|
|
//*
|
|
// @brief This method is used to create collection
|
|
//
|
|
// @param CreateCollectionRequest, use to provide collection information to be created.
|
|
//
|
|
// @return Status
|
|
CreateCollection(ctx context.Context, in *milvuspb.CreateCollectionRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
|
|
//*
|
|
// @brief This method is used to delete collection.
|
|
//
|
|
// @param DropCollectionRequest, collection name is going to be deleted.
|
|
//
|
|
// @return Status
|
|
DropCollection(ctx context.Context, in *milvuspb.DropCollectionRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
|
|
//*
|
|
// @brief This method is used to test collection existence.
|
|
//
|
|
// @param HasCollectionRequest, collection name is going to be tested.
|
|
//
|
|
// @return BoolResponse
|
|
HasCollection(ctx context.Context, in *milvuspb.HasCollectionRequest, opts ...grpc.CallOption) (*milvuspb.BoolResponse, error)
|
|
//*
|
|
// @brief This method is used to get collection schema.
|
|
//
|
|
// @param DescribeCollectionRequest, target collection name.
|
|
//
|
|
// @return CollectionSchema
|
|
DescribeCollection(ctx context.Context, in *milvuspb.DescribeCollectionRequest, opts ...grpc.CallOption) (*milvuspb.DescribeCollectionResponse, error)
|
|
CreateAlias(ctx context.Context, in *milvuspb.CreateAliasRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
|
|
DropAlias(ctx context.Context, in *milvuspb.DropAliasRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
|
|
AlterAlias(ctx context.Context, in *milvuspb.AlterAliasRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
|
|
//*
|
|
// @brief This method is used to list all collections.
|
|
//
|
|
// @return StringListResponse, collection name list
|
|
ShowCollections(ctx context.Context, in *milvuspb.ShowCollectionsRequest, opts ...grpc.CallOption) (*milvuspb.ShowCollectionsResponse, error)
|
|
//*
|
|
// @brief This method is used to create partition
|
|
//
|
|
// @return Status
|
|
CreatePartition(ctx context.Context, in *milvuspb.CreatePartitionRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
|
|
//*
|
|
// @brief This method is used to drop partition
|
|
//
|
|
// @return Status
|
|
DropPartition(ctx context.Context, in *milvuspb.DropPartitionRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
|
|
//*
|
|
// @brief This method is used to test partition existence.
|
|
//
|
|
// @return BoolResponse
|
|
HasPartition(ctx context.Context, in *milvuspb.HasPartitionRequest, opts ...grpc.CallOption) (*milvuspb.BoolResponse, error)
|
|
//*
|
|
// @brief This method is used to show partition information
|
|
//
|
|
// @param ShowPartitionRequest, target collection name.
|
|
//
|
|
// @return StringListResponse
|
|
ShowPartitions(ctx context.Context, in *milvuspb.ShowPartitionsRequest, opts ...grpc.CallOption) (*milvuspb.ShowPartitionsResponse, error)
|
|
DescribeSegment(ctx context.Context, in *milvuspb.DescribeSegmentRequest, opts ...grpc.CallOption) (*milvuspb.DescribeSegmentResponse, error)
|
|
ShowSegments(ctx context.Context, in *milvuspb.ShowSegmentsRequest, opts ...grpc.CallOption) (*milvuspb.ShowSegmentsResponse, error)
|
|
DescribeSegments(ctx context.Context, in *DescribeSegmentsRequest, opts ...grpc.CallOption) (*DescribeSegmentsResponse, error)
|
|
CreateIndex(ctx context.Context, in *milvuspb.CreateIndexRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
|
|
DescribeIndex(ctx context.Context, in *milvuspb.DescribeIndexRequest, opts ...grpc.CallOption) (*milvuspb.DescribeIndexResponse, error)
|
|
DropIndex(ctx context.Context, in *milvuspb.DropIndexRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
|
|
AllocTimestamp(ctx context.Context, in *AllocTimestampRequest, opts ...grpc.CallOption) (*AllocTimestampResponse, error)
|
|
AllocID(ctx context.Context, in *AllocIDRequest, opts ...grpc.CallOption) (*AllocIDResponse, error)
|
|
UpdateChannelTimeTick(ctx context.Context, in *internalpb.ChannelTimeTickMsg, opts ...grpc.CallOption) (*commonpb.Status, error)
|
|
ReleaseDQLMessageStream(ctx context.Context, in *proxypb.ReleaseDQLMessageStreamRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
|
|
SegmentFlushCompleted(ctx context.Context, in *datapb.SegmentFlushCompletedMsg, opts ...grpc.CallOption) (*commonpb.Status, error)
|
|
// https://wiki.lfaidata.foundation/display/MIL/MEP+8+--+Add+metrics+for+proxy
|
|
GetMetrics(ctx context.Context, in *milvuspb.GetMetricsRequest, opts ...grpc.CallOption) (*milvuspb.GetMetricsResponse, error)
|
|
// https://wiki.lfaidata.foundation/display/MIL/MEP+24+--+Support+bulk+load
|
|
Import(ctx context.Context, in *milvuspb.ImportRequest, opts ...grpc.CallOption) (*milvuspb.ImportResponse, error)
|
|
GetImportState(ctx context.Context, in *milvuspb.GetImportStateRequest, opts ...grpc.CallOption) (*milvuspb.GetImportStateResponse, error)
|
|
ListImportTasks(ctx context.Context, in *milvuspb.ListImportTasksRequest, opts ...grpc.CallOption) (*milvuspb.ListImportTasksResponse, error)
|
|
ReportImport(ctx context.Context, in *ImportResult, opts ...grpc.CallOption) (*commonpb.Status, error)
|
|
// https://wiki.lfaidata.foundation/display/MIL/MEP+27+--+Support+Basic+Authentication
|
|
CreateCredential(ctx context.Context, in *internalpb.CredentialInfo, opts ...grpc.CallOption) (*commonpb.Status, error)
|
|
UpdateCredential(ctx context.Context, in *internalpb.CredentialInfo, opts ...grpc.CallOption) (*commonpb.Status, error)
|
|
DeleteCredential(ctx context.Context, in *milvuspb.DeleteCredentialRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
|
|
ListCredUsers(ctx context.Context, in *milvuspb.ListCredUsersRequest, opts ...grpc.CallOption) (*milvuspb.ListCredUsersResponse, error)
|
|
// userd by proxy, not exposed to sdk
|
|
GetCredential(ctx context.Context, in *GetCredentialRequest, opts ...grpc.CallOption) (*GetCredentialResponse, error)
|
|
}
|
|
|
|
type rootCoordClient struct {
|
|
cc *grpc.ClientConn
|
|
}
|
|
|
|
func NewRootCoordClient(cc *grpc.ClientConn) RootCoordClient {
|
|
return &rootCoordClient{cc}
|
|
}
|
|
|
|
func (c *rootCoordClient) GetComponentStates(ctx context.Context, in *internalpb.GetComponentStatesRequest, opts ...grpc.CallOption) (*internalpb.ComponentStates, error) {
|
|
out := new(internalpb.ComponentStates)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.rootcoord.RootCoord/GetComponentStates", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *rootCoordClient) GetTimeTickChannel(ctx context.Context, in *internalpb.GetTimeTickChannelRequest, opts ...grpc.CallOption) (*milvuspb.StringResponse, error) {
|
|
out := new(milvuspb.StringResponse)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.rootcoord.RootCoord/GetTimeTickChannel", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *rootCoordClient) GetStatisticsChannel(ctx context.Context, in *internalpb.GetStatisticsChannelRequest, opts ...grpc.CallOption) (*milvuspb.StringResponse, error) {
|
|
out := new(milvuspb.StringResponse)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.rootcoord.RootCoord/GetStatisticsChannel", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *rootCoordClient) CreateCollection(ctx context.Context, in *milvuspb.CreateCollectionRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
|
|
out := new(commonpb.Status)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.rootcoord.RootCoord/CreateCollection", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *rootCoordClient) DropCollection(ctx context.Context, in *milvuspb.DropCollectionRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
|
|
out := new(commonpb.Status)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.rootcoord.RootCoord/DropCollection", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *rootCoordClient) HasCollection(ctx context.Context, in *milvuspb.HasCollectionRequest, opts ...grpc.CallOption) (*milvuspb.BoolResponse, error) {
|
|
out := new(milvuspb.BoolResponse)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.rootcoord.RootCoord/HasCollection", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *rootCoordClient) DescribeCollection(ctx context.Context, in *milvuspb.DescribeCollectionRequest, opts ...grpc.CallOption) (*milvuspb.DescribeCollectionResponse, error) {
|
|
out := new(milvuspb.DescribeCollectionResponse)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.rootcoord.RootCoord/DescribeCollection", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *rootCoordClient) CreateAlias(ctx context.Context, in *milvuspb.CreateAliasRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
|
|
out := new(commonpb.Status)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.rootcoord.RootCoord/CreateAlias", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *rootCoordClient) DropAlias(ctx context.Context, in *milvuspb.DropAliasRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
|
|
out := new(commonpb.Status)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.rootcoord.RootCoord/DropAlias", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *rootCoordClient) AlterAlias(ctx context.Context, in *milvuspb.AlterAliasRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
|
|
out := new(commonpb.Status)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.rootcoord.RootCoord/AlterAlias", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *rootCoordClient) ShowCollections(ctx context.Context, in *milvuspb.ShowCollectionsRequest, opts ...grpc.CallOption) (*milvuspb.ShowCollectionsResponse, error) {
|
|
out := new(milvuspb.ShowCollectionsResponse)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.rootcoord.RootCoord/ShowCollections", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *rootCoordClient) CreatePartition(ctx context.Context, in *milvuspb.CreatePartitionRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
|
|
out := new(commonpb.Status)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.rootcoord.RootCoord/CreatePartition", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *rootCoordClient) DropPartition(ctx context.Context, in *milvuspb.DropPartitionRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
|
|
out := new(commonpb.Status)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.rootcoord.RootCoord/DropPartition", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *rootCoordClient) HasPartition(ctx context.Context, in *milvuspb.HasPartitionRequest, opts ...grpc.CallOption) (*milvuspb.BoolResponse, error) {
|
|
out := new(milvuspb.BoolResponse)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.rootcoord.RootCoord/HasPartition", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *rootCoordClient) ShowPartitions(ctx context.Context, in *milvuspb.ShowPartitionsRequest, opts ...grpc.CallOption) (*milvuspb.ShowPartitionsResponse, error) {
|
|
out := new(milvuspb.ShowPartitionsResponse)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.rootcoord.RootCoord/ShowPartitions", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *rootCoordClient) DescribeSegment(ctx context.Context, in *milvuspb.DescribeSegmentRequest, opts ...grpc.CallOption) (*milvuspb.DescribeSegmentResponse, error) {
|
|
out := new(milvuspb.DescribeSegmentResponse)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.rootcoord.RootCoord/DescribeSegment", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *rootCoordClient) ShowSegments(ctx context.Context, in *milvuspb.ShowSegmentsRequest, opts ...grpc.CallOption) (*milvuspb.ShowSegmentsResponse, error) {
|
|
out := new(milvuspb.ShowSegmentsResponse)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.rootcoord.RootCoord/ShowSegments", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *rootCoordClient) DescribeSegments(ctx context.Context, in *DescribeSegmentsRequest, opts ...grpc.CallOption) (*DescribeSegmentsResponse, error) {
|
|
out := new(DescribeSegmentsResponse)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.rootcoord.RootCoord/DescribeSegments", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *rootCoordClient) CreateIndex(ctx context.Context, in *milvuspb.CreateIndexRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
|
|
out := new(commonpb.Status)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.rootcoord.RootCoord/CreateIndex", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *rootCoordClient) DescribeIndex(ctx context.Context, in *milvuspb.DescribeIndexRequest, opts ...grpc.CallOption) (*milvuspb.DescribeIndexResponse, error) {
|
|
out := new(milvuspb.DescribeIndexResponse)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.rootcoord.RootCoord/DescribeIndex", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *rootCoordClient) DropIndex(ctx context.Context, in *milvuspb.DropIndexRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
|
|
out := new(commonpb.Status)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.rootcoord.RootCoord/DropIndex", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *rootCoordClient) AllocTimestamp(ctx context.Context, in *AllocTimestampRequest, opts ...grpc.CallOption) (*AllocTimestampResponse, error) {
|
|
out := new(AllocTimestampResponse)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.rootcoord.RootCoord/AllocTimestamp", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *rootCoordClient) AllocID(ctx context.Context, in *AllocIDRequest, opts ...grpc.CallOption) (*AllocIDResponse, error) {
|
|
out := new(AllocIDResponse)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.rootcoord.RootCoord/AllocID", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *rootCoordClient) UpdateChannelTimeTick(ctx context.Context, in *internalpb.ChannelTimeTickMsg, opts ...grpc.CallOption) (*commonpb.Status, error) {
|
|
out := new(commonpb.Status)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.rootcoord.RootCoord/UpdateChannelTimeTick", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *rootCoordClient) ReleaseDQLMessageStream(ctx context.Context, in *proxypb.ReleaseDQLMessageStreamRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
|
|
out := new(commonpb.Status)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.rootcoord.RootCoord/ReleaseDQLMessageStream", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *rootCoordClient) SegmentFlushCompleted(ctx context.Context, in *datapb.SegmentFlushCompletedMsg, opts ...grpc.CallOption) (*commonpb.Status, error) {
|
|
out := new(commonpb.Status)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.rootcoord.RootCoord/SegmentFlushCompleted", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *rootCoordClient) GetMetrics(ctx context.Context, in *milvuspb.GetMetricsRequest, opts ...grpc.CallOption) (*milvuspb.GetMetricsResponse, error) {
|
|
out := new(milvuspb.GetMetricsResponse)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.rootcoord.RootCoord/GetMetrics", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *rootCoordClient) Import(ctx context.Context, in *milvuspb.ImportRequest, opts ...grpc.CallOption) (*milvuspb.ImportResponse, error) {
|
|
out := new(milvuspb.ImportResponse)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.rootcoord.RootCoord/Import", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *rootCoordClient) GetImportState(ctx context.Context, in *milvuspb.GetImportStateRequest, opts ...grpc.CallOption) (*milvuspb.GetImportStateResponse, error) {
|
|
out := new(milvuspb.GetImportStateResponse)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.rootcoord.RootCoord/GetImportState", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *rootCoordClient) ListImportTasks(ctx context.Context, in *milvuspb.ListImportTasksRequest, opts ...grpc.CallOption) (*milvuspb.ListImportTasksResponse, error) {
|
|
out := new(milvuspb.ListImportTasksResponse)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.rootcoord.RootCoord/ListImportTasks", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *rootCoordClient) ReportImport(ctx context.Context, in *ImportResult, opts ...grpc.CallOption) (*commonpb.Status, error) {
|
|
out := new(commonpb.Status)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.rootcoord.RootCoord/ReportImport", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *rootCoordClient) CreateCredential(ctx context.Context, in *internalpb.CredentialInfo, opts ...grpc.CallOption) (*commonpb.Status, error) {
|
|
out := new(commonpb.Status)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.rootcoord.RootCoord/CreateCredential", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *rootCoordClient) UpdateCredential(ctx context.Context, in *internalpb.CredentialInfo, opts ...grpc.CallOption) (*commonpb.Status, error) {
|
|
out := new(commonpb.Status)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.rootcoord.RootCoord/UpdateCredential", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *rootCoordClient) DeleteCredential(ctx context.Context, in *milvuspb.DeleteCredentialRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
|
|
out := new(commonpb.Status)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.rootcoord.RootCoord/DeleteCredential", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *rootCoordClient) ListCredUsers(ctx context.Context, in *milvuspb.ListCredUsersRequest, opts ...grpc.CallOption) (*milvuspb.ListCredUsersResponse, error) {
|
|
out := new(milvuspb.ListCredUsersResponse)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.rootcoord.RootCoord/ListCredUsers", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *rootCoordClient) GetCredential(ctx context.Context, in *GetCredentialRequest, opts ...grpc.CallOption) (*GetCredentialResponse, error) {
|
|
out := new(GetCredentialResponse)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.rootcoord.RootCoord/GetCredential", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
// RootCoordServer is the server API for RootCoord service.
|
|
type RootCoordServer interface {
|
|
GetComponentStates(context.Context, *internalpb.GetComponentStatesRequest) (*internalpb.ComponentStates, error)
|
|
GetTimeTickChannel(context.Context, *internalpb.GetTimeTickChannelRequest) (*milvuspb.StringResponse, error)
|
|
GetStatisticsChannel(context.Context, *internalpb.GetStatisticsChannelRequest) (*milvuspb.StringResponse, error)
|
|
//*
|
|
// @brief This method is used to create collection
|
|
//
|
|
// @param CreateCollectionRequest, use to provide collection information to be created.
|
|
//
|
|
// @return Status
|
|
CreateCollection(context.Context, *milvuspb.CreateCollectionRequest) (*commonpb.Status, error)
|
|
//*
|
|
// @brief This method is used to delete collection.
|
|
//
|
|
// @param DropCollectionRequest, collection name is going to be deleted.
|
|
//
|
|
// @return Status
|
|
DropCollection(context.Context, *milvuspb.DropCollectionRequest) (*commonpb.Status, error)
|
|
//*
|
|
// @brief This method is used to test collection existence.
|
|
//
|
|
// @param HasCollectionRequest, collection name is going to be tested.
|
|
//
|
|
// @return BoolResponse
|
|
HasCollection(context.Context, *milvuspb.HasCollectionRequest) (*milvuspb.BoolResponse, error)
|
|
//*
|
|
// @brief This method is used to get collection schema.
|
|
//
|
|
// @param DescribeCollectionRequest, target collection name.
|
|
//
|
|
// @return CollectionSchema
|
|
DescribeCollection(context.Context, *milvuspb.DescribeCollectionRequest) (*milvuspb.DescribeCollectionResponse, error)
|
|
CreateAlias(context.Context, *milvuspb.CreateAliasRequest) (*commonpb.Status, error)
|
|
DropAlias(context.Context, *milvuspb.DropAliasRequest) (*commonpb.Status, error)
|
|
AlterAlias(context.Context, *milvuspb.AlterAliasRequest) (*commonpb.Status, error)
|
|
//*
|
|
// @brief This method is used to list all collections.
|
|
//
|
|
// @return StringListResponse, collection name list
|
|
ShowCollections(context.Context, *milvuspb.ShowCollectionsRequest) (*milvuspb.ShowCollectionsResponse, error)
|
|
//*
|
|
// @brief This method is used to create partition
|
|
//
|
|
// @return Status
|
|
CreatePartition(context.Context, *milvuspb.CreatePartitionRequest) (*commonpb.Status, error)
|
|
//*
|
|
// @brief This method is used to drop partition
|
|
//
|
|
// @return Status
|
|
DropPartition(context.Context, *milvuspb.DropPartitionRequest) (*commonpb.Status, error)
|
|
//*
|
|
// @brief This method is used to test partition existence.
|
|
//
|
|
// @return BoolResponse
|
|
HasPartition(context.Context, *milvuspb.HasPartitionRequest) (*milvuspb.BoolResponse, error)
|
|
//*
|
|
// @brief This method is used to show partition information
|
|
//
|
|
// @param ShowPartitionRequest, target collection name.
|
|
//
|
|
// @return StringListResponse
|
|
ShowPartitions(context.Context, *milvuspb.ShowPartitionsRequest) (*milvuspb.ShowPartitionsResponse, error)
|
|
DescribeSegment(context.Context, *milvuspb.DescribeSegmentRequest) (*milvuspb.DescribeSegmentResponse, error)
|
|
ShowSegments(context.Context, *milvuspb.ShowSegmentsRequest) (*milvuspb.ShowSegmentsResponse, error)
|
|
DescribeSegments(context.Context, *DescribeSegmentsRequest) (*DescribeSegmentsResponse, error)
|
|
CreateIndex(context.Context, *milvuspb.CreateIndexRequest) (*commonpb.Status, error)
|
|
DescribeIndex(context.Context, *milvuspb.DescribeIndexRequest) (*milvuspb.DescribeIndexResponse, error)
|
|
DropIndex(context.Context, *milvuspb.DropIndexRequest) (*commonpb.Status, error)
|
|
AllocTimestamp(context.Context, *AllocTimestampRequest) (*AllocTimestampResponse, error)
|
|
AllocID(context.Context, *AllocIDRequest) (*AllocIDResponse, error)
|
|
UpdateChannelTimeTick(context.Context, *internalpb.ChannelTimeTickMsg) (*commonpb.Status, error)
|
|
ReleaseDQLMessageStream(context.Context, *proxypb.ReleaseDQLMessageStreamRequest) (*commonpb.Status, error)
|
|
SegmentFlushCompleted(context.Context, *datapb.SegmentFlushCompletedMsg) (*commonpb.Status, error)
|
|
// https://wiki.lfaidata.foundation/display/MIL/MEP+8+--+Add+metrics+for+proxy
|
|
GetMetrics(context.Context, *milvuspb.GetMetricsRequest) (*milvuspb.GetMetricsResponse, error)
|
|
// https://wiki.lfaidata.foundation/display/MIL/MEP+24+--+Support+bulk+load
|
|
Import(context.Context, *milvuspb.ImportRequest) (*milvuspb.ImportResponse, error)
|
|
GetImportState(context.Context, *milvuspb.GetImportStateRequest) (*milvuspb.GetImportStateResponse, error)
|
|
ListImportTasks(context.Context, *milvuspb.ListImportTasksRequest) (*milvuspb.ListImportTasksResponse, error)
|
|
ReportImport(context.Context, *ImportResult) (*commonpb.Status, error)
|
|
// https://wiki.lfaidata.foundation/display/MIL/MEP+27+--+Support+Basic+Authentication
|
|
CreateCredential(context.Context, *internalpb.CredentialInfo) (*commonpb.Status, error)
|
|
UpdateCredential(context.Context, *internalpb.CredentialInfo) (*commonpb.Status, error)
|
|
DeleteCredential(context.Context, *milvuspb.DeleteCredentialRequest) (*commonpb.Status, error)
|
|
ListCredUsers(context.Context, *milvuspb.ListCredUsersRequest) (*milvuspb.ListCredUsersResponse, error)
|
|
// userd by proxy, not exposed to sdk
|
|
GetCredential(context.Context, *GetCredentialRequest) (*GetCredentialResponse, error)
|
|
}
|
|
|
|
// UnimplementedRootCoordServer can be embedded to have forward compatible implementations.
|
|
type UnimplementedRootCoordServer struct {
|
|
}
|
|
|
|
func (*UnimplementedRootCoordServer) GetComponentStates(ctx context.Context, req *internalpb.GetComponentStatesRequest) (*internalpb.ComponentStates, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetComponentStates not implemented")
|
|
}
|
|
func (*UnimplementedRootCoordServer) GetTimeTickChannel(ctx context.Context, req *internalpb.GetTimeTickChannelRequest) (*milvuspb.StringResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetTimeTickChannel not implemented")
|
|
}
|
|
func (*UnimplementedRootCoordServer) GetStatisticsChannel(ctx context.Context, req *internalpb.GetStatisticsChannelRequest) (*milvuspb.StringResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetStatisticsChannel not implemented")
|
|
}
|
|
func (*UnimplementedRootCoordServer) CreateCollection(ctx context.Context, req *milvuspb.CreateCollectionRequest) (*commonpb.Status, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method CreateCollection not implemented")
|
|
}
|
|
func (*UnimplementedRootCoordServer) DropCollection(ctx context.Context, req *milvuspb.DropCollectionRequest) (*commonpb.Status, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method DropCollection not implemented")
|
|
}
|
|
func (*UnimplementedRootCoordServer) HasCollection(ctx context.Context, req *milvuspb.HasCollectionRequest) (*milvuspb.BoolResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method HasCollection not implemented")
|
|
}
|
|
func (*UnimplementedRootCoordServer) DescribeCollection(ctx context.Context, req *milvuspb.DescribeCollectionRequest) (*milvuspb.DescribeCollectionResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method DescribeCollection not implemented")
|
|
}
|
|
func (*UnimplementedRootCoordServer) CreateAlias(ctx context.Context, req *milvuspb.CreateAliasRequest) (*commonpb.Status, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method CreateAlias not implemented")
|
|
}
|
|
func (*UnimplementedRootCoordServer) DropAlias(ctx context.Context, req *milvuspb.DropAliasRequest) (*commonpb.Status, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method DropAlias not implemented")
|
|
}
|
|
func (*UnimplementedRootCoordServer) AlterAlias(ctx context.Context, req *milvuspb.AlterAliasRequest) (*commonpb.Status, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method AlterAlias not implemented")
|
|
}
|
|
func (*UnimplementedRootCoordServer) ShowCollections(ctx context.Context, req *milvuspb.ShowCollectionsRequest) (*milvuspb.ShowCollectionsResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method ShowCollections not implemented")
|
|
}
|
|
func (*UnimplementedRootCoordServer) CreatePartition(ctx context.Context, req *milvuspb.CreatePartitionRequest) (*commonpb.Status, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method CreatePartition not implemented")
|
|
}
|
|
func (*UnimplementedRootCoordServer) DropPartition(ctx context.Context, req *milvuspb.DropPartitionRequest) (*commonpb.Status, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method DropPartition not implemented")
|
|
}
|
|
func (*UnimplementedRootCoordServer) HasPartition(ctx context.Context, req *milvuspb.HasPartitionRequest) (*milvuspb.BoolResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method HasPartition not implemented")
|
|
}
|
|
func (*UnimplementedRootCoordServer) ShowPartitions(ctx context.Context, req *milvuspb.ShowPartitionsRequest) (*milvuspb.ShowPartitionsResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method ShowPartitions not implemented")
|
|
}
|
|
func (*UnimplementedRootCoordServer) DescribeSegment(ctx context.Context, req *milvuspb.DescribeSegmentRequest) (*milvuspb.DescribeSegmentResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method DescribeSegment not implemented")
|
|
}
|
|
func (*UnimplementedRootCoordServer) ShowSegments(ctx context.Context, req *milvuspb.ShowSegmentsRequest) (*milvuspb.ShowSegmentsResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method ShowSegments not implemented")
|
|
}
|
|
func (*UnimplementedRootCoordServer) DescribeSegments(ctx context.Context, req *DescribeSegmentsRequest) (*DescribeSegmentsResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method DescribeSegments not implemented")
|
|
}
|
|
func (*UnimplementedRootCoordServer) CreateIndex(ctx context.Context, req *milvuspb.CreateIndexRequest) (*commonpb.Status, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method CreateIndex not implemented")
|
|
}
|
|
func (*UnimplementedRootCoordServer) DescribeIndex(ctx context.Context, req *milvuspb.DescribeIndexRequest) (*milvuspb.DescribeIndexResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method DescribeIndex not implemented")
|
|
}
|
|
func (*UnimplementedRootCoordServer) DropIndex(ctx context.Context, req *milvuspb.DropIndexRequest) (*commonpb.Status, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method DropIndex not implemented")
|
|
}
|
|
func (*UnimplementedRootCoordServer) AllocTimestamp(ctx context.Context, req *AllocTimestampRequest) (*AllocTimestampResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method AllocTimestamp not implemented")
|
|
}
|
|
func (*UnimplementedRootCoordServer) AllocID(ctx context.Context, req *AllocIDRequest) (*AllocIDResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method AllocID not implemented")
|
|
}
|
|
func (*UnimplementedRootCoordServer) UpdateChannelTimeTick(ctx context.Context, req *internalpb.ChannelTimeTickMsg) (*commonpb.Status, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method UpdateChannelTimeTick not implemented")
|
|
}
|
|
func (*UnimplementedRootCoordServer) ReleaseDQLMessageStream(ctx context.Context, req *proxypb.ReleaseDQLMessageStreamRequest) (*commonpb.Status, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method ReleaseDQLMessageStream not implemented")
|
|
}
|
|
func (*UnimplementedRootCoordServer) SegmentFlushCompleted(ctx context.Context, req *datapb.SegmentFlushCompletedMsg) (*commonpb.Status, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method SegmentFlushCompleted not implemented")
|
|
}
|
|
func (*UnimplementedRootCoordServer) GetMetrics(ctx context.Context, req *milvuspb.GetMetricsRequest) (*milvuspb.GetMetricsResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetMetrics not implemented")
|
|
}
|
|
func (*UnimplementedRootCoordServer) Import(ctx context.Context, req *milvuspb.ImportRequest) (*milvuspb.ImportResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method Import not implemented")
|
|
}
|
|
func (*UnimplementedRootCoordServer) GetImportState(ctx context.Context, req *milvuspb.GetImportStateRequest) (*milvuspb.GetImportStateResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetImportState not implemented")
|
|
}
|
|
func (*UnimplementedRootCoordServer) ListImportTasks(ctx context.Context, req *milvuspb.ListImportTasksRequest) (*milvuspb.ListImportTasksResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method ListImportTasks not implemented")
|
|
}
|
|
func (*UnimplementedRootCoordServer) ReportImport(ctx context.Context, req *ImportResult) (*commonpb.Status, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method ReportImport not implemented")
|
|
}
|
|
func (*UnimplementedRootCoordServer) CreateCredential(ctx context.Context, req *internalpb.CredentialInfo) (*commonpb.Status, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method CreateCredential not implemented")
|
|
}
|
|
func (*UnimplementedRootCoordServer) UpdateCredential(ctx context.Context, req *internalpb.CredentialInfo) (*commonpb.Status, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method UpdateCredential not implemented")
|
|
}
|
|
func (*UnimplementedRootCoordServer) DeleteCredential(ctx context.Context, req *milvuspb.DeleteCredentialRequest) (*commonpb.Status, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method DeleteCredential not implemented")
|
|
}
|
|
func (*UnimplementedRootCoordServer) ListCredUsers(ctx context.Context, req *milvuspb.ListCredUsersRequest) (*milvuspb.ListCredUsersResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method ListCredUsers not implemented")
|
|
}
|
|
func (*UnimplementedRootCoordServer) GetCredential(ctx context.Context, req *GetCredentialRequest) (*GetCredentialResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetCredential not implemented")
|
|
}
|
|
|
|
func RegisterRootCoordServer(s *grpc.Server, srv RootCoordServer) {
|
|
s.RegisterService(&_RootCoord_serviceDesc, srv)
|
|
}
|
|
|
|
func _RootCoord_GetComponentStates_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(internalpb.GetComponentStatesRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(RootCoordServer).GetComponentStates(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.rootcoord.RootCoord/GetComponentStates",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(RootCoordServer).GetComponentStates(ctx, req.(*internalpb.GetComponentStatesRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _RootCoord_GetTimeTickChannel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(internalpb.GetTimeTickChannelRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(RootCoordServer).GetTimeTickChannel(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.rootcoord.RootCoord/GetTimeTickChannel",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(RootCoordServer).GetTimeTickChannel(ctx, req.(*internalpb.GetTimeTickChannelRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _RootCoord_GetStatisticsChannel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(internalpb.GetStatisticsChannelRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(RootCoordServer).GetStatisticsChannel(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.rootcoord.RootCoord/GetStatisticsChannel",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(RootCoordServer).GetStatisticsChannel(ctx, req.(*internalpb.GetStatisticsChannelRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _RootCoord_CreateCollection_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(milvuspb.CreateCollectionRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(RootCoordServer).CreateCollection(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.rootcoord.RootCoord/CreateCollection",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(RootCoordServer).CreateCollection(ctx, req.(*milvuspb.CreateCollectionRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _RootCoord_DropCollection_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(milvuspb.DropCollectionRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(RootCoordServer).DropCollection(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.rootcoord.RootCoord/DropCollection",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(RootCoordServer).DropCollection(ctx, req.(*milvuspb.DropCollectionRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _RootCoord_HasCollection_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(milvuspb.HasCollectionRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(RootCoordServer).HasCollection(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.rootcoord.RootCoord/HasCollection",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(RootCoordServer).HasCollection(ctx, req.(*milvuspb.HasCollectionRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _RootCoord_DescribeCollection_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(milvuspb.DescribeCollectionRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(RootCoordServer).DescribeCollection(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.rootcoord.RootCoord/DescribeCollection",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(RootCoordServer).DescribeCollection(ctx, req.(*milvuspb.DescribeCollectionRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _RootCoord_CreateAlias_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(milvuspb.CreateAliasRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(RootCoordServer).CreateAlias(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.rootcoord.RootCoord/CreateAlias",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(RootCoordServer).CreateAlias(ctx, req.(*milvuspb.CreateAliasRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _RootCoord_DropAlias_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(milvuspb.DropAliasRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(RootCoordServer).DropAlias(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.rootcoord.RootCoord/DropAlias",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(RootCoordServer).DropAlias(ctx, req.(*milvuspb.DropAliasRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _RootCoord_AlterAlias_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(milvuspb.AlterAliasRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(RootCoordServer).AlterAlias(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.rootcoord.RootCoord/AlterAlias",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(RootCoordServer).AlterAlias(ctx, req.(*milvuspb.AlterAliasRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _RootCoord_ShowCollections_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(milvuspb.ShowCollectionsRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(RootCoordServer).ShowCollections(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.rootcoord.RootCoord/ShowCollections",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(RootCoordServer).ShowCollections(ctx, req.(*milvuspb.ShowCollectionsRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _RootCoord_CreatePartition_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(milvuspb.CreatePartitionRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(RootCoordServer).CreatePartition(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.rootcoord.RootCoord/CreatePartition",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(RootCoordServer).CreatePartition(ctx, req.(*milvuspb.CreatePartitionRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _RootCoord_DropPartition_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(milvuspb.DropPartitionRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(RootCoordServer).DropPartition(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.rootcoord.RootCoord/DropPartition",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(RootCoordServer).DropPartition(ctx, req.(*milvuspb.DropPartitionRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _RootCoord_HasPartition_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(milvuspb.HasPartitionRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(RootCoordServer).HasPartition(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.rootcoord.RootCoord/HasPartition",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(RootCoordServer).HasPartition(ctx, req.(*milvuspb.HasPartitionRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _RootCoord_ShowPartitions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(milvuspb.ShowPartitionsRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(RootCoordServer).ShowPartitions(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.rootcoord.RootCoord/ShowPartitions",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(RootCoordServer).ShowPartitions(ctx, req.(*milvuspb.ShowPartitionsRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _RootCoord_DescribeSegment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(milvuspb.DescribeSegmentRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(RootCoordServer).DescribeSegment(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.rootcoord.RootCoord/DescribeSegment",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(RootCoordServer).DescribeSegment(ctx, req.(*milvuspb.DescribeSegmentRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _RootCoord_ShowSegments_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(milvuspb.ShowSegmentsRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(RootCoordServer).ShowSegments(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.rootcoord.RootCoord/ShowSegments",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(RootCoordServer).ShowSegments(ctx, req.(*milvuspb.ShowSegmentsRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _RootCoord_DescribeSegments_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(DescribeSegmentsRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(RootCoordServer).DescribeSegments(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.rootcoord.RootCoord/DescribeSegments",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(RootCoordServer).DescribeSegments(ctx, req.(*DescribeSegmentsRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _RootCoord_CreateIndex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(milvuspb.CreateIndexRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(RootCoordServer).CreateIndex(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.rootcoord.RootCoord/CreateIndex",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(RootCoordServer).CreateIndex(ctx, req.(*milvuspb.CreateIndexRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _RootCoord_DescribeIndex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(milvuspb.DescribeIndexRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(RootCoordServer).DescribeIndex(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.rootcoord.RootCoord/DescribeIndex",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(RootCoordServer).DescribeIndex(ctx, req.(*milvuspb.DescribeIndexRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _RootCoord_DropIndex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(milvuspb.DropIndexRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(RootCoordServer).DropIndex(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.rootcoord.RootCoord/DropIndex",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(RootCoordServer).DropIndex(ctx, req.(*milvuspb.DropIndexRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _RootCoord_AllocTimestamp_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(AllocTimestampRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(RootCoordServer).AllocTimestamp(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.rootcoord.RootCoord/AllocTimestamp",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(RootCoordServer).AllocTimestamp(ctx, req.(*AllocTimestampRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _RootCoord_AllocID_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(AllocIDRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(RootCoordServer).AllocID(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.rootcoord.RootCoord/AllocID",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(RootCoordServer).AllocID(ctx, req.(*AllocIDRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _RootCoord_UpdateChannelTimeTick_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(internalpb.ChannelTimeTickMsg)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(RootCoordServer).UpdateChannelTimeTick(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.rootcoord.RootCoord/UpdateChannelTimeTick",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(RootCoordServer).UpdateChannelTimeTick(ctx, req.(*internalpb.ChannelTimeTickMsg))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _RootCoord_ReleaseDQLMessageStream_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(proxypb.ReleaseDQLMessageStreamRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(RootCoordServer).ReleaseDQLMessageStream(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.rootcoord.RootCoord/ReleaseDQLMessageStream",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(RootCoordServer).ReleaseDQLMessageStream(ctx, req.(*proxypb.ReleaseDQLMessageStreamRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _RootCoord_SegmentFlushCompleted_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(datapb.SegmentFlushCompletedMsg)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(RootCoordServer).SegmentFlushCompleted(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.rootcoord.RootCoord/SegmentFlushCompleted",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(RootCoordServer).SegmentFlushCompleted(ctx, req.(*datapb.SegmentFlushCompletedMsg))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _RootCoord_GetMetrics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(milvuspb.GetMetricsRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(RootCoordServer).GetMetrics(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.rootcoord.RootCoord/GetMetrics",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(RootCoordServer).GetMetrics(ctx, req.(*milvuspb.GetMetricsRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _RootCoord_Import_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(milvuspb.ImportRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(RootCoordServer).Import(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.rootcoord.RootCoord/Import",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(RootCoordServer).Import(ctx, req.(*milvuspb.ImportRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _RootCoord_GetImportState_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(milvuspb.GetImportStateRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(RootCoordServer).GetImportState(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.rootcoord.RootCoord/GetImportState",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(RootCoordServer).GetImportState(ctx, req.(*milvuspb.GetImportStateRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _RootCoord_ListImportTasks_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(milvuspb.ListImportTasksRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(RootCoordServer).ListImportTasks(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.rootcoord.RootCoord/ListImportTasks",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(RootCoordServer).ListImportTasks(ctx, req.(*milvuspb.ListImportTasksRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _RootCoord_ReportImport_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(ImportResult)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(RootCoordServer).ReportImport(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.rootcoord.RootCoord/ReportImport",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(RootCoordServer).ReportImport(ctx, req.(*ImportResult))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _RootCoord_CreateCredential_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(internalpb.CredentialInfo)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(RootCoordServer).CreateCredential(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.rootcoord.RootCoord/CreateCredential",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(RootCoordServer).CreateCredential(ctx, req.(*internalpb.CredentialInfo))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _RootCoord_UpdateCredential_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(internalpb.CredentialInfo)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(RootCoordServer).UpdateCredential(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.rootcoord.RootCoord/UpdateCredential",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(RootCoordServer).UpdateCredential(ctx, req.(*internalpb.CredentialInfo))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _RootCoord_DeleteCredential_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(milvuspb.DeleteCredentialRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(RootCoordServer).DeleteCredential(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.rootcoord.RootCoord/DeleteCredential",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(RootCoordServer).DeleteCredential(ctx, req.(*milvuspb.DeleteCredentialRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _RootCoord_ListCredUsers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(milvuspb.ListCredUsersRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(RootCoordServer).ListCredUsers(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.rootcoord.RootCoord/ListCredUsers",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(RootCoordServer).ListCredUsers(ctx, req.(*milvuspb.ListCredUsersRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _RootCoord_GetCredential_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetCredentialRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(RootCoordServer).GetCredential(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.rootcoord.RootCoord/GetCredential",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(RootCoordServer).GetCredential(ctx, req.(*GetCredentialRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
var _RootCoord_serviceDesc = grpc.ServiceDesc{
|
|
ServiceName: "milvus.proto.rootcoord.RootCoord",
|
|
HandlerType: (*RootCoordServer)(nil),
|
|
Methods: []grpc.MethodDesc{
|
|
{
|
|
MethodName: "GetComponentStates",
|
|
Handler: _RootCoord_GetComponentStates_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetTimeTickChannel",
|
|
Handler: _RootCoord_GetTimeTickChannel_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetStatisticsChannel",
|
|
Handler: _RootCoord_GetStatisticsChannel_Handler,
|
|
},
|
|
{
|
|
MethodName: "CreateCollection",
|
|
Handler: _RootCoord_CreateCollection_Handler,
|
|
},
|
|
{
|
|
MethodName: "DropCollection",
|
|
Handler: _RootCoord_DropCollection_Handler,
|
|
},
|
|
{
|
|
MethodName: "HasCollection",
|
|
Handler: _RootCoord_HasCollection_Handler,
|
|
},
|
|
{
|
|
MethodName: "DescribeCollection",
|
|
Handler: _RootCoord_DescribeCollection_Handler,
|
|
},
|
|
{
|
|
MethodName: "CreateAlias",
|
|
Handler: _RootCoord_CreateAlias_Handler,
|
|
},
|
|
{
|
|
MethodName: "DropAlias",
|
|
Handler: _RootCoord_DropAlias_Handler,
|
|
},
|
|
{
|
|
MethodName: "AlterAlias",
|
|
Handler: _RootCoord_AlterAlias_Handler,
|
|
},
|
|
{
|
|
MethodName: "ShowCollections",
|
|
Handler: _RootCoord_ShowCollections_Handler,
|
|
},
|
|
{
|
|
MethodName: "CreatePartition",
|
|
Handler: _RootCoord_CreatePartition_Handler,
|
|
},
|
|
{
|
|
MethodName: "DropPartition",
|
|
Handler: _RootCoord_DropPartition_Handler,
|
|
},
|
|
{
|
|
MethodName: "HasPartition",
|
|
Handler: _RootCoord_HasPartition_Handler,
|
|
},
|
|
{
|
|
MethodName: "ShowPartitions",
|
|
Handler: _RootCoord_ShowPartitions_Handler,
|
|
},
|
|
{
|
|
MethodName: "DescribeSegment",
|
|
Handler: _RootCoord_DescribeSegment_Handler,
|
|
},
|
|
{
|
|
MethodName: "ShowSegments",
|
|
Handler: _RootCoord_ShowSegments_Handler,
|
|
},
|
|
{
|
|
MethodName: "DescribeSegments",
|
|
Handler: _RootCoord_DescribeSegments_Handler,
|
|
},
|
|
{
|
|
MethodName: "CreateIndex",
|
|
Handler: _RootCoord_CreateIndex_Handler,
|
|
},
|
|
{
|
|
MethodName: "DescribeIndex",
|
|
Handler: _RootCoord_DescribeIndex_Handler,
|
|
},
|
|
{
|
|
MethodName: "DropIndex",
|
|
Handler: _RootCoord_DropIndex_Handler,
|
|
},
|
|
{
|
|
MethodName: "AllocTimestamp",
|
|
Handler: _RootCoord_AllocTimestamp_Handler,
|
|
},
|
|
{
|
|
MethodName: "AllocID",
|
|
Handler: _RootCoord_AllocID_Handler,
|
|
},
|
|
{
|
|
MethodName: "UpdateChannelTimeTick",
|
|
Handler: _RootCoord_UpdateChannelTimeTick_Handler,
|
|
},
|
|
{
|
|
MethodName: "ReleaseDQLMessageStream",
|
|
Handler: _RootCoord_ReleaseDQLMessageStream_Handler,
|
|
},
|
|
{
|
|
MethodName: "SegmentFlushCompleted",
|
|
Handler: _RootCoord_SegmentFlushCompleted_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetMetrics",
|
|
Handler: _RootCoord_GetMetrics_Handler,
|
|
},
|
|
{
|
|
MethodName: "Import",
|
|
Handler: _RootCoord_Import_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetImportState",
|
|
Handler: _RootCoord_GetImportState_Handler,
|
|
},
|
|
{
|
|
MethodName: "ListImportTasks",
|
|
Handler: _RootCoord_ListImportTasks_Handler,
|
|
},
|
|
{
|
|
MethodName: "ReportImport",
|
|
Handler: _RootCoord_ReportImport_Handler,
|
|
},
|
|
{
|
|
MethodName: "CreateCredential",
|
|
Handler: _RootCoord_CreateCredential_Handler,
|
|
},
|
|
{
|
|
MethodName: "UpdateCredential",
|
|
Handler: _RootCoord_UpdateCredential_Handler,
|
|
},
|
|
{
|
|
MethodName: "DeleteCredential",
|
|
Handler: _RootCoord_DeleteCredential_Handler,
|
|
},
|
|
{
|
|
MethodName: "ListCredUsers",
|
|
Handler: _RootCoord_ListCredUsers_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetCredential",
|
|
Handler: _RootCoord_GetCredential_Handler,
|
|
},
|
|
},
|
|
Streams: []grpc.StreamDesc{},
|
|
Metadata: "root_coord.proto",
|
|
}
|