milvus/internal/proto/indexpb/index_coord.pb.go
cai.zhang 2b02b869ec
Return real-time indexed rows and total rows (#20460)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>

Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2022-11-14 14:37:07 +08:00

2979 lines
114 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-proto/go-api/commonpb"
milvuspb "github.com/milvus-io/milvus-proto/go-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
// The real-time statistics may not be expected due to the existence of the compaction mechanism.
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"`
IsAutoIndex bool `protobuf:"varint,11,opt,name=is_auto_index,json=isAutoIndex,proto3" json:"is_auto_index,omitempty"`
UserIndexParams []*commonpb.KeyValuePair `protobuf:"bytes,12,rep,name=user_index_params,json=userIndexParams,proto3" json:"user_index_params,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 ""
}
func (m *IndexInfo) GetIsAutoIndex() bool {
if m != nil {
return m.IsAutoIndex
}
return false
}
func (m *IndexInfo) GetUserIndexParams() []*commonpb.KeyValuePair {
if m != nil {
return m.UserIndexParams
}
return nil
}
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"`
IndexFileKeys []string `protobuf:"bytes,11,rep,name=index_file_keys,json=indexFileKeys,proto3" json:"index_file_keys,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) GetIndexFileKeys() []string {
if m != nil {
return m.IndexFileKeys
}
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"`
IsAutoIndex bool `protobuf:"varint,7,opt,name=is_auto_index,json=isAutoIndex,proto3" json:"is_auto_index,omitempty"`
UserIndexParams []*commonpb.KeyValuePair `protobuf:"bytes,8,rep,name=user_index_params,json=userIndexParams,proto3" json:"user_index_params,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CreateIndexRequest) Reset() { *m = CreateIndexRequest{} }
func (m *CreateIndexRequest) String() string { return proto.CompactTextString(m) }
func (*CreateIndexRequest) ProtoMessage() {}
func (*CreateIndexRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_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
}
func (m *CreateIndexRequest) GetIsAutoIndex() bool {
if m != nil {
return m.IsAutoIndex
}
return false
}
func (m *CreateIndexRequest) GetUserIndexParams() []*commonpb.KeyValuePair {
if m != nil {
return m.UserIndexParams
}
return nil
}
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"`
NumRows int64 `protobuf:"varint,10,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 *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
}
func (m *IndexFilePathInfo) GetNumRows() int64 {
if m != nil {
return m.NumRows
}
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"`
DropAll bool `protobuf:"varint,4,opt,name=drop_all,json=dropAll,proto3" json:"drop_all,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 ""
}
func (m *DropIndexRequest) GetDropAll() bool {
if m != nil {
return m.DropAll
}
return false
}
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"`
IndexFileKeys []string `protobuf:"bytes,3,rep,name=index_file_keys,json=indexFileKeys,proto3" json:"index_file_keys,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) GetIndexFileKeys() []string {
if m != nil {
return m.IndexFileKeys
}
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{
// 2184 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe4, 0x59, 0xcd, 0x8e, 0xdb, 0xc8,
0xf1, 0x37, 0x45, 0xcd, 0x8c, 0x58, 0x94, 0xe6, 0xa3, 0xed, 0xfd, 0xff, 0x65, 0xd9, 0x8e, 0xc7,
0xf4, 0xda, 0x56, 0x02, 0xec, 0xd8, 0x99, 0xcd, 0x06, 0x9b, 0x20, 0x09, 0x30, 0x9e, 0x59, 0xdb,
0xb2, 0xd7, 0xc6, 0x84, 0x32, 0x16, 0xc8, 0x22, 0x80, 0x42, 0x89, 0xad, 0x99, 0xde, 0xa1, 0xd8,
0x32, 0xbb, 0x69, 0x7b, 0x1c, 0x20, 0xc8, 0x65, 0x0f, 0x59, 0x2c, 0x10, 0x20, 0x08, 0x92, 0x17,
0xc8, 0x69, 0x73, 0xc8, 0x3d, 0x97, 0xbc, 0x40, 0x4e, 0x79, 0x84, 0xbc, 0x44, 0xae, 0x41, 0x7f,
0x90, 0x22, 0x29, 0x6a, 0xa4, 0xf9, 0xc8, 0x25, 0xb9, 0xa9, 0x8b, 0xd5, 0x5f, 0x55, 0xbf, 0xaa,
0xfa, 0x55, 0x0b, 0x36, 0x48, 0xe8, 0xe3, 0xb7, 0xbd, 0x01, 0xa5, 0x91, 0xbf, 0x35, 0x8e, 0x28,
0xa7, 0x08, 0x8d, 0x48, 0xf0, 0x3a, 0x66, 0x6a, 0xb4, 0x25, 0xbf, 0xb7, 0xea, 0x03, 0x3a, 0x1a,
0xd1, 0x50, 0xc9, 0x5a, 0xab, 0x24, 0xe4, 0x38, 0x0a, 0xbd, 0x40, 0x8f, 0xeb, 0xd9, 0x19, 0xce,
0x5f, 0xaa, 0x60, 0x75, 0xc4, 0xac, 0x4e, 0x38, 0xa4, 0xc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,
0x1e, 0xc0, 0x63, 0xcc, 0x9f, 0x63, 0x1e, 0x91, 0x01, 0x2b, 0x86, 0xd5, 0x24, 0x61, 0x68, 0x85,
0x64, 0xab, 0x7b, 0x73, 0xf5, 0xd2, 0x0d, 0xfa, 0x60, 0xef, 0x1e, 0xe2, 0xc1, 0xd1, 0x13, 0xec,
0x05, 0xfc, 0x10, 0x95, 0xcf, 0xcc, 0x68, 0xcc, 0xc0, 0x5e, 0x99, 0x62, 0xb2, 0xc7, 0xf6, 0x37,
0xcb, 0xfa, 0x1f, 0xcc, 0x17, 0xd4, 0xc7, 0xff, 0xfd, 0xb9, 0x70, 0x1f, 0xac, 0xb4, 0x47, 0x28,
0x0f, 0xb5, 0x62, 0x0b, 0x31, 0x2f, 0xd4, 0x3e, 0x07, 0x2b, 0x65, 0x5b, 0xe5, 0x2b, 0x16, 0x09,
0x6b, 0xeb, 0xce, 0x1c, 0xad, 0xf4, 0xb4, 0x2f, 0xa0, 0x96, 0xb0, 0x23, 0x74, 0x7b, 0x56, 0x5e,
0xc8, 0xae, 0x3c, 0xe7, 0xac, 0xbf, 0x00, 0x3b, 0x43, 0x1d, 0xca, 0x2b, 0xc1, 0x34, 0xe5, 0x68,
0xdd, 0x9b, 0xab, 0xf7, 0xbf, 0x11, 0x90, 0x0f, 0xbf, 0xf7, 0xf9, 0xf6, 0x01, 0xe1, 0x87, 0x71,
0x5f, 0x58, 0xf6, 0xbe, 0xd2, 0xfc, 0x80, 0x50, 0xfd, 0xeb, 0x7e, 0x72, 0xca, 0xfb, 0x72, 0xa5,
0xfb, 0xd2, 0x4e, 0xe3, 0x7e, 0x7f, 0x59, 0x0e, 0x3f, 0xfc, 0x77, 0x00, 0x00, 0x00, 0xff, 0xff,
0x34, 0xde, 0x9f, 0x9a, 0x80, 0x20, 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 *milvuspb.GetComponentStatesRequest, opts ...grpc.CallOption) (*milvuspb.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)
CheckHealth(ctx context.Context, in *milvuspb.CheckHealthRequest, opts ...grpc.CallOption) (*milvuspb.CheckHealthResponse, error)
}
type indexCoordClient struct {
cc *grpc.ClientConn
}
func NewIndexCoordClient(cc *grpc.ClientConn) IndexCoordClient {
return &indexCoordClient{cc}
}
func (c *indexCoordClient) GetComponentStates(ctx context.Context, in *milvuspb.GetComponentStatesRequest, opts ...grpc.CallOption) (*milvuspb.ComponentStates, error) {
out := new(milvuspb.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
}
func (c *indexCoordClient) CheckHealth(ctx context.Context, in *milvuspb.CheckHealthRequest, opts ...grpc.CallOption) (*milvuspb.CheckHealthResponse, error) {
out := new(milvuspb.CheckHealthResponse)
err := c.cc.Invoke(ctx, "/milvus.proto.index.IndexCoord/CheckHealth", 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, *milvuspb.GetComponentStatesRequest) (*milvuspb.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)
CheckHealth(context.Context, *milvuspb.CheckHealthRequest) (*milvuspb.CheckHealthResponse, error)
}
// UnimplementedIndexCoordServer can be embedded to have forward compatible implementations.
type UnimplementedIndexCoordServer struct {
}
func (*UnimplementedIndexCoordServer) GetComponentStates(ctx context.Context, req *milvuspb.GetComponentStatesRequest) (*milvuspb.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 (*UnimplementedIndexCoordServer) CheckHealth(ctx context.Context, req *milvuspb.CheckHealthRequest) (*milvuspb.CheckHealthResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method CheckHealth 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(milvuspb.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.(*milvuspb.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)
}
func _IndexCoord_CheckHealth_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(milvuspb.CheckHealthRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(IndexCoordServer).CheckHealth(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/milvus.proto.index.IndexCoord/CheckHealth",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(IndexCoordServer).CheckHealth(ctx, req.(*milvuspb.CheckHealthRequest))
}
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,
},
{
MethodName: "CheckHealth",
Handler: _IndexCoord_CheckHealth_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 *milvuspb.GetComponentStatesRequest, opts ...grpc.CallOption) (*milvuspb.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 *milvuspb.GetComponentStatesRequest, opts ...grpc.CallOption) (*milvuspb.ComponentStates, error) {
out := new(milvuspb.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, *milvuspb.GetComponentStatesRequest) (*milvuspb.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 *milvuspb.GetComponentStatesRequest) (*milvuspb.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(milvuspb.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.(*milvuspb.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",
}