2021-06-15 14:43:57 +08:00
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
|
|
// source: segcore.proto
|
|
|
|
|
|
|
|
package segcorepb
|
|
|
|
|
|
|
|
import (
|
|
|
|
fmt "fmt"
|
|
|
|
proto "github.com/golang/protobuf/proto"
|
|
|
|
schemapb "github.com/milvus-io/milvus/internal/proto/schemapb"
|
|
|
|
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 RetrieveResults struct {
|
|
|
|
Ids *schemapb.IDs `protobuf:"bytes,1,opt,name=ids,proto3" json:"ids,omitempty"`
|
2021-07-16 17:19:55 +08:00
|
|
|
Offset []int64 `protobuf:"varint,2,rep,packed,name=offset,proto3" json:"offset,omitempty"`
|
|
|
|
FieldsData []*schemapb.FieldData `protobuf:"bytes,3,rep,name=fields_data,json=fieldsData,proto3" json:"fields_data,omitempty"`
|
2021-06-15 14:43:57 +08:00
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *RetrieveResults) Reset() { *m = RetrieveResults{} }
|
|
|
|
func (m *RetrieveResults) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*RetrieveResults) ProtoMessage() {}
|
|
|
|
func (*RetrieveResults) Descriptor() ([]byte, []int) {
|
2021-09-03 17:12:55 +08:00
|
|
|
return fileDescriptor_1d79fce784797357, []int{0}
|
2021-06-15 14:43:57 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *RetrieveResults) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_RetrieveResults.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *RetrieveResults) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_RetrieveResults.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *RetrieveResults) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_RetrieveResults.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *RetrieveResults) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_RetrieveResults.Size(m)
|
|
|
|
}
|
|
|
|
func (m *RetrieveResults) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_RetrieveResults.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_RetrieveResults proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *RetrieveResults) GetIds() *schemapb.IDs {
|
|
|
|
if m != nil {
|
|
|
|
return m.Ids
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-07-16 17:19:55 +08:00
|
|
|
func (m *RetrieveResults) GetOffset() []int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Offset
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-06-15 14:43:57 +08:00
|
|
|
func (m *RetrieveResults) GetFieldsData() []*schemapb.FieldData {
|
|
|
|
if m != nil {
|
|
|
|
return m.FieldsData
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-06-19 17:38:11 +08:00
|
|
|
type LoadFieldMeta struct {
|
|
|
|
MinTimestamp int64 `protobuf:"varint,1,opt,name=min_timestamp,json=minTimestamp,proto3" json:"min_timestamp,omitempty"`
|
|
|
|
MaxTimestamp int64 `protobuf:"varint,2,opt,name=max_timestamp,json=maxTimestamp,proto3" json:"max_timestamp,omitempty"`
|
|
|
|
RowCount int64 `protobuf:"varint,3,opt,name=row_count,json=rowCount,proto3" json:"row_count,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *LoadFieldMeta) Reset() { *m = LoadFieldMeta{} }
|
|
|
|
func (m *LoadFieldMeta) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*LoadFieldMeta) ProtoMessage() {}
|
|
|
|
func (*LoadFieldMeta) Descriptor() ([]byte, []int) {
|
2021-09-03 17:12:55 +08:00
|
|
|
return fileDescriptor_1d79fce784797357, []int{1}
|
2021-06-19 17:38:11 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *LoadFieldMeta) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_LoadFieldMeta.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *LoadFieldMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_LoadFieldMeta.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *LoadFieldMeta) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_LoadFieldMeta.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *LoadFieldMeta) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_LoadFieldMeta.Size(m)
|
|
|
|
}
|
|
|
|
func (m *LoadFieldMeta) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_LoadFieldMeta.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_LoadFieldMeta proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *LoadFieldMeta) GetMinTimestamp() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.MinTimestamp
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *LoadFieldMeta) GetMaxTimestamp() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.MaxTimestamp
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *LoadFieldMeta) GetRowCount() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.RowCount
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
type LoadSegmentMeta struct {
|
|
|
|
// TODOs
|
|
|
|
Metas []*LoadFieldMeta `protobuf:"bytes,1,rep,name=metas,proto3" json:"metas,omitempty"`
|
|
|
|
TotalSize int64 `protobuf:"varint,2,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *LoadSegmentMeta) Reset() { *m = LoadSegmentMeta{} }
|
|
|
|
func (m *LoadSegmentMeta) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*LoadSegmentMeta) ProtoMessage() {}
|
|
|
|
func (*LoadSegmentMeta) Descriptor() ([]byte, []int) {
|
2021-09-03 17:12:55 +08:00
|
|
|
return fileDescriptor_1d79fce784797357, []int{2}
|
2021-06-19 17:38:11 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *LoadSegmentMeta) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_LoadSegmentMeta.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *LoadSegmentMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_LoadSegmentMeta.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *LoadSegmentMeta) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_LoadSegmentMeta.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *LoadSegmentMeta) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_LoadSegmentMeta.Size(m)
|
|
|
|
}
|
|
|
|
func (m *LoadSegmentMeta) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_LoadSegmentMeta.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_LoadSegmentMeta proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *LoadSegmentMeta) GetMetas() []*LoadFieldMeta {
|
|
|
|
if m != nil {
|
|
|
|
return m.Metas
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *LoadSegmentMeta) GetTotalSize() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.TotalSize
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2021-06-15 14:43:57 +08:00
|
|
|
func init() {
|
|
|
|
proto.RegisterType((*RetrieveResults)(nil), "milvus.proto.segcore.RetrieveResults")
|
2021-06-19 17:38:11 +08:00
|
|
|
proto.RegisterType((*LoadFieldMeta)(nil), "milvus.proto.segcore.LoadFieldMeta")
|
|
|
|
proto.RegisterType((*LoadSegmentMeta)(nil), "milvus.proto.segcore.LoadSegmentMeta")
|
2021-06-15 14:43:57 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func init() { proto.RegisterFile("segcore.proto", fileDescriptor_1d79fce784797357) }
|
|
|
|
|
|
|
|
var fileDescriptor_1d79fce784797357 = []byte{
|
2021-09-03 17:12:55 +08:00
|
|
|
// 326 bytes of a gzipped FileDescriptorProto
|
|
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x90, 0x41, 0x4b, 0xfb, 0x40,
|
|
|
|
0x10, 0xc5, 0x69, 0xc3, 0xbf, 0xfc, 0x3b, 0x6d, 0x29, 0x04, 0x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