mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-04 21:09:06 +08:00
c58a8d8fd6
Signed-off-by: cai.zhang <cai.zhang@zilliz.com> Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2888 lines
110 KiB
Go
2888 lines
110 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// source: index_coord.proto
|
|
|
|
package indexpb
|
|
|
|
import (
|
|
context "context"
|
|
fmt "fmt"
|
|
proto "github.com/golang/protobuf/proto"
|
|
commonpb "github.com/milvus-io/milvus/api/commonpb"
|
|
milvuspb "github.com/milvus-io/milvus/api/milvuspb"
|
|
internalpb "github.com/milvus-io/milvus/internal/proto/internalpb"
|
|
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 IndexInfo struct {
|
|
CollectionID int64 `protobuf:"varint,1,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
|
|
FieldID int64 `protobuf:"varint,2,opt,name=fieldID,proto3" json:"fieldID,omitempty"`
|
|
IndexName string `protobuf:"bytes,3,opt,name=index_name,json=indexName,proto3" json:"index_name,omitempty"`
|
|
IndexID int64 `protobuf:"varint,4,opt,name=indexID,proto3" json:"indexID,omitempty"`
|
|
TypeParams []*commonpb.KeyValuePair `protobuf:"bytes,5,rep,name=type_params,json=typeParams,proto3" json:"type_params,omitempty"`
|
|
IndexParams []*commonpb.KeyValuePair `protobuf:"bytes,6,rep,name=index_params,json=indexParams,proto3" json:"index_params,omitempty"`
|
|
// index build progress
|
|
IndexedRows int64 `protobuf:"varint,7,opt,name=indexed_rows,json=indexedRows,proto3" json:"indexed_rows,omitempty"`
|
|
TotalRows int64 `protobuf:"varint,8,opt,name=total_rows,json=totalRows,proto3" json:"total_rows,omitempty"`
|
|
// index state
|
|
State commonpb.IndexState `protobuf:"varint,9,opt,name=state,proto3,enum=milvus.proto.common.IndexState" json:"state,omitempty"`
|
|
IndexStateFailReason string `protobuf:"bytes,10,opt,name=index_state_fail_reason,json=indexStateFailReason,proto3" json:"index_state_fail_reason,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *IndexInfo) Reset() { *m = IndexInfo{} }
|
|
func (m *IndexInfo) String() string { return proto.CompactTextString(m) }
|
|
func (*IndexInfo) ProtoMessage() {}
|
|
func (*IndexInfo) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_f9e019eb3fda53c2, []int{0}
|
|
}
|
|
|
|
func (m *IndexInfo) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_IndexInfo.Unmarshal(m, b)
|
|
}
|
|
func (m *IndexInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_IndexInfo.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *IndexInfo) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_IndexInfo.Merge(m, src)
|
|
}
|
|
func (m *IndexInfo) XXX_Size() int {
|
|
return xxx_messageInfo_IndexInfo.Size(m)
|
|
}
|
|
func (m *IndexInfo) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_IndexInfo.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_IndexInfo proto.InternalMessageInfo
|
|
|
|
func (m *IndexInfo) GetCollectionID() int64 {
|
|
if m != nil {
|
|
return m.CollectionID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *IndexInfo) GetFieldID() int64 {
|
|
if m != nil {
|
|
return m.FieldID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *IndexInfo) GetIndexName() string {
|
|
if m != nil {
|
|
return m.IndexName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *IndexInfo) GetIndexID() int64 {
|
|
if m != nil {
|
|
return m.IndexID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *IndexInfo) GetTypeParams() []*commonpb.KeyValuePair {
|
|
if m != nil {
|
|
return m.TypeParams
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *IndexInfo) GetIndexParams() []*commonpb.KeyValuePair {
|
|
if m != nil {
|
|
return m.IndexParams
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *IndexInfo) GetIndexedRows() int64 {
|
|
if m != nil {
|
|
return m.IndexedRows
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *IndexInfo) GetTotalRows() int64 {
|
|
if m != nil {
|
|
return m.TotalRows
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *IndexInfo) GetState() commonpb.IndexState {
|
|
if m != nil {
|
|
return m.State
|
|
}
|
|
return commonpb.IndexState_IndexStateNone
|
|
}
|
|
|
|
func (m *IndexInfo) GetIndexStateFailReason() string {
|
|
if m != nil {
|
|
return m.IndexStateFailReason
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type FieldIndex struct {
|
|
IndexInfo *IndexInfo `protobuf:"bytes,1,opt,name=index_info,json=indexInfo,proto3" json:"index_info,omitempty"`
|
|
Deleted bool `protobuf:"varint,2,opt,name=deleted,proto3" json:"deleted,omitempty"`
|
|
CreateTime uint64 `protobuf:"varint,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *FieldIndex) Reset() { *m = FieldIndex{} }
|
|
func (m *FieldIndex) String() string { return proto.CompactTextString(m) }
|
|
func (*FieldIndex) ProtoMessage() {}
|
|
func (*FieldIndex) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_f9e019eb3fda53c2, []int{1}
|
|
}
|
|
|
|
func (m *FieldIndex) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_FieldIndex.Unmarshal(m, b)
|
|
}
|
|
func (m *FieldIndex) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_FieldIndex.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *FieldIndex) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_FieldIndex.Merge(m, src)
|
|
}
|
|
func (m *FieldIndex) XXX_Size() int {
|
|
return xxx_messageInfo_FieldIndex.Size(m)
|
|
}
|
|
func (m *FieldIndex) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_FieldIndex.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_FieldIndex proto.InternalMessageInfo
|
|
|
|
func (m *FieldIndex) GetIndexInfo() *IndexInfo {
|
|
if m != nil {
|
|
return m.IndexInfo
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *FieldIndex) GetDeleted() bool {
|
|
if m != nil {
|
|
return m.Deleted
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (m *FieldIndex) GetCreateTime() uint64 {
|
|
if m != nil {
|
|
return m.CreateTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type SegmentIndex 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"`
|
|
NumRows int64 `protobuf:"varint,4,opt,name=num_rows,json=numRows,proto3" json:"num_rows,omitempty"`
|
|
IndexID int64 `protobuf:"varint,5,opt,name=indexID,proto3" json:"indexID,omitempty"`
|
|
BuildID int64 `protobuf:"varint,6,opt,name=buildID,proto3" json:"buildID,omitempty"`
|
|
NodeID int64 `protobuf:"varint,7,opt,name=nodeID,proto3" json:"nodeID,omitempty"`
|
|
IndexVersion int64 `protobuf:"varint,8,opt,name=index_version,json=indexVersion,proto3" json:"index_version,omitempty"`
|
|
State commonpb.IndexState `protobuf:"varint,9,opt,name=state,proto3,enum=milvus.proto.common.IndexState" json:"state,omitempty"`
|
|
FailReason string `protobuf:"bytes,10,opt,name=fail_reason,json=failReason,proto3" json:"fail_reason,omitempty"`
|
|
IndexFilesPaths []string `protobuf:"bytes,11,rep,name=index_files_paths,json=indexFilesPaths,proto3" json:"index_files_paths,omitempty"`
|
|
Deleted bool `protobuf:"varint,12,opt,name=deleted,proto3" json:"deleted,omitempty"`
|
|
CreateTime uint64 `protobuf:"varint,13,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
|
|
SerializeSize uint64 `protobuf:"varint,14,opt,name=serialize_size,json=serializeSize,proto3" json:"serialize_size,omitempty"`
|
|
WriteHandoff bool `protobuf:"varint,15,opt,name=write_handoff,json=writeHandoff,proto3" json:"write_handoff,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *SegmentIndex) Reset() { *m = SegmentIndex{} }
|
|
func (m *SegmentIndex) String() string { return proto.CompactTextString(m) }
|
|
func (*SegmentIndex) ProtoMessage() {}
|
|
func (*SegmentIndex) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_f9e019eb3fda53c2, []int{2}
|
|
}
|
|
|
|
func (m *SegmentIndex) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SegmentIndex.Unmarshal(m, b)
|
|
}
|
|
func (m *SegmentIndex) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SegmentIndex.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *SegmentIndex) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SegmentIndex.Merge(m, src)
|
|
}
|
|
func (m *SegmentIndex) XXX_Size() int {
|
|
return xxx_messageInfo_SegmentIndex.Size(m)
|
|
}
|
|
func (m *SegmentIndex) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SegmentIndex.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SegmentIndex proto.InternalMessageInfo
|
|
|
|
func (m *SegmentIndex) GetCollectionID() int64 {
|
|
if m != nil {
|
|
return m.CollectionID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegmentIndex) GetPartitionID() int64 {
|
|
if m != nil {
|
|
return m.PartitionID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegmentIndex) GetSegmentID() int64 {
|
|
if m != nil {
|
|
return m.SegmentID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegmentIndex) GetNumRows() int64 {
|
|
if m != nil {
|
|
return m.NumRows
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegmentIndex) GetIndexID() int64 {
|
|
if m != nil {
|
|
return m.IndexID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegmentIndex) GetBuildID() int64 {
|
|
if m != nil {
|
|
return m.BuildID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegmentIndex) GetNodeID() int64 {
|
|
if m != nil {
|
|
return m.NodeID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegmentIndex) GetIndexVersion() int64 {
|
|
if m != nil {
|
|
return m.IndexVersion
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegmentIndex) GetState() commonpb.IndexState {
|
|
if m != nil {
|
|
return m.State
|
|
}
|
|
return commonpb.IndexState_IndexStateNone
|
|
}
|
|
|
|
func (m *SegmentIndex) GetFailReason() string {
|
|
if m != nil {
|
|
return m.FailReason
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *SegmentIndex) GetIndexFilesPaths() []string {
|
|
if m != nil {
|
|
return m.IndexFilesPaths
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SegmentIndex) GetDeleted() bool {
|
|
if m != nil {
|
|
return m.Deleted
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (m *SegmentIndex) GetCreateTime() uint64 {
|
|
if m != nil {
|
|
return m.CreateTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegmentIndex) GetSerializeSize() uint64 {
|
|
if m != nil {
|
|
return m.SerializeSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegmentIndex) GetWriteHandoff() bool {
|
|
if m != nil {
|
|
return m.WriteHandoff
|
|
}
|
|
return false
|
|
}
|
|
|
|
type RegisterNodeRequest struct {
|
|
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
|
|
Address *commonpb.Address `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
|
|
NodeID int64 `protobuf:"varint,3,opt,name=nodeID,proto3" json:"nodeID,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *RegisterNodeRequest) Reset() { *m = RegisterNodeRequest{} }
|
|
func (m *RegisterNodeRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*RegisterNodeRequest) ProtoMessage() {}
|
|
func (*RegisterNodeRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_f9e019eb3fda53c2, []int{3}
|
|
}
|
|
|
|
func (m *RegisterNodeRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_RegisterNodeRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *RegisterNodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_RegisterNodeRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *RegisterNodeRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_RegisterNodeRequest.Merge(m, src)
|
|
}
|
|
func (m *RegisterNodeRequest) XXX_Size() int {
|
|
return xxx_messageInfo_RegisterNodeRequest.Size(m)
|
|
}
|
|
func (m *RegisterNodeRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_RegisterNodeRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_RegisterNodeRequest proto.InternalMessageInfo
|
|
|
|
func (m *RegisterNodeRequest) GetBase() *commonpb.MsgBase {
|
|
if m != nil {
|
|
return m.Base
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *RegisterNodeRequest) GetAddress() *commonpb.Address {
|
|
if m != nil {
|
|
return m.Address
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *RegisterNodeRequest) GetNodeID() int64 {
|
|
if m != nil {
|
|
return m.NodeID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type RegisterNodeResponse struct {
|
|
Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
|
|
InitParams *internalpb.InitParams `protobuf:"bytes,2,opt,name=init_params,json=initParams,proto3" json:"init_params,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *RegisterNodeResponse) Reset() { *m = RegisterNodeResponse{} }
|
|
func (m *RegisterNodeResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*RegisterNodeResponse) ProtoMessage() {}
|
|
func (*RegisterNodeResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_f9e019eb3fda53c2, []int{4}
|
|
}
|
|
|
|
func (m *RegisterNodeResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_RegisterNodeResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *RegisterNodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_RegisterNodeResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *RegisterNodeResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_RegisterNodeResponse.Merge(m, src)
|
|
}
|
|
func (m *RegisterNodeResponse) XXX_Size() int {
|
|
return xxx_messageInfo_RegisterNodeResponse.Size(m)
|
|
}
|
|
func (m *RegisterNodeResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_RegisterNodeResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_RegisterNodeResponse proto.InternalMessageInfo
|
|
|
|
func (m *RegisterNodeResponse) GetStatus() *commonpb.Status {
|
|
if m != nil {
|
|
return m.Status
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *RegisterNodeResponse) GetInitParams() *internalpb.InitParams {
|
|
if m != nil {
|
|
return m.InitParams
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetIndexStateRequest struct {
|
|
CollectionID int64 `protobuf:"varint,1,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
|
|
IndexName string `protobuf:"bytes,2,opt,name=index_name,json=indexName,proto3" json:"index_name,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetIndexStateRequest) Reset() { *m = GetIndexStateRequest{} }
|
|
func (m *GetIndexStateRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*GetIndexStateRequest) ProtoMessage() {}
|
|
func (*GetIndexStateRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_f9e019eb3fda53c2, []int{5}
|
|
}
|
|
|
|
func (m *GetIndexStateRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetIndexStateRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *GetIndexStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetIndexStateRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GetIndexStateRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetIndexStateRequest.Merge(m, src)
|
|
}
|
|
func (m *GetIndexStateRequest) XXX_Size() int {
|
|
return xxx_messageInfo_GetIndexStateRequest.Size(m)
|
|
}
|
|
func (m *GetIndexStateRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetIndexStateRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetIndexStateRequest proto.InternalMessageInfo
|
|
|
|
func (m *GetIndexStateRequest) GetCollectionID() int64 {
|
|
if m != nil {
|
|
return m.CollectionID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *GetIndexStateRequest) GetIndexName() string {
|
|
if m != nil {
|
|
return m.IndexName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetIndexStateResponse struct {
|
|
Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
|
|
State commonpb.IndexState `protobuf:"varint,2,opt,name=state,proto3,enum=milvus.proto.common.IndexState" json:"state,omitempty"`
|
|
FailReason string `protobuf:"bytes,3,opt,name=fail_reason,json=failReason,proto3" json:"fail_reason,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetIndexStateResponse) Reset() { *m = GetIndexStateResponse{} }
|
|
func (m *GetIndexStateResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*GetIndexStateResponse) ProtoMessage() {}
|
|
func (*GetIndexStateResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_f9e019eb3fda53c2, []int{6}
|
|
}
|
|
|
|
func (m *GetIndexStateResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetIndexStateResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *GetIndexStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetIndexStateResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GetIndexStateResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetIndexStateResponse.Merge(m, src)
|
|
}
|
|
func (m *GetIndexStateResponse) XXX_Size() int {
|
|
return xxx_messageInfo_GetIndexStateResponse.Size(m)
|
|
}
|
|
func (m *GetIndexStateResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetIndexStateResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetIndexStateResponse proto.InternalMessageInfo
|
|
|
|
func (m *GetIndexStateResponse) GetStatus() *commonpb.Status {
|
|
if m != nil {
|
|
return m.Status
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *GetIndexStateResponse) GetState() commonpb.IndexState {
|
|
if m != nil {
|
|
return m.State
|
|
}
|
|
return commonpb.IndexState_IndexStateNone
|
|
}
|
|
|
|
func (m *GetIndexStateResponse) GetFailReason() string {
|
|
if m != nil {
|
|
return m.FailReason
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetSegmentIndexStateRequest struct {
|
|
CollectionID int64 `protobuf:"varint,1,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
|
|
IndexName string `protobuf:"bytes,2,opt,name=index_name,json=indexName,proto3" json:"index_name,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 *GetSegmentIndexStateRequest) Reset() { *m = GetSegmentIndexStateRequest{} }
|
|
func (m *GetSegmentIndexStateRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*GetSegmentIndexStateRequest) ProtoMessage() {}
|
|
func (*GetSegmentIndexStateRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_f9e019eb3fda53c2, []int{7}
|
|
}
|
|
|
|
func (m *GetSegmentIndexStateRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetSegmentIndexStateRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *GetSegmentIndexStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetSegmentIndexStateRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GetSegmentIndexStateRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetSegmentIndexStateRequest.Merge(m, src)
|
|
}
|
|
func (m *GetSegmentIndexStateRequest) XXX_Size() int {
|
|
return xxx_messageInfo_GetSegmentIndexStateRequest.Size(m)
|
|
}
|
|
func (m *GetSegmentIndexStateRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetSegmentIndexStateRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetSegmentIndexStateRequest proto.InternalMessageInfo
|
|
|
|
func (m *GetSegmentIndexStateRequest) GetCollectionID() int64 {
|
|
if m != nil {
|
|
return m.CollectionID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *GetSegmentIndexStateRequest) GetIndexName() string {
|
|
if m != nil {
|
|
return m.IndexName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *GetSegmentIndexStateRequest) GetSegmentIDs() []int64 {
|
|
if m != nil {
|
|
return m.SegmentIDs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SegmentIndexState struct {
|
|
SegmentID int64 `protobuf:"varint,1,opt,name=segmentID,proto3" json:"segmentID,omitempty"`
|
|
State commonpb.IndexState `protobuf:"varint,2,opt,name=state,proto3,enum=milvus.proto.common.IndexState" json:"state,omitempty"`
|
|
FailReason string `protobuf:"bytes,3,opt,name=fail_reason,json=failReason,proto3" json:"fail_reason,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *SegmentIndexState) Reset() { *m = SegmentIndexState{} }
|
|
func (m *SegmentIndexState) String() string { return proto.CompactTextString(m) }
|
|
func (*SegmentIndexState) ProtoMessage() {}
|
|
func (*SegmentIndexState) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_f9e019eb3fda53c2, []int{8}
|
|
}
|
|
|
|
func (m *SegmentIndexState) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SegmentIndexState.Unmarshal(m, b)
|
|
}
|
|
func (m *SegmentIndexState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SegmentIndexState.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *SegmentIndexState) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SegmentIndexState.Merge(m, src)
|
|
}
|
|
func (m *SegmentIndexState) XXX_Size() int {
|
|
return xxx_messageInfo_SegmentIndexState.Size(m)
|
|
}
|
|
func (m *SegmentIndexState) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SegmentIndexState.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SegmentIndexState proto.InternalMessageInfo
|
|
|
|
func (m *SegmentIndexState) GetSegmentID() int64 {
|
|
if m != nil {
|
|
return m.SegmentID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegmentIndexState) GetState() commonpb.IndexState {
|
|
if m != nil {
|
|
return m.State
|
|
}
|
|
return commonpb.IndexState_IndexStateNone
|
|
}
|
|
|
|
func (m *SegmentIndexState) GetFailReason() string {
|
|
if m != nil {
|
|
return m.FailReason
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetSegmentIndexStateResponse struct {
|
|
Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
|
|
States []*SegmentIndexState `protobuf:"bytes,2,rep,name=states,proto3" json:"states,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetSegmentIndexStateResponse) Reset() { *m = GetSegmentIndexStateResponse{} }
|
|
func (m *GetSegmentIndexStateResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*GetSegmentIndexStateResponse) ProtoMessage() {}
|
|
func (*GetSegmentIndexStateResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_f9e019eb3fda53c2, []int{9}
|
|
}
|
|
|
|
func (m *GetSegmentIndexStateResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetSegmentIndexStateResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *GetSegmentIndexStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetSegmentIndexStateResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GetSegmentIndexStateResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetSegmentIndexStateResponse.Merge(m, src)
|
|
}
|
|
func (m *GetSegmentIndexStateResponse) XXX_Size() int {
|
|
return xxx_messageInfo_GetSegmentIndexStateResponse.Size(m)
|
|
}
|
|
func (m *GetSegmentIndexStateResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetSegmentIndexStateResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetSegmentIndexStateResponse proto.InternalMessageInfo
|
|
|
|
func (m *GetSegmentIndexStateResponse) GetStatus() *commonpb.Status {
|
|
if m != nil {
|
|
return m.Status
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *GetSegmentIndexStateResponse) GetStates() []*SegmentIndexState {
|
|
if m != nil {
|
|
return m.States
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CreateIndexRequest struct {
|
|
CollectionID int64 `protobuf:"varint,1,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
|
|
FieldID int64 `protobuf:"varint,2,opt,name=fieldID,proto3" json:"fieldID,omitempty"`
|
|
IndexName string `protobuf:"bytes,3,opt,name=index_name,json=indexName,proto3" json:"index_name,omitempty"`
|
|
TypeParams []*commonpb.KeyValuePair `protobuf:"bytes,4,rep,name=type_params,json=typeParams,proto3" json:"type_params,omitempty"`
|
|
IndexParams []*commonpb.KeyValuePair `protobuf:"bytes,5,rep,name=index_params,json=indexParams,proto3" json:"index_params,omitempty"`
|
|
Timestamp uint64 `protobuf:"varint,6,opt,name=timestamp,proto3" json:"timestamp,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_f9e019eb3fda53c2, []int{10}
|
|
}
|
|
|
|
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) GetCollectionID() int64 {
|
|
if m != nil {
|
|
return m.CollectionID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *CreateIndexRequest) GetFieldID() int64 {
|
|
if m != nil {
|
|
return m.FieldID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *CreateIndexRequest) GetIndexName() string {
|
|
if m != nil {
|
|
return m.IndexName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *CreateIndexRequest) GetTypeParams() []*commonpb.KeyValuePair {
|
|
if m != nil {
|
|
return m.TypeParams
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *CreateIndexRequest) GetIndexParams() []*commonpb.KeyValuePair {
|
|
if m != nil {
|
|
return m.IndexParams
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *CreateIndexRequest) GetTimestamp() uint64 {
|
|
if m != nil {
|
|
return m.Timestamp
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GetIndexInfoRequest struct {
|
|
CollectionID int64 `protobuf:"varint,1,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
|
|
SegmentIDs []int64 `protobuf:"varint,2,rep,packed,name=segmentIDs,proto3" json:"segmentIDs,omitempty"`
|
|
IndexName string `protobuf:"bytes,3,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 *GetIndexInfoRequest) Reset() { *m = GetIndexInfoRequest{} }
|
|
func (m *GetIndexInfoRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*GetIndexInfoRequest) ProtoMessage() {}
|
|
func (*GetIndexInfoRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_f9e019eb3fda53c2, []int{11}
|
|
}
|
|
|
|
func (m *GetIndexInfoRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetIndexInfoRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *GetIndexInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetIndexInfoRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GetIndexInfoRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetIndexInfoRequest.Merge(m, src)
|
|
}
|
|
func (m *GetIndexInfoRequest) XXX_Size() int {
|
|
return xxx_messageInfo_GetIndexInfoRequest.Size(m)
|
|
}
|
|
func (m *GetIndexInfoRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetIndexInfoRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetIndexInfoRequest proto.InternalMessageInfo
|
|
|
|
func (m *GetIndexInfoRequest) GetCollectionID() int64 {
|
|
if m != nil {
|
|
return m.CollectionID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *GetIndexInfoRequest) GetSegmentIDs() []int64 {
|
|
if m != nil {
|
|
return m.SegmentIDs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *GetIndexInfoRequest) GetIndexName() string {
|
|
if m != nil {
|
|
return m.IndexName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type IndexFilePathInfo struct {
|
|
SegmentID int64 `protobuf:"varint,1,opt,name=segmentID,proto3" json:"segmentID,omitempty"`
|
|
FieldID int64 `protobuf:"varint,2,opt,name=fieldID,proto3" json:"fieldID,omitempty"`
|
|
IndexID int64 `protobuf:"varint,3,opt,name=indexID,proto3" json:"indexID,omitempty"`
|
|
BuildID int64 `protobuf:"varint,4,opt,name=buildID,proto3" json:"buildID,omitempty"`
|
|
IndexName string `protobuf:"bytes,5,opt,name=index_name,json=indexName,proto3" json:"index_name,omitempty"`
|
|
IndexParams []*commonpb.KeyValuePair `protobuf:"bytes,6,rep,name=index_params,json=indexParams,proto3" json:"index_params,omitempty"`
|
|
IndexFilePaths []string `protobuf:"bytes,7,rep,name=index_file_paths,json=indexFilePaths,proto3" json:"index_file_paths,omitempty"`
|
|
SerializedSize uint64 `protobuf:"varint,8,opt,name=serialized_size,json=serializedSize,proto3" json:"serialized_size,omitempty"`
|
|
IndexVersion int64 `protobuf:"varint,9,opt,name=index_version,json=indexVersion,proto3" json:"index_version,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *IndexFilePathInfo) Reset() { *m = IndexFilePathInfo{} }
|
|
func (m *IndexFilePathInfo) String() string { return proto.CompactTextString(m) }
|
|
func (*IndexFilePathInfo) ProtoMessage() {}
|
|
func (*IndexFilePathInfo) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_f9e019eb3fda53c2, []int{12}
|
|
}
|
|
|
|
func (m *IndexFilePathInfo) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_IndexFilePathInfo.Unmarshal(m, b)
|
|
}
|
|
func (m *IndexFilePathInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_IndexFilePathInfo.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *IndexFilePathInfo) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_IndexFilePathInfo.Merge(m, src)
|
|
}
|
|
func (m *IndexFilePathInfo) XXX_Size() int {
|
|
return xxx_messageInfo_IndexFilePathInfo.Size(m)
|
|
}
|
|
func (m *IndexFilePathInfo) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_IndexFilePathInfo.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_IndexFilePathInfo proto.InternalMessageInfo
|
|
|
|
func (m *IndexFilePathInfo) GetSegmentID() int64 {
|
|
if m != nil {
|
|
return m.SegmentID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *IndexFilePathInfo) GetFieldID() int64 {
|
|
if m != nil {
|
|
return m.FieldID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *IndexFilePathInfo) GetIndexID() int64 {
|
|
if m != nil {
|
|
return m.IndexID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *IndexFilePathInfo) GetBuildID() int64 {
|
|
if m != nil {
|
|
return m.BuildID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *IndexFilePathInfo) GetIndexName() string {
|
|
if m != nil {
|
|
return m.IndexName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *IndexFilePathInfo) GetIndexParams() []*commonpb.KeyValuePair {
|
|
if m != nil {
|
|
return m.IndexParams
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *IndexFilePathInfo) GetIndexFilePaths() []string {
|
|
if m != nil {
|
|
return m.IndexFilePaths
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *IndexFilePathInfo) GetSerializedSize() uint64 {
|
|
if m != nil {
|
|
return m.SerializedSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *IndexFilePathInfo) GetIndexVersion() int64 {
|
|
if m != nil {
|
|
return m.IndexVersion
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type SegmentInfo struct {
|
|
CollectionID int64 `protobuf:"varint,1,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
|
|
SegmentID int64 `protobuf:"varint,2,opt,name=segmentID,proto3" json:"segmentID,omitempty"`
|
|
EnableIndex bool `protobuf:"varint,3,opt,name=enable_index,json=enableIndex,proto3" json:"enable_index,omitempty"`
|
|
IndexInfos []*IndexFilePathInfo `protobuf:"bytes,4,rep,name=index_infos,json=indexInfos,proto3" json:"index_infos,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *SegmentInfo) Reset() { *m = SegmentInfo{} }
|
|
func (m *SegmentInfo) String() string { return proto.CompactTextString(m) }
|
|
func (*SegmentInfo) ProtoMessage() {}
|
|
func (*SegmentInfo) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_f9e019eb3fda53c2, []int{13}
|
|
}
|
|
|
|
func (m *SegmentInfo) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SegmentInfo.Unmarshal(m, b)
|
|
}
|
|
func (m *SegmentInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SegmentInfo.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *SegmentInfo) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SegmentInfo.Merge(m, src)
|
|
}
|
|
func (m *SegmentInfo) XXX_Size() int {
|
|
return xxx_messageInfo_SegmentInfo.Size(m)
|
|
}
|
|
func (m *SegmentInfo) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SegmentInfo.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SegmentInfo proto.InternalMessageInfo
|
|
|
|
func (m *SegmentInfo) GetCollectionID() int64 {
|
|
if m != nil {
|
|
return m.CollectionID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegmentInfo) GetSegmentID() int64 {
|
|
if m != nil {
|
|
return m.SegmentID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegmentInfo) GetEnableIndex() bool {
|
|
if m != nil {
|
|
return m.EnableIndex
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (m *SegmentInfo) GetIndexInfos() []*IndexFilePathInfo {
|
|
if m != nil {
|
|
return m.IndexInfos
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetIndexInfoResponse struct {
|
|
Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
|
|
SegmentInfo map[int64]*SegmentInfo `protobuf:"bytes,2,rep,name=segment_info,json=segmentInfo,proto3" json:"segment_info,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 *GetIndexInfoResponse) Reset() { *m = GetIndexInfoResponse{} }
|
|
func (m *GetIndexInfoResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*GetIndexInfoResponse) ProtoMessage() {}
|
|
func (*GetIndexInfoResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_f9e019eb3fda53c2, []int{14}
|
|
}
|
|
|
|
func (m *GetIndexInfoResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetIndexInfoResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *GetIndexInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetIndexInfoResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GetIndexInfoResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetIndexInfoResponse.Merge(m, src)
|
|
}
|
|
func (m *GetIndexInfoResponse) XXX_Size() int {
|
|
return xxx_messageInfo_GetIndexInfoResponse.Size(m)
|
|
}
|
|
func (m *GetIndexInfoResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetIndexInfoResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetIndexInfoResponse proto.InternalMessageInfo
|
|
|
|
func (m *GetIndexInfoResponse) GetStatus() *commonpb.Status {
|
|
if m != nil {
|
|
return m.Status
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *GetIndexInfoResponse) GetSegmentInfo() map[int64]*SegmentInfo {
|
|
if m != nil {
|
|
return m.SegmentInfo
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DropIndexRequest struct {
|
|
CollectionID int64 `protobuf:"varint,1,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
|
|
PartitionIDs []int64 `protobuf:"varint,2,rep,packed,name=partitionIDs,proto3" json:"partitionIDs,omitempty"`
|
|
IndexName string `protobuf:"bytes,3,opt,name=index_name,json=indexName,proto3" json:"index_name,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *DropIndexRequest) Reset() { *m = DropIndexRequest{} }
|
|
func (m *DropIndexRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*DropIndexRequest) ProtoMessage() {}
|
|
func (*DropIndexRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_f9e019eb3fda53c2, []int{15}
|
|
}
|
|
|
|
func (m *DropIndexRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_DropIndexRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *DropIndexRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_DropIndexRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *DropIndexRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_DropIndexRequest.Merge(m, src)
|
|
}
|
|
func (m *DropIndexRequest) XXX_Size() int {
|
|
return xxx_messageInfo_DropIndexRequest.Size(m)
|
|
}
|
|
func (m *DropIndexRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_DropIndexRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_DropIndexRequest proto.InternalMessageInfo
|
|
|
|
func (m *DropIndexRequest) GetCollectionID() int64 {
|
|
if m != nil {
|
|
return m.CollectionID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *DropIndexRequest) GetPartitionIDs() []int64 {
|
|
if m != nil {
|
|
return m.PartitionIDs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *DropIndexRequest) GetIndexName() string {
|
|
if m != nil {
|
|
return m.IndexName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DescribeIndexRequest struct {
|
|
CollectionID int64 `protobuf:"varint,1,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
|
|
IndexName string `protobuf:"bytes,2,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_f9e019eb3fda53c2, []int{16}
|
|
}
|
|
|
|
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) GetCollectionID() int64 {
|
|
if m != nil {
|
|
return m.CollectionID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *DescribeIndexRequest) GetIndexName() string {
|
|
if m != nil {
|
|
return m.IndexName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DescribeIndexResponse struct {
|
|
Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
|
|
IndexInfos []*IndexInfo `protobuf:"bytes,2,rep,name=index_infos,json=indexInfos,proto3" json:"index_infos,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_f9e019eb3fda53c2, []int{17}
|
|
}
|
|
|
|
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) GetIndexInfos() []*IndexInfo {
|
|
if m != nil {
|
|
return m.IndexInfos
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetIndexBuildProgressRequest struct {
|
|
CollectionID int64 `protobuf:"varint,1,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
|
|
IndexName string `protobuf:"bytes,2,opt,name=index_name,json=indexName,proto3" json:"index_name,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetIndexBuildProgressRequest) Reset() { *m = GetIndexBuildProgressRequest{} }
|
|
func (m *GetIndexBuildProgressRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*GetIndexBuildProgressRequest) ProtoMessage() {}
|
|
func (*GetIndexBuildProgressRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_f9e019eb3fda53c2, []int{18}
|
|
}
|
|
|
|
func (m *GetIndexBuildProgressRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetIndexBuildProgressRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *GetIndexBuildProgressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetIndexBuildProgressRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GetIndexBuildProgressRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetIndexBuildProgressRequest.Merge(m, src)
|
|
}
|
|
func (m *GetIndexBuildProgressRequest) XXX_Size() int {
|
|
return xxx_messageInfo_GetIndexBuildProgressRequest.Size(m)
|
|
}
|
|
func (m *GetIndexBuildProgressRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetIndexBuildProgressRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetIndexBuildProgressRequest proto.InternalMessageInfo
|
|
|
|
func (m *GetIndexBuildProgressRequest) GetCollectionID() int64 {
|
|
if m != nil {
|
|
return m.CollectionID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *GetIndexBuildProgressRequest) GetIndexName() string {
|
|
if m != nil {
|
|
return m.IndexName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetIndexBuildProgressResponse struct {
|
|
Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
|
|
IndexedRows int64 `protobuf:"varint,2,opt,name=indexed_rows,json=indexedRows,proto3" json:"indexed_rows,omitempty"`
|
|
TotalRows int64 `protobuf:"varint,3,opt,name=total_rows,json=totalRows,proto3" json:"total_rows,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetIndexBuildProgressResponse) Reset() { *m = GetIndexBuildProgressResponse{} }
|
|
func (m *GetIndexBuildProgressResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*GetIndexBuildProgressResponse) ProtoMessage() {}
|
|
func (*GetIndexBuildProgressResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_f9e019eb3fda53c2, []int{19}
|
|
}
|
|
|
|
func (m *GetIndexBuildProgressResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetIndexBuildProgressResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *GetIndexBuildProgressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetIndexBuildProgressResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GetIndexBuildProgressResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetIndexBuildProgressResponse.Merge(m, src)
|
|
}
|
|
func (m *GetIndexBuildProgressResponse) XXX_Size() int {
|
|
return xxx_messageInfo_GetIndexBuildProgressResponse.Size(m)
|
|
}
|
|
func (m *GetIndexBuildProgressResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetIndexBuildProgressResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetIndexBuildProgressResponse proto.InternalMessageInfo
|
|
|
|
func (m *GetIndexBuildProgressResponse) GetStatus() *commonpb.Status {
|
|
if m != nil {
|
|
return m.Status
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *GetIndexBuildProgressResponse) GetIndexedRows() int64 {
|
|
if m != nil {
|
|
return m.IndexedRows
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *GetIndexBuildProgressResponse) GetTotalRows() int64 {
|
|
if m != nil {
|
|
return m.TotalRows
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type StorageConfig struct {
|
|
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
|
|
AccessKeyID string `protobuf:"bytes,2,opt,name=access_keyID,json=accessKeyID,proto3" json:"access_keyID,omitempty"`
|
|
SecretAccessKey string `protobuf:"bytes,3,opt,name=secret_access_key,json=secretAccessKey,proto3" json:"secret_access_key,omitempty"`
|
|
UseSSL bool `protobuf:"varint,4,opt,name=useSSL,proto3" json:"useSSL,omitempty"`
|
|
BucketName string `protobuf:"bytes,5,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"`
|
|
RootPath string `protobuf:"bytes,6,opt,name=root_path,json=rootPath,proto3" json:"root_path,omitempty"`
|
|
UseIAM bool `protobuf:"varint,7,opt,name=useIAM,proto3" json:"useIAM,omitempty"`
|
|
IAMEndpoint string `protobuf:"bytes,8,opt,name=IAMEndpoint,proto3" json:"IAMEndpoint,omitempty"`
|
|
StorageType string `protobuf:"bytes,9,opt,name=storage_type,json=storageType,proto3" json:"storage_type,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *StorageConfig) Reset() { *m = StorageConfig{} }
|
|
func (m *StorageConfig) String() string { return proto.CompactTextString(m) }
|
|
func (*StorageConfig) ProtoMessage() {}
|
|
func (*StorageConfig) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_f9e019eb3fda53c2, []int{20}
|
|
}
|
|
|
|
func (m *StorageConfig) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_StorageConfig.Unmarshal(m, b)
|
|
}
|
|
func (m *StorageConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_StorageConfig.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *StorageConfig) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_StorageConfig.Merge(m, src)
|
|
}
|
|
func (m *StorageConfig) XXX_Size() int {
|
|
return xxx_messageInfo_StorageConfig.Size(m)
|
|
}
|
|
func (m *StorageConfig) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_StorageConfig.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_StorageConfig proto.InternalMessageInfo
|
|
|
|
func (m *StorageConfig) GetAddress() string {
|
|
if m != nil {
|
|
return m.Address
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *StorageConfig) GetAccessKeyID() string {
|
|
if m != nil {
|
|
return m.AccessKeyID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *StorageConfig) GetSecretAccessKey() string {
|
|
if m != nil {
|
|
return m.SecretAccessKey
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *StorageConfig) GetUseSSL() bool {
|
|
if m != nil {
|
|
return m.UseSSL
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (m *StorageConfig) GetBucketName() string {
|
|
if m != nil {
|
|
return m.BucketName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *StorageConfig) GetRootPath() string {
|
|
if m != nil {
|
|
return m.RootPath
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *StorageConfig) GetUseIAM() bool {
|
|
if m != nil {
|
|
return m.UseIAM
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (m *StorageConfig) GetIAMEndpoint() string {
|
|
if m != nil {
|
|
return m.IAMEndpoint
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *StorageConfig) GetStorageType() string {
|
|
if m != nil {
|
|
return m.StorageType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type CreateJobRequest struct {
|
|
ClusterID string `protobuf:"bytes,1,opt,name=clusterID,proto3" json:"clusterID,omitempty"`
|
|
IndexFilePrefix string `protobuf:"bytes,2,opt,name=index_file_prefix,json=indexFilePrefix,proto3" json:"index_file_prefix,omitempty"`
|
|
BuildID int64 `protobuf:"varint,3,opt,name=buildID,proto3" json:"buildID,omitempty"`
|
|
DataPaths []string `protobuf:"bytes,4,rep,name=data_paths,json=dataPaths,proto3" json:"data_paths,omitempty"`
|
|
IndexVersion int64 `protobuf:"varint,5,opt,name=index_version,json=indexVersion,proto3" json:"index_version,omitempty"`
|
|
IndexID int64 `protobuf:"varint,6,opt,name=indexID,proto3" json:"indexID,omitempty"`
|
|
IndexName string `protobuf:"bytes,7,opt,name=index_name,json=indexName,proto3" json:"index_name,omitempty"`
|
|
StorageConfig *StorageConfig `protobuf:"bytes,8,opt,name=storage_config,json=storageConfig,proto3" json:"storage_config,omitempty"`
|
|
IndexParams []*commonpb.KeyValuePair `protobuf:"bytes,9,rep,name=index_params,json=indexParams,proto3" json:"index_params,omitempty"`
|
|
TypeParams []*commonpb.KeyValuePair `protobuf:"bytes,10,rep,name=type_params,json=typeParams,proto3" json:"type_params,omitempty"`
|
|
NumRows int64 `protobuf:"varint,11,opt,name=num_rows,json=numRows,proto3" json:"num_rows,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *CreateJobRequest) Reset() { *m = CreateJobRequest{} }
|
|
func (m *CreateJobRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*CreateJobRequest) ProtoMessage() {}
|
|
func (*CreateJobRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_f9e019eb3fda53c2, []int{21}
|
|
}
|
|
|
|
func (m *CreateJobRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_CreateJobRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *CreateJobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_CreateJobRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *CreateJobRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_CreateJobRequest.Merge(m, src)
|
|
}
|
|
func (m *CreateJobRequest) XXX_Size() int {
|
|
return xxx_messageInfo_CreateJobRequest.Size(m)
|
|
}
|
|
func (m *CreateJobRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_CreateJobRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_CreateJobRequest proto.InternalMessageInfo
|
|
|
|
func (m *CreateJobRequest) GetClusterID() string {
|
|
if m != nil {
|
|
return m.ClusterID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *CreateJobRequest) GetIndexFilePrefix() string {
|
|
if m != nil {
|
|
return m.IndexFilePrefix
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *CreateJobRequest) GetBuildID() int64 {
|
|
if m != nil {
|
|
return m.BuildID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *CreateJobRequest) GetDataPaths() []string {
|
|
if m != nil {
|
|
return m.DataPaths
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *CreateJobRequest) GetIndexVersion() int64 {
|
|
if m != nil {
|
|
return m.IndexVersion
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *CreateJobRequest) GetIndexID() int64 {
|
|
if m != nil {
|
|
return m.IndexID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *CreateJobRequest) GetIndexName() string {
|
|
if m != nil {
|
|
return m.IndexName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *CreateJobRequest) GetStorageConfig() *StorageConfig {
|
|
if m != nil {
|
|
return m.StorageConfig
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *CreateJobRequest) GetIndexParams() []*commonpb.KeyValuePair {
|
|
if m != nil {
|
|
return m.IndexParams
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *CreateJobRequest) GetTypeParams() []*commonpb.KeyValuePair {
|
|
if m != nil {
|
|
return m.TypeParams
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *CreateJobRequest) GetNumRows() int64 {
|
|
if m != nil {
|
|
return m.NumRows
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type QueryJobsRequest struct {
|
|
ClusterID string `protobuf:"bytes,1,opt,name=clusterID,proto3" json:"clusterID,omitempty"`
|
|
BuildIDs []int64 `protobuf:"varint,2,rep,packed,name=buildIDs,proto3" json:"buildIDs,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *QueryJobsRequest) Reset() { *m = QueryJobsRequest{} }
|
|
func (m *QueryJobsRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*QueryJobsRequest) ProtoMessage() {}
|
|
func (*QueryJobsRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_f9e019eb3fda53c2, []int{22}
|
|
}
|
|
|
|
func (m *QueryJobsRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_QueryJobsRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *QueryJobsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_QueryJobsRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *QueryJobsRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_QueryJobsRequest.Merge(m, src)
|
|
}
|
|
func (m *QueryJobsRequest) XXX_Size() int {
|
|
return xxx_messageInfo_QueryJobsRequest.Size(m)
|
|
}
|
|
func (m *QueryJobsRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_QueryJobsRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_QueryJobsRequest proto.InternalMessageInfo
|
|
|
|
func (m *QueryJobsRequest) GetClusterID() string {
|
|
if m != nil {
|
|
return m.ClusterID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *QueryJobsRequest) GetBuildIDs() []int64 {
|
|
if m != nil {
|
|
return m.BuildIDs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type IndexTaskInfo struct {
|
|
BuildID int64 `protobuf:"varint,1,opt,name=buildID,proto3" json:"buildID,omitempty"`
|
|
State commonpb.IndexState `protobuf:"varint,2,opt,name=state,proto3,enum=milvus.proto.common.IndexState" json:"state,omitempty"`
|
|
IndexFiles []string `protobuf:"bytes,3,rep,name=index_files,json=indexFiles,proto3" json:"index_files,omitempty"`
|
|
SerializedSize uint64 `protobuf:"varint,4,opt,name=serialized_size,json=serializedSize,proto3" json:"serialized_size,omitempty"`
|
|
FailReason string `protobuf:"bytes,5,opt,name=fail_reason,json=failReason,proto3" json:"fail_reason,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *IndexTaskInfo) Reset() { *m = IndexTaskInfo{} }
|
|
func (m *IndexTaskInfo) String() string { return proto.CompactTextString(m) }
|
|
func (*IndexTaskInfo) ProtoMessage() {}
|
|
func (*IndexTaskInfo) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_f9e019eb3fda53c2, []int{23}
|
|
}
|
|
|
|
func (m *IndexTaskInfo) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_IndexTaskInfo.Unmarshal(m, b)
|
|
}
|
|
func (m *IndexTaskInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_IndexTaskInfo.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *IndexTaskInfo) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_IndexTaskInfo.Merge(m, src)
|
|
}
|
|
func (m *IndexTaskInfo) XXX_Size() int {
|
|
return xxx_messageInfo_IndexTaskInfo.Size(m)
|
|
}
|
|
func (m *IndexTaskInfo) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_IndexTaskInfo.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_IndexTaskInfo proto.InternalMessageInfo
|
|
|
|
func (m *IndexTaskInfo) GetBuildID() int64 {
|
|
if m != nil {
|
|
return m.BuildID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *IndexTaskInfo) GetState() commonpb.IndexState {
|
|
if m != nil {
|
|
return m.State
|
|
}
|
|
return commonpb.IndexState_IndexStateNone
|
|
}
|
|
|
|
func (m *IndexTaskInfo) GetIndexFiles() []string {
|
|
if m != nil {
|
|
return m.IndexFiles
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *IndexTaskInfo) GetSerializedSize() uint64 {
|
|
if m != nil {
|
|
return m.SerializedSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *IndexTaskInfo) GetFailReason() string {
|
|
if m != nil {
|
|
return m.FailReason
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type QueryJobsResponse struct {
|
|
Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
|
|
ClusterID string `protobuf:"bytes,2,opt,name=clusterID,proto3" json:"clusterID,omitempty"`
|
|
IndexInfos []*IndexTaskInfo `protobuf:"bytes,3,rep,name=index_infos,json=indexInfos,proto3" json:"index_infos,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *QueryJobsResponse) Reset() { *m = QueryJobsResponse{} }
|
|
func (m *QueryJobsResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*QueryJobsResponse) ProtoMessage() {}
|
|
func (*QueryJobsResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_f9e019eb3fda53c2, []int{24}
|
|
}
|
|
|
|
func (m *QueryJobsResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_QueryJobsResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *QueryJobsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_QueryJobsResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *QueryJobsResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_QueryJobsResponse.Merge(m, src)
|
|
}
|
|
func (m *QueryJobsResponse) XXX_Size() int {
|
|
return xxx_messageInfo_QueryJobsResponse.Size(m)
|
|
}
|
|
func (m *QueryJobsResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_QueryJobsResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_QueryJobsResponse proto.InternalMessageInfo
|
|
|
|
func (m *QueryJobsResponse) GetStatus() *commonpb.Status {
|
|
if m != nil {
|
|
return m.Status
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *QueryJobsResponse) GetClusterID() string {
|
|
if m != nil {
|
|
return m.ClusterID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *QueryJobsResponse) GetIndexInfos() []*IndexTaskInfo {
|
|
if m != nil {
|
|
return m.IndexInfos
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DropJobsRequest struct {
|
|
ClusterID string `protobuf:"bytes,1,opt,name=clusterID,proto3" json:"clusterID,omitempty"`
|
|
BuildIDs []int64 `protobuf:"varint,2,rep,packed,name=buildIDs,proto3" json:"buildIDs,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *DropJobsRequest) Reset() { *m = DropJobsRequest{} }
|
|
func (m *DropJobsRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*DropJobsRequest) ProtoMessage() {}
|
|
func (*DropJobsRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_f9e019eb3fda53c2, []int{25}
|
|
}
|
|
|
|
func (m *DropJobsRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_DropJobsRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *DropJobsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_DropJobsRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *DropJobsRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_DropJobsRequest.Merge(m, src)
|
|
}
|
|
func (m *DropJobsRequest) XXX_Size() int {
|
|
return xxx_messageInfo_DropJobsRequest.Size(m)
|
|
}
|
|
func (m *DropJobsRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_DropJobsRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_DropJobsRequest proto.InternalMessageInfo
|
|
|
|
func (m *DropJobsRequest) GetClusterID() string {
|
|
if m != nil {
|
|
return m.ClusterID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *DropJobsRequest) GetBuildIDs() []int64 {
|
|
if m != nil {
|
|
return m.BuildIDs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type JobInfo struct {
|
|
NumRows int64 `protobuf:"varint,1,opt,name=num_rows,json=numRows,proto3" json:"num_rows,omitempty"`
|
|
Dim int64 `protobuf:"varint,2,opt,name=dim,proto3" json:"dim,omitempty"`
|
|
StartTime int64 `protobuf:"varint,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
|
|
EndTime int64 `protobuf:"varint,4,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
|
|
IndexParams []*commonpb.KeyValuePair `protobuf:"bytes,5,rep,name=index_params,json=indexParams,proto3" json:"index_params,omitempty"`
|
|
PodID int64 `protobuf:"varint,6,opt,name=podID,proto3" json:"podID,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *JobInfo) Reset() { *m = JobInfo{} }
|
|
func (m *JobInfo) String() string { return proto.CompactTextString(m) }
|
|
func (*JobInfo) ProtoMessage() {}
|
|
func (*JobInfo) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_f9e019eb3fda53c2, []int{26}
|
|
}
|
|
|
|
func (m *JobInfo) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_JobInfo.Unmarshal(m, b)
|
|
}
|
|
func (m *JobInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_JobInfo.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *JobInfo) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_JobInfo.Merge(m, src)
|
|
}
|
|
func (m *JobInfo) XXX_Size() int {
|
|
return xxx_messageInfo_JobInfo.Size(m)
|
|
}
|
|
func (m *JobInfo) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_JobInfo.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_JobInfo proto.InternalMessageInfo
|
|
|
|
func (m *JobInfo) GetNumRows() int64 {
|
|
if m != nil {
|
|
return m.NumRows
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *JobInfo) GetDim() int64 {
|
|
if m != nil {
|
|
return m.Dim
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *JobInfo) GetStartTime() int64 {
|
|
if m != nil {
|
|
return m.StartTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *JobInfo) GetEndTime() int64 {
|
|
if m != nil {
|
|
return m.EndTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *JobInfo) GetIndexParams() []*commonpb.KeyValuePair {
|
|
if m != nil {
|
|
return m.IndexParams
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *JobInfo) GetPodID() int64 {
|
|
if m != nil {
|
|
return m.PodID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GetJobStatsRequest struct {
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetJobStatsRequest) Reset() { *m = GetJobStatsRequest{} }
|
|
func (m *GetJobStatsRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*GetJobStatsRequest) ProtoMessage() {}
|
|
func (*GetJobStatsRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_f9e019eb3fda53c2, []int{27}
|
|
}
|
|
|
|
func (m *GetJobStatsRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetJobStatsRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *GetJobStatsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetJobStatsRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GetJobStatsRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetJobStatsRequest.Merge(m, src)
|
|
}
|
|
func (m *GetJobStatsRequest) XXX_Size() int {
|
|
return xxx_messageInfo_GetJobStatsRequest.Size(m)
|
|
}
|
|
func (m *GetJobStatsRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetJobStatsRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetJobStatsRequest proto.InternalMessageInfo
|
|
|
|
type GetJobStatsResponse struct {
|
|
Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
|
|
TotalJobNum int64 `protobuf:"varint,2,opt,name=total_job_num,json=totalJobNum,proto3" json:"total_job_num,omitempty"`
|
|
InProgressJobNum int64 `protobuf:"varint,3,opt,name=in_progress_job_num,json=inProgressJobNum,proto3" json:"in_progress_job_num,omitempty"`
|
|
EnqueueJobNum int64 `protobuf:"varint,4,opt,name=enqueue_job_num,json=enqueueJobNum,proto3" json:"enqueue_job_num,omitempty"`
|
|
TaskSlots int64 `protobuf:"varint,5,opt,name=task_slots,json=taskSlots,proto3" json:"task_slots,omitempty"`
|
|
JobInfos []*JobInfo `protobuf:"bytes,6,rep,name=job_infos,json=jobInfos,proto3" json:"job_infos,omitempty"`
|
|
EnableDisk bool `protobuf:"varint,7,opt,name=enable_disk,json=enableDisk,proto3" json:"enable_disk,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetJobStatsResponse) Reset() { *m = GetJobStatsResponse{} }
|
|
func (m *GetJobStatsResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*GetJobStatsResponse) ProtoMessage() {}
|
|
func (*GetJobStatsResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_f9e019eb3fda53c2, []int{28}
|
|
}
|
|
|
|
func (m *GetJobStatsResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetJobStatsResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *GetJobStatsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetJobStatsResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GetJobStatsResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetJobStatsResponse.Merge(m, src)
|
|
}
|
|
func (m *GetJobStatsResponse) XXX_Size() int {
|
|
return xxx_messageInfo_GetJobStatsResponse.Size(m)
|
|
}
|
|
func (m *GetJobStatsResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetJobStatsResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetJobStatsResponse proto.InternalMessageInfo
|
|
|
|
func (m *GetJobStatsResponse) GetStatus() *commonpb.Status {
|
|
if m != nil {
|
|
return m.Status
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *GetJobStatsResponse) GetTotalJobNum() int64 {
|
|
if m != nil {
|
|
return m.TotalJobNum
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *GetJobStatsResponse) GetInProgressJobNum() int64 {
|
|
if m != nil {
|
|
return m.InProgressJobNum
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *GetJobStatsResponse) GetEnqueueJobNum() int64 {
|
|
if m != nil {
|
|
return m.EnqueueJobNum
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *GetJobStatsResponse) GetTaskSlots() int64 {
|
|
if m != nil {
|
|
return m.TaskSlots
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *GetJobStatsResponse) GetJobInfos() []*JobInfo {
|
|
if m != nil {
|
|
return m.JobInfos
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *GetJobStatsResponse) GetEnableDisk() bool {
|
|
if m != nil {
|
|
return m.EnableDisk
|
|
}
|
|
return false
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterType((*IndexInfo)(nil), "milvus.proto.index.IndexInfo")
|
|
proto.RegisterType((*FieldIndex)(nil), "milvus.proto.index.FieldIndex")
|
|
proto.RegisterType((*SegmentIndex)(nil), "milvus.proto.index.SegmentIndex")
|
|
proto.RegisterType((*RegisterNodeRequest)(nil), "milvus.proto.index.RegisterNodeRequest")
|
|
proto.RegisterType((*RegisterNodeResponse)(nil), "milvus.proto.index.RegisterNodeResponse")
|
|
proto.RegisterType((*GetIndexStateRequest)(nil), "milvus.proto.index.GetIndexStateRequest")
|
|
proto.RegisterType((*GetIndexStateResponse)(nil), "milvus.proto.index.GetIndexStateResponse")
|
|
proto.RegisterType((*GetSegmentIndexStateRequest)(nil), "milvus.proto.index.GetSegmentIndexStateRequest")
|
|
proto.RegisterType((*SegmentIndexState)(nil), "milvus.proto.index.SegmentIndexState")
|
|
proto.RegisterType((*GetSegmentIndexStateResponse)(nil), "milvus.proto.index.GetSegmentIndexStateResponse")
|
|
proto.RegisterType((*CreateIndexRequest)(nil), "milvus.proto.index.CreateIndexRequest")
|
|
proto.RegisterType((*GetIndexInfoRequest)(nil), "milvus.proto.index.GetIndexInfoRequest")
|
|
proto.RegisterType((*IndexFilePathInfo)(nil), "milvus.proto.index.IndexFilePathInfo")
|
|
proto.RegisterType((*SegmentInfo)(nil), "milvus.proto.index.SegmentInfo")
|
|
proto.RegisterType((*GetIndexInfoResponse)(nil), "milvus.proto.index.GetIndexInfoResponse")
|
|
proto.RegisterMapType((map[int64]*SegmentInfo)(nil), "milvus.proto.index.GetIndexInfoResponse.SegmentInfoEntry")
|
|
proto.RegisterType((*DropIndexRequest)(nil), "milvus.proto.index.DropIndexRequest")
|
|
proto.RegisterType((*DescribeIndexRequest)(nil), "milvus.proto.index.DescribeIndexRequest")
|
|
proto.RegisterType((*DescribeIndexResponse)(nil), "milvus.proto.index.DescribeIndexResponse")
|
|
proto.RegisterType((*GetIndexBuildProgressRequest)(nil), "milvus.proto.index.GetIndexBuildProgressRequest")
|
|
proto.RegisterType((*GetIndexBuildProgressResponse)(nil), "milvus.proto.index.GetIndexBuildProgressResponse")
|
|
proto.RegisterType((*StorageConfig)(nil), "milvus.proto.index.StorageConfig")
|
|
proto.RegisterType((*CreateJobRequest)(nil), "milvus.proto.index.CreateJobRequest")
|
|
proto.RegisterType((*QueryJobsRequest)(nil), "milvus.proto.index.QueryJobsRequest")
|
|
proto.RegisterType((*IndexTaskInfo)(nil), "milvus.proto.index.IndexTaskInfo")
|
|
proto.RegisterType((*QueryJobsResponse)(nil), "milvus.proto.index.QueryJobsResponse")
|
|
proto.RegisterType((*DropJobsRequest)(nil), "milvus.proto.index.DropJobsRequest")
|
|
proto.RegisterType((*JobInfo)(nil), "milvus.proto.index.JobInfo")
|
|
proto.RegisterType((*GetJobStatsRequest)(nil), "milvus.proto.index.GetJobStatsRequest")
|
|
proto.RegisterType((*GetJobStatsResponse)(nil), "milvus.proto.index.GetJobStatsResponse")
|
|
}
|
|
|
|
func init() { proto.RegisterFile("index_coord.proto", fileDescriptor_f9e019eb3fda53c2) }
|
|
|
|
var fileDescriptor_f9e019eb3fda53c2 = []byte{
|
|
// 2089 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe4, 0x59, 0x5b, 0x6f, 0x23, 0x49,
|
|
0x15, 0x9e, 0x76, 0xe7, 0xe2, 0x3e, 0xed, 0x5c, 0xa6, 0x26, 0x0b, 0x5e, 0x4f, 0x86, 0x49, 0x7a,
|
|
0x98, 0x19, 0x83, 0xb4, 0xc9, 0x90, 0x65, 0xd1, 0x82, 0x00, 0x29, 0x89, 0x77, 0x66, 0x9d, 0xd9,
|
|
0x44, 0xa1, 0x3d, 0x5a, 0x69, 0x57, 0x48, 0x4d, 0xdb, 0x5d, 0x4e, 0x6a, 0x63, 0x77, 0x79, 0xba,
|
|
0xca, 0x33, 0x93, 0x41, 0x42, 0xbc, 0xf0, 0xb0, 0x08, 0x09, 0x89, 0x07, 0x10, 0xef, 0x3c, 0x2d,
|
|
0x12, 0x3f, 0x00, 0x21, 0xf1, 0x03, 0xe0, 0x27, 0xf0, 0xc4, 0x2f, 0x41, 0x75, 0xe9, 0x76, 0x77,
|
|
0xbb, 0x1d, 0x3b, 0x17, 0x9e, 0xf6, 0xcd, 0x75, 0xfa, 0xd4, 0xa5, 0xcf, 0x77, 0xea, 0x7c, 0xdf,
|
|
0x69, 0xc3, 0x6d, 0x12, 0x06, 0xf8, 0x8d, 0xd7, 0xa1, 0x34, 0x0a, 0xb6, 0x06, 0x11, 0xe5, 0x14,
|
|
0xa1, 0x3e, 0xe9, 0xbd, 0x1a, 0x32, 0x35, 0xda, 0x92, 0xcf, 0x6b, 0x95, 0x0e, 0xed, 0xf7, 0x69,
|
|
0xa8, 0x6c, 0xb5, 0x65, 0x12, 0x72, 0x1c, 0x85, 0x7e, 0x4f, 0x8f, 0x2b, 0xe9, 0x19, 0xce, 0x3f,
|
|
0x4c, 0xb0, 0x9a, 0x62, 0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 0xa1, 0xf6, 0x27, 0xdf,
|
|
0xdf, 0x71, 0xd7, 0x89, 0x9b, 0x5f, 0x30, 0x23, 0xd9, 0xdc, 0x03, 0x78, 0x86, 0xf9, 0x21, 0xe6,
|
|
0x11, 0xe9, 0xb0, 0xfc, 0xb5, 0xd2, 0x83, 0x91, 0x43, 0xbc, 0xd5, 0xe3, 0xa9, 0x7e, 0xf1, 0x06,
|
|
0x3b, 0x7f, 0x5b, 0xd0, 0xff, 0xa0, 0x1d, 0xd1, 0x00, 0x7f, 0x3d, 0x6a, 0xd5, 0x31, 0x58, 0x89,
|
|
0x80, 0x2f, 0xbe, 0x0a, 0x79, 0x7d, 0x3f, 0xed, 0x2a, 0x7c, 0x0e, 0x56, 0xa2, 0x88, 0x8a, 0x57,
|
|
0xcc, 0xab, 0xc9, 0xda, 0xc3, 0x29, 0x5e, 0xc9, 0x69, 0x8f, 0xa0, 0x1c, 0x2b, 0x18, 0xf4, 0x60,
|
|
0xd2, 0xbd, 0x4d, 0xaf, 0x3c, 0xe5, 0xac, 0xbf, 0x00, 0x3b, 0x45, 0xef, 0xc5, 0x95, 0x7a, 0x5c,
|
|
0x16, 0xd4, 0x1e, 0x4f, 0xf5, 0xfb, 0x7a, 0x5c, 0x98, 0xbd, 0xef, 0x7f, 0xbe, 0x73, 0x42, 0xf8,
|
|
0xe9, 0xb0, 0x2d, 0x22, 0xbb, 0xad, 0x3c, 0xdf, 0x23, 0x54, 0xff, 0xda, 0x8e, 0x4f, 0xb9, 0x2d,
|
|
0x57, 0xda, 0x96, 0x71, 0x1a, 0xb4, 0xdb, 0x0b, 0x72, 0xf8, 0xfe, 0xff, 0x02, 0x00, 0x00, 0xff,
|
|
0xff, 0x28, 0x8b, 0x3c, 0xec, 0x04, 0x1f, 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
|
|
|
|
// IndexCoordClient is the client API for IndexCoord service.
|
|
//
|
|
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
|
type IndexCoordClient interface {
|
|
GetComponentStates(ctx context.Context, in *internalpb.GetComponentStatesRequest, opts ...grpc.CallOption) (*internalpb.ComponentStates, error)
|
|
GetStatisticsChannel(ctx context.Context, in *internalpb.GetStatisticsChannelRequest, opts ...grpc.CallOption) (*milvuspb.StringResponse, error)
|
|
CreateIndex(ctx context.Context, in *CreateIndexRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
|
|
// Deprecated: use DescribeIndex instead
|
|
GetIndexState(ctx context.Context, in *GetIndexStateRequest, opts ...grpc.CallOption) (*GetIndexStateResponse, error)
|
|
GetSegmentIndexState(ctx context.Context, in *GetSegmentIndexStateRequest, opts ...grpc.CallOption) (*GetSegmentIndexStateResponse, error)
|
|
GetIndexInfos(ctx context.Context, in *GetIndexInfoRequest, opts ...grpc.CallOption) (*GetIndexInfoResponse, error)
|
|
DropIndex(ctx context.Context, in *DropIndexRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
|
|
DescribeIndex(ctx context.Context, in *DescribeIndexRequest, opts ...grpc.CallOption) (*DescribeIndexResponse, error)
|
|
// Deprecated: use DescribeIndex instead
|
|
GetIndexBuildProgress(ctx context.Context, in *GetIndexBuildProgressRequest, opts ...grpc.CallOption) (*GetIndexBuildProgressResponse, error)
|
|
ShowConfigurations(ctx context.Context, in *internalpb.ShowConfigurationsRequest, opts ...grpc.CallOption) (*internalpb.ShowConfigurationsResponse, 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)
|
|
}
|
|
|
|
type indexCoordClient struct {
|
|
cc *grpc.ClientConn
|
|
}
|
|
|
|
func NewIndexCoordClient(cc *grpc.ClientConn) IndexCoordClient {
|
|
return &indexCoordClient{cc}
|
|
}
|
|
|
|
func (c *indexCoordClient) GetComponentStates(ctx context.Context, in *internalpb.GetComponentStatesRequest, opts ...grpc.CallOption) (*internalpb.ComponentStates, error) {
|
|
out := new(internalpb.ComponentStates)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.index.IndexCoord/GetComponentStates", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *indexCoordClient) GetStatisticsChannel(ctx context.Context, in *internalpb.GetStatisticsChannelRequest, opts ...grpc.CallOption) (*milvuspb.StringResponse, error) {
|
|
out := new(milvuspb.StringResponse)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.index.IndexCoord/GetStatisticsChannel", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *indexCoordClient) CreateIndex(ctx context.Context, in *CreateIndexRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
|
|
out := new(commonpb.Status)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.index.IndexCoord/CreateIndex", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *indexCoordClient) GetIndexState(ctx context.Context, in *GetIndexStateRequest, opts ...grpc.CallOption) (*GetIndexStateResponse, error) {
|
|
out := new(GetIndexStateResponse)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.index.IndexCoord/GetIndexState", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *indexCoordClient) GetSegmentIndexState(ctx context.Context, in *GetSegmentIndexStateRequest, opts ...grpc.CallOption) (*GetSegmentIndexStateResponse, error) {
|
|
out := new(GetSegmentIndexStateResponse)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.index.IndexCoord/GetSegmentIndexState", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *indexCoordClient) GetIndexInfos(ctx context.Context, in *GetIndexInfoRequest, opts ...grpc.CallOption) (*GetIndexInfoResponse, error) {
|
|
out := new(GetIndexInfoResponse)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.index.IndexCoord/GetIndexInfos", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *indexCoordClient) DropIndex(ctx context.Context, in *DropIndexRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
|
|
out := new(commonpb.Status)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.index.IndexCoord/DropIndex", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *indexCoordClient) DescribeIndex(ctx context.Context, in *DescribeIndexRequest, opts ...grpc.CallOption) (*DescribeIndexResponse, error) {
|
|
out := new(DescribeIndexResponse)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.index.IndexCoord/DescribeIndex", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *indexCoordClient) GetIndexBuildProgress(ctx context.Context, in *GetIndexBuildProgressRequest, opts ...grpc.CallOption) (*GetIndexBuildProgressResponse, error) {
|
|
out := new(GetIndexBuildProgressResponse)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.index.IndexCoord/GetIndexBuildProgress", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *indexCoordClient) ShowConfigurations(ctx context.Context, in *internalpb.ShowConfigurationsRequest, opts ...grpc.CallOption) (*internalpb.ShowConfigurationsResponse, error) {
|
|
out := new(internalpb.ShowConfigurationsResponse)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.index.IndexCoord/ShowConfigurations", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *indexCoordClient) GetMetrics(ctx context.Context, in *milvuspb.GetMetricsRequest, opts ...grpc.CallOption) (*milvuspb.GetMetricsResponse, error) {
|
|
out := new(milvuspb.GetMetricsResponse)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.index.IndexCoord/GetMetrics", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
// IndexCoordServer is the server API for IndexCoord service.
|
|
type IndexCoordServer interface {
|
|
GetComponentStates(context.Context, *internalpb.GetComponentStatesRequest) (*internalpb.ComponentStates, error)
|
|
GetStatisticsChannel(context.Context, *internalpb.GetStatisticsChannelRequest) (*milvuspb.StringResponse, error)
|
|
CreateIndex(context.Context, *CreateIndexRequest) (*commonpb.Status, error)
|
|
// Deprecated: use DescribeIndex instead
|
|
GetIndexState(context.Context, *GetIndexStateRequest) (*GetIndexStateResponse, error)
|
|
GetSegmentIndexState(context.Context, *GetSegmentIndexStateRequest) (*GetSegmentIndexStateResponse, error)
|
|
GetIndexInfos(context.Context, *GetIndexInfoRequest) (*GetIndexInfoResponse, error)
|
|
DropIndex(context.Context, *DropIndexRequest) (*commonpb.Status, error)
|
|
DescribeIndex(context.Context, *DescribeIndexRequest) (*DescribeIndexResponse, error)
|
|
// Deprecated: use DescribeIndex instead
|
|
GetIndexBuildProgress(context.Context, *GetIndexBuildProgressRequest) (*GetIndexBuildProgressResponse, error)
|
|
ShowConfigurations(context.Context, *internalpb.ShowConfigurationsRequest) (*internalpb.ShowConfigurationsResponse, error)
|
|
// https://wiki.lfaidata.foundation/display/MIL/MEP+8+--+Add+metrics+for+proxy
|
|
GetMetrics(context.Context, *milvuspb.GetMetricsRequest) (*milvuspb.GetMetricsResponse, error)
|
|
}
|
|
|
|
// UnimplementedIndexCoordServer can be embedded to have forward compatible implementations.
|
|
type UnimplementedIndexCoordServer struct {
|
|
}
|
|
|
|
func (*UnimplementedIndexCoordServer) GetComponentStates(ctx context.Context, req *internalpb.GetComponentStatesRequest) (*internalpb.ComponentStates, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetComponentStates not implemented")
|
|
}
|
|
func (*UnimplementedIndexCoordServer) GetStatisticsChannel(ctx context.Context, req *internalpb.GetStatisticsChannelRequest) (*milvuspb.StringResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetStatisticsChannel not implemented")
|
|
}
|
|
func (*UnimplementedIndexCoordServer) CreateIndex(ctx context.Context, req *CreateIndexRequest) (*commonpb.Status, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method CreateIndex not implemented")
|
|
}
|
|
func (*UnimplementedIndexCoordServer) GetIndexState(ctx context.Context, req *GetIndexStateRequest) (*GetIndexStateResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetIndexState not implemented")
|
|
}
|
|
func (*UnimplementedIndexCoordServer) GetSegmentIndexState(ctx context.Context, req *GetSegmentIndexStateRequest) (*GetSegmentIndexStateResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetSegmentIndexState not implemented")
|
|
}
|
|
func (*UnimplementedIndexCoordServer) GetIndexInfos(ctx context.Context, req *GetIndexInfoRequest) (*GetIndexInfoResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetIndexInfos not implemented")
|
|
}
|
|
func (*UnimplementedIndexCoordServer) DropIndex(ctx context.Context, req *DropIndexRequest) (*commonpb.Status, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method DropIndex not implemented")
|
|
}
|
|
func (*UnimplementedIndexCoordServer) DescribeIndex(ctx context.Context, req *DescribeIndexRequest) (*DescribeIndexResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method DescribeIndex not implemented")
|
|
}
|
|
func (*UnimplementedIndexCoordServer) GetIndexBuildProgress(ctx context.Context, req *GetIndexBuildProgressRequest) (*GetIndexBuildProgressResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetIndexBuildProgress not implemented")
|
|
}
|
|
func (*UnimplementedIndexCoordServer) ShowConfigurations(ctx context.Context, req *internalpb.ShowConfigurationsRequest) (*internalpb.ShowConfigurationsResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method ShowConfigurations not implemented")
|
|
}
|
|
func (*UnimplementedIndexCoordServer) GetMetrics(ctx context.Context, req *milvuspb.GetMetricsRequest) (*milvuspb.GetMetricsResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetMetrics not implemented")
|
|
}
|
|
|
|
func RegisterIndexCoordServer(s *grpc.Server, srv IndexCoordServer) {
|
|
s.RegisterService(&_IndexCoord_serviceDesc, srv)
|
|
}
|
|
|
|
func _IndexCoord_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.(IndexCoordServer).GetComponentStates(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.index.IndexCoord/GetComponentStates",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(IndexCoordServer).GetComponentStates(ctx, req.(*internalpb.GetComponentStatesRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _IndexCoord_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.(IndexCoordServer).GetStatisticsChannel(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.index.IndexCoord/GetStatisticsChannel",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(IndexCoordServer).GetStatisticsChannel(ctx, req.(*internalpb.GetStatisticsChannelRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _IndexCoord_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.(IndexCoordServer).CreateIndex(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.index.IndexCoord/CreateIndex",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(IndexCoordServer).CreateIndex(ctx, req.(*CreateIndexRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _IndexCoord_GetIndexState_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetIndexStateRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(IndexCoordServer).GetIndexState(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.index.IndexCoord/GetIndexState",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(IndexCoordServer).GetIndexState(ctx, req.(*GetIndexStateRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _IndexCoord_GetSegmentIndexState_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetSegmentIndexStateRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(IndexCoordServer).GetSegmentIndexState(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.index.IndexCoord/GetSegmentIndexState",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(IndexCoordServer).GetSegmentIndexState(ctx, req.(*GetSegmentIndexStateRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _IndexCoord_GetIndexInfos_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetIndexInfoRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(IndexCoordServer).GetIndexInfos(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.index.IndexCoord/GetIndexInfos",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(IndexCoordServer).GetIndexInfos(ctx, req.(*GetIndexInfoRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _IndexCoord_DropIndex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(DropIndexRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(IndexCoordServer).DropIndex(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.index.IndexCoord/DropIndex",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(IndexCoordServer).DropIndex(ctx, req.(*DropIndexRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _IndexCoord_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.(IndexCoordServer).DescribeIndex(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.index.IndexCoord/DescribeIndex",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(IndexCoordServer).DescribeIndex(ctx, req.(*DescribeIndexRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _IndexCoord_GetIndexBuildProgress_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetIndexBuildProgressRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(IndexCoordServer).GetIndexBuildProgress(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.index.IndexCoord/GetIndexBuildProgress",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(IndexCoordServer).GetIndexBuildProgress(ctx, req.(*GetIndexBuildProgressRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _IndexCoord_ShowConfigurations_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(internalpb.ShowConfigurationsRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(IndexCoordServer).ShowConfigurations(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.index.IndexCoord/ShowConfigurations",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(IndexCoordServer).ShowConfigurations(ctx, req.(*internalpb.ShowConfigurationsRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _IndexCoord_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.(IndexCoordServer).GetMetrics(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.index.IndexCoord/GetMetrics",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(IndexCoordServer).GetMetrics(ctx, req.(*milvuspb.GetMetricsRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
var _IndexCoord_serviceDesc = grpc.ServiceDesc{
|
|
ServiceName: "milvus.proto.index.IndexCoord",
|
|
HandlerType: (*IndexCoordServer)(nil),
|
|
Methods: []grpc.MethodDesc{
|
|
{
|
|
MethodName: "GetComponentStates",
|
|
Handler: _IndexCoord_GetComponentStates_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetStatisticsChannel",
|
|
Handler: _IndexCoord_GetStatisticsChannel_Handler,
|
|
},
|
|
{
|
|
MethodName: "CreateIndex",
|
|
Handler: _IndexCoord_CreateIndex_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetIndexState",
|
|
Handler: _IndexCoord_GetIndexState_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetSegmentIndexState",
|
|
Handler: _IndexCoord_GetSegmentIndexState_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetIndexInfos",
|
|
Handler: _IndexCoord_GetIndexInfos_Handler,
|
|
},
|
|
{
|
|
MethodName: "DropIndex",
|
|
Handler: _IndexCoord_DropIndex_Handler,
|
|
},
|
|
{
|
|
MethodName: "DescribeIndex",
|
|
Handler: _IndexCoord_DescribeIndex_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetIndexBuildProgress",
|
|
Handler: _IndexCoord_GetIndexBuildProgress_Handler,
|
|
},
|
|
{
|
|
MethodName: "ShowConfigurations",
|
|
Handler: _IndexCoord_ShowConfigurations_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetMetrics",
|
|
Handler: _IndexCoord_GetMetrics_Handler,
|
|
},
|
|
},
|
|
Streams: []grpc.StreamDesc{},
|
|
Metadata: "index_coord.proto",
|
|
}
|
|
|
|
// IndexNodeClient is the client API for IndexNode service.
|
|
//
|
|
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
|
type IndexNodeClient interface {
|
|
GetComponentStates(ctx context.Context, in *internalpb.GetComponentStatesRequest, opts ...grpc.CallOption) (*internalpb.ComponentStates, error)
|
|
GetStatisticsChannel(ctx context.Context, in *internalpb.GetStatisticsChannelRequest, opts ...grpc.CallOption) (*milvuspb.StringResponse, error)
|
|
CreateJob(ctx context.Context, in *CreateJobRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
|
|
QueryJobs(ctx context.Context, in *QueryJobsRequest, opts ...grpc.CallOption) (*QueryJobsResponse, error)
|
|
DropJobs(ctx context.Context, in *DropJobsRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
|
|
GetJobStats(ctx context.Context, in *GetJobStatsRequest, opts ...grpc.CallOption) (*GetJobStatsResponse, error)
|
|
ShowConfigurations(ctx context.Context, in *internalpb.ShowConfigurationsRequest, opts ...grpc.CallOption) (*internalpb.ShowConfigurationsResponse, 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)
|
|
}
|
|
|
|
type indexNodeClient struct {
|
|
cc *grpc.ClientConn
|
|
}
|
|
|
|
func NewIndexNodeClient(cc *grpc.ClientConn) IndexNodeClient {
|
|
return &indexNodeClient{cc}
|
|
}
|
|
|
|
func (c *indexNodeClient) GetComponentStates(ctx context.Context, in *internalpb.GetComponentStatesRequest, opts ...grpc.CallOption) (*internalpb.ComponentStates, error) {
|
|
out := new(internalpb.ComponentStates)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.index.IndexNode/GetComponentStates", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *indexNodeClient) GetStatisticsChannel(ctx context.Context, in *internalpb.GetStatisticsChannelRequest, opts ...grpc.CallOption) (*milvuspb.StringResponse, error) {
|
|
out := new(milvuspb.StringResponse)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.index.IndexNode/GetStatisticsChannel", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *indexNodeClient) CreateJob(ctx context.Context, in *CreateJobRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
|
|
out := new(commonpb.Status)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.index.IndexNode/CreateJob", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *indexNodeClient) QueryJobs(ctx context.Context, in *QueryJobsRequest, opts ...grpc.CallOption) (*QueryJobsResponse, error) {
|
|
out := new(QueryJobsResponse)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.index.IndexNode/QueryJobs", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *indexNodeClient) DropJobs(ctx context.Context, in *DropJobsRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
|
|
out := new(commonpb.Status)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.index.IndexNode/DropJobs", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *indexNodeClient) GetJobStats(ctx context.Context, in *GetJobStatsRequest, opts ...grpc.CallOption) (*GetJobStatsResponse, error) {
|
|
out := new(GetJobStatsResponse)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.index.IndexNode/GetJobStats", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *indexNodeClient) ShowConfigurations(ctx context.Context, in *internalpb.ShowConfigurationsRequest, opts ...grpc.CallOption) (*internalpb.ShowConfigurationsResponse, error) {
|
|
out := new(internalpb.ShowConfigurationsResponse)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.index.IndexNode/ShowConfigurations", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *indexNodeClient) GetMetrics(ctx context.Context, in *milvuspb.GetMetricsRequest, opts ...grpc.CallOption) (*milvuspb.GetMetricsResponse, error) {
|
|
out := new(milvuspb.GetMetricsResponse)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.index.IndexNode/GetMetrics", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
// IndexNodeServer is the server API for IndexNode service.
|
|
type IndexNodeServer interface {
|
|
GetComponentStates(context.Context, *internalpb.GetComponentStatesRequest) (*internalpb.ComponentStates, error)
|
|
GetStatisticsChannel(context.Context, *internalpb.GetStatisticsChannelRequest) (*milvuspb.StringResponse, error)
|
|
CreateJob(context.Context, *CreateJobRequest) (*commonpb.Status, error)
|
|
QueryJobs(context.Context, *QueryJobsRequest) (*QueryJobsResponse, error)
|
|
DropJobs(context.Context, *DropJobsRequest) (*commonpb.Status, error)
|
|
GetJobStats(context.Context, *GetJobStatsRequest) (*GetJobStatsResponse, error)
|
|
ShowConfigurations(context.Context, *internalpb.ShowConfigurationsRequest) (*internalpb.ShowConfigurationsResponse, error)
|
|
// https://wiki.lfaidata.foundation/display/MIL/MEP+8+--+Add+metrics+for+proxy
|
|
GetMetrics(context.Context, *milvuspb.GetMetricsRequest) (*milvuspb.GetMetricsResponse, error)
|
|
}
|
|
|
|
// UnimplementedIndexNodeServer can be embedded to have forward compatible implementations.
|
|
type UnimplementedIndexNodeServer struct {
|
|
}
|
|
|
|
func (*UnimplementedIndexNodeServer) GetComponentStates(ctx context.Context, req *internalpb.GetComponentStatesRequest) (*internalpb.ComponentStates, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetComponentStates not implemented")
|
|
}
|
|
func (*UnimplementedIndexNodeServer) GetStatisticsChannel(ctx context.Context, req *internalpb.GetStatisticsChannelRequest) (*milvuspb.StringResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetStatisticsChannel not implemented")
|
|
}
|
|
func (*UnimplementedIndexNodeServer) CreateJob(ctx context.Context, req *CreateJobRequest) (*commonpb.Status, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method CreateJob not implemented")
|
|
}
|
|
func (*UnimplementedIndexNodeServer) QueryJobs(ctx context.Context, req *QueryJobsRequest) (*QueryJobsResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method QueryJobs not implemented")
|
|
}
|
|
func (*UnimplementedIndexNodeServer) DropJobs(ctx context.Context, req *DropJobsRequest) (*commonpb.Status, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method DropJobs not implemented")
|
|
}
|
|
func (*UnimplementedIndexNodeServer) GetJobStats(ctx context.Context, req *GetJobStatsRequest) (*GetJobStatsResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetJobStats not implemented")
|
|
}
|
|
func (*UnimplementedIndexNodeServer) ShowConfigurations(ctx context.Context, req *internalpb.ShowConfigurationsRequest) (*internalpb.ShowConfigurationsResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method ShowConfigurations not implemented")
|
|
}
|
|
func (*UnimplementedIndexNodeServer) GetMetrics(ctx context.Context, req *milvuspb.GetMetricsRequest) (*milvuspb.GetMetricsResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetMetrics not implemented")
|
|
}
|
|
|
|
func RegisterIndexNodeServer(s *grpc.Server, srv IndexNodeServer) {
|
|
s.RegisterService(&_IndexNode_serviceDesc, srv)
|
|
}
|
|
|
|
func _IndexNode_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.(IndexNodeServer).GetComponentStates(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.index.IndexNode/GetComponentStates",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(IndexNodeServer).GetComponentStates(ctx, req.(*internalpb.GetComponentStatesRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _IndexNode_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.(IndexNodeServer).GetStatisticsChannel(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.index.IndexNode/GetStatisticsChannel",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(IndexNodeServer).GetStatisticsChannel(ctx, req.(*internalpb.GetStatisticsChannelRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _IndexNode_CreateJob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(CreateJobRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(IndexNodeServer).CreateJob(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.index.IndexNode/CreateJob",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(IndexNodeServer).CreateJob(ctx, req.(*CreateJobRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _IndexNode_QueryJobs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(QueryJobsRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(IndexNodeServer).QueryJobs(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.index.IndexNode/QueryJobs",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(IndexNodeServer).QueryJobs(ctx, req.(*QueryJobsRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _IndexNode_DropJobs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(DropJobsRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(IndexNodeServer).DropJobs(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.index.IndexNode/DropJobs",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(IndexNodeServer).DropJobs(ctx, req.(*DropJobsRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _IndexNode_GetJobStats_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetJobStatsRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(IndexNodeServer).GetJobStats(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.index.IndexNode/GetJobStats",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(IndexNodeServer).GetJobStats(ctx, req.(*GetJobStatsRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _IndexNode_ShowConfigurations_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(internalpb.ShowConfigurationsRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(IndexNodeServer).ShowConfigurations(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.index.IndexNode/ShowConfigurations",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(IndexNodeServer).ShowConfigurations(ctx, req.(*internalpb.ShowConfigurationsRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _IndexNode_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.(IndexNodeServer).GetMetrics(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.index.IndexNode/GetMetrics",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(IndexNodeServer).GetMetrics(ctx, req.(*milvuspb.GetMetricsRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
var _IndexNode_serviceDesc = grpc.ServiceDesc{
|
|
ServiceName: "milvus.proto.index.IndexNode",
|
|
HandlerType: (*IndexNodeServer)(nil),
|
|
Methods: []grpc.MethodDesc{
|
|
{
|
|
MethodName: "GetComponentStates",
|
|
Handler: _IndexNode_GetComponentStates_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetStatisticsChannel",
|
|
Handler: _IndexNode_GetStatisticsChannel_Handler,
|
|
},
|
|
{
|
|
MethodName: "CreateJob",
|
|
Handler: _IndexNode_CreateJob_Handler,
|
|
},
|
|
{
|
|
MethodName: "QueryJobs",
|
|
Handler: _IndexNode_QueryJobs_Handler,
|
|
},
|
|
{
|
|
MethodName: "DropJobs",
|
|
Handler: _IndexNode_DropJobs_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetJobStats",
|
|
Handler: _IndexNode_GetJobStats_Handler,
|
|
},
|
|
{
|
|
MethodName: "ShowConfigurations",
|
|
Handler: _IndexNode_ShowConfigurations_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetMetrics",
|
|
Handler: _IndexNode_GetMetrics_Handler,
|
|
},
|
|
},
|
|
Streams: []grpc.StreamDesc{},
|
|
Metadata: "index_coord.proto",
|
|
}
|