mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-04 12:59:23 +08:00
515d0369de
Signed-off-by: xige-16 <xi.ge@zilliz.com> Co-authored-by: dragondriver <jiquan.long@zilliz.com> Co-authored-by: dragondriver <jiquan.long@zilliz.com>
264 lines
9.9 KiB
Go
264 lines
9.9 KiB
Go
// 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"`
|
|
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"`
|
|
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) {
|
|
return fileDescriptor_1d79fce784797357, []int{0}
|
|
}
|
|
|
|
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
|
|
}
|
|
|
|
func (m *RetrieveResults) GetOffset() []int64 {
|
|
if m != nil {
|
|
return m.Offset
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *RetrieveResults) GetFieldsData() []*schemapb.FieldData {
|
|
if m != nil {
|
|
return m.FieldsData
|
|
}
|
|
return nil
|
|
}
|
|
|
|
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) {
|
|
return fileDescriptor_1d79fce784797357, []int{1}
|
|
}
|
|
|
|
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) {
|
|
return fileDescriptor_1d79fce784797357, []int{2}
|
|
}
|
|
|
|
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
|
|
}
|
|
|
|
type InsertRecord struct {
|
|
FieldsData []*schemapb.FieldData `protobuf:"bytes,1,rep,name=fields_data,json=fieldsData,proto3" json:"fields_data,omitempty"`
|
|
NumRows int64 `protobuf:"varint,2,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 *InsertRecord) Reset() { *m = InsertRecord{} }
|
|
func (m *InsertRecord) String() string { return proto.CompactTextString(m) }
|
|
func (*InsertRecord) ProtoMessage() {}
|
|
func (*InsertRecord) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_1d79fce784797357, []int{3}
|
|
}
|
|
|
|
func (m *InsertRecord) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_InsertRecord.Unmarshal(m, b)
|
|
}
|
|
func (m *InsertRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_InsertRecord.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *InsertRecord) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_InsertRecord.Merge(m, src)
|
|
}
|
|
func (m *InsertRecord) XXX_Size() int {
|
|
return xxx_messageInfo_InsertRecord.Size(m)
|
|
}
|
|
func (m *InsertRecord) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_InsertRecord.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_InsertRecord proto.InternalMessageInfo
|
|
|
|
func (m *InsertRecord) GetFieldsData() []*schemapb.FieldData {
|
|
if m != nil {
|
|
return m.FieldsData
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *InsertRecord) GetNumRows() int64 {
|
|
if m != nil {
|
|
return m.NumRows
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterType((*RetrieveResults)(nil), "milvus.proto.segcore.RetrieveResults")
|
|
proto.RegisterType((*LoadFieldMeta)(nil), "milvus.proto.segcore.LoadFieldMeta")
|
|
proto.RegisterType((*LoadSegmentMeta)(nil), "milvus.proto.segcore.LoadSegmentMeta")
|
|
proto.RegisterType((*InsertRecord)(nil), "milvus.proto.segcore.InsertRecord")
|
|
}
|
|
|
|
func init() { proto.RegisterFile("segcore.proto", fileDescriptor_1d79fce784797357) }
|
|
|
|
var fileDescriptor_1d79fce784797357 = []byte{
|
|
// 363 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x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