mirror of https://github.com/milvus-io/milvus.git
254 lines
9.5 KiB
Go
254 lines
9.5 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 RetrieveRequest struct {
|
|
Ids *schemapb.IDs `protobuf:"bytes,1,opt,name=ids,proto3" json:"ids,omitempty"`
|
|
OutputFields []string `protobuf:"bytes,2,rep,name=output_fields,json=outputFields,proto3" json:"output_fields,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *RetrieveRequest) Reset() { *m = RetrieveRequest{} }
|
|
func (m *RetrieveRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*RetrieveRequest) ProtoMessage() {}
|
|
func (*RetrieveRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_1d79fce784797357, []int{0}
|
|
}
|
|
|
|
func (m *RetrieveRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_RetrieveRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *RetrieveRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_RetrieveRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *RetrieveRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_RetrieveRequest.Merge(m, src)
|
|
}
|
|
func (m *RetrieveRequest) XXX_Size() int {
|
|
return xxx_messageInfo_RetrieveRequest.Size(m)
|
|
}
|
|
func (m *RetrieveRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_RetrieveRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_RetrieveRequest proto.InternalMessageInfo
|
|
|
|
func (m *RetrieveRequest) GetIds() *schemapb.IDs {
|
|
if m != nil {
|
|
return m.Ids
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *RetrieveRequest) GetOutputFields() []string {
|
|
if m != nil {
|
|
return m.OutputFields
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type RetrieveResults struct {
|
|
Ids *schemapb.IDs `protobuf:"bytes,1,opt,name=ids,proto3" json:"ids,omitempty"`
|
|
FieldsData []*schemapb.FieldData `protobuf:"bytes,2,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{1}
|
|
}
|
|
|
|
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) 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{2}
|
|
}
|
|
|
|
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{3}
|
|
}
|
|
|
|
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
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterType((*RetrieveRequest)(nil), "milvus.proto.segcore.RetrieveRequest")
|
|
proto.RegisterType((*RetrieveResults)(nil), "milvus.proto.segcore.RetrieveResults")
|
|
proto.RegisterType((*LoadFieldMeta)(nil), "milvus.proto.segcore.LoadFieldMeta")
|
|
proto.RegisterType((*LoadSegmentMeta)(nil), "milvus.proto.segcore.LoadSegmentMeta")
|
|
}
|
|
|
|
func init() { proto.RegisterFile("segcore.proto", fileDescriptor_1d79fce784797357) }
|
|
|
|
var fileDescriptor_1d79fce784797357 = []byte{
|
|
// 335 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x91, 0xc1, 0x4b, 0xf3, 0x30,
|
|
0x18, 0xc6, 0xd9, 0xca, 0xf7, 0xe1, 0xb2, 0x8d, 0x41, 0xf1, 0x50, 0x14, 0x65, 0x74, 0x97, 0x21,
|
|
0xd8, 0xc2, 0x14, 0xc1, 0x93, 0xa0, 0x43, 0x10, 0xf4, 0x92, 0x79, 0xf2, 0x52, 0xd2, 0xf6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