mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
* Split segcore and plan proto for future feature Signed-off-by: fluorinedog <fluorinedog@gmail.com> * lint Signed-off-by: fluorinedog <fluorinedog@gmail.com>
142 lines
5.4 KiB
Go
142 lines
5.4 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
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterType((*RetrieveRequest)(nil), "milvus.proto.segcore.RetrieveRequest")
|
|
proto.RegisterType((*RetrieveResults)(nil), "milvus.proto.segcore.RetrieveResults")
|
|
}
|
|
|
|
func init() { proto.RegisterFile("segcore.proto", fileDescriptor_1d79fce784797357) }
|
|
|
|
var fileDescriptor_1d79fce784797357 = []byte{
|
|
// 222 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x90, 0xb1, 0x4b, 0xc4, 0x30,
|
|
0x14, 0xc6, 0x39, 0x0f, 0x04, 0xd3, 0x3b, 0x84, 0xe2, 0x50, 0x1c, 0xe4, 0x38, 0x97, 0x43, 0x30,
|
|
0x81, 0x2a, 0xae, 0x82, 0x14, 0xc1, 0x35, 0xa3, 0x4b, 0x49, 0xda, 0x67, 0x1b, 0x48, 0x9b, 0x9a,
|
|
0xf7, 0xd2, 0xd1, 0xbf, 0x5d, 0x9a, 0x74, 0x50, 0x70, 0x71, 0xfb, 0xf2, 0x25, 0xbf, 0xef, 0x07,
|
|
0x61, 0x7b, 0x84, 0xae, 0x71, 0x1e, 0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