mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-04 12:59:23 +08:00
f8d9bc919d
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
301 lines
11 KiB
Go
301 lines
11 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// source: index_cgo_msg.proto
|
|
|
|
package indexcgopb
|
|
|
|
import (
|
|
fmt "fmt"
|
|
proto "github.com/golang/protobuf/proto"
|
|
commonpb "github.com/milvus-io/milvus/internal/proto/commonpb"
|
|
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 TypeParams struct {
|
|
Params []*commonpb.KeyValuePair `protobuf:"bytes,1,rep,name=params,proto3" json:"params,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *TypeParams) Reset() { *m = TypeParams{} }
|
|
func (m *TypeParams) String() string { return proto.CompactTextString(m) }
|
|
func (*TypeParams) ProtoMessage() {}
|
|
func (*TypeParams) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_c009bd9544a7343c, []int{0}
|
|
}
|
|
|
|
func (m *TypeParams) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_TypeParams.Unmarshal(m, b)
|
|
}
|
|
func (m *TypeParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_TypeParams.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *TypeParams) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_TypeParams.Merge(m, src)
|
|
}
|
|
func (m *TypeParams) XXX_Size() int {
|
|
return xxx_messageInfo_TypeParams.Size(m)
|
|
}
|
|
func (m *TypeParams) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_TypeParams.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_TypeParams proto.InternalMessageInfo
|
|
|
|
func (m *TypeParams) GetParams() []*commonpb.KeyValuePair {
|
|
if m != nil {
|
|
return m.Params
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type IndexParams struct {
|
|
Params []*commonpb.KeyValuePair `protobuf:"bytes,1,rep,name=params,proto3" json:"params,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *IndexParams) Reset() { *m = IndexParams{} }
|
|
func (m *IndexParams) String() string { return proto.CompactTextString(m) }
|
|
func (*IndexParams) ProtoMessage() {}
|
|
func (*IndexParams) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_c009bd9544a7343c, []int{1}
|
|
}
|
|
|
|
func (m *IndexParams) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_IndexParams.Unmarshal(m, b)
|
|
}
|
|
func (m *IndexParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_IndexParams.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *IndexParams) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_IndexParams.Merge(m, src)
|
|
}
|
|
func (m *IndexParams) XXX_Size() int {
|
|
return xxx_messageInfo_IndexParams.Size(m)
|
|
}
|
|
func (m *IndexParams) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_IndexParams.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_IndexParams proto.InternalMessageInfo
|
|
|
|
func (m *IndexParams) GetParams() []*commonpb.KeyValuePair {
|
|
if m != nil {
|
|
return m.Params
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// TypeParams & IndexParams will be replaced by MapParams later
|
|
type MapParams struct {
|
|
Params []*commonpb.KeyValuePair `protobuf:"bytes,1,rep,name=params,proto3" json:"params,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *MapParams) Reset() { *m = MapParams{} }
|
|
func (m *MapParams) String() string { return proto.CompactTextString(m) }
|
|
func (*MapParams) ProtoMessage() {}
|
|
func (*MapParams) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_c009bd9544a7343c, []int{2}
|
|
}
|
|
|
|
func (m *MapParams) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_MapParams.Unmarshal(m, b)
|
|
}
|
|
func (m *MapParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_MapParams.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *MapParams) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_MapParams.Merge(m, src)
|
|
}
|
|
func (m *MapParams) XXX_Size() int {
|
|
return xxx_messageInfo_MapParams.Size(m)
|
|
}
|
|
func (m *MapParams) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_MapParams.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_MapParams proto.InternalMessageInfo
|
|
|
|
func (m *MapParams) GetParams() []*commonpb.KeyValuePair {
|
|
if m != nil {
|
|
return m.Params
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type MapParamsV2 struct {
|
|
Params map[string]string `protobuf:"bytes,1,rep,name=params,proto3" json:"params,omitempty" protobuf_key:"bytes,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 *MapParamsV2) Reset() { *m = MapParamsV2{} }
|
|
func (m *MapParamsV2) String() string { return proto.CompactTextString(m) }
|
|
func (*MapParamsV2) ProtoMessage() {}
|
|
func (*MapParamsV2) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_c009bd9544a7343c, []int{3}
|
|
}
|
|
|
|
func (m *MapParamsV2) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_MapParamsV2.Unmarshal(m, b)
|
|
}
|
|
func (m *MapParamsV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_MapParamsV2.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *MapParamsV2) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_MapParamsV2.Merge(m, src)
|
|
}
|
|
func (m *MapParamsV2) XXX_Size() int {
|
|
return xxx_messageInfo_MapParamsV2.Size(m)
|
|
}
|
|
func (m *MapParamsV2) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_MapParamsV2.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_MapParamsV2 proto.InternalMessageInfo
|
|
|
|
func (m *MapParamsV2) GetParams() map[string]string {
|
|
if m != nil {
|
|
return m.Params
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Binary struct {
|
|
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
|
|
Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *Binary) Reset() { *m = Binary{} }
|
|
func (m *Binary) String() string { return proto.CompactTextString(m) }
|
|
func (*Binary) ProtoMessage() {}
|
|
func (*Binary) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_c009bd9544a7343c, []int{4}
|
|
}
|
|
|
|
func (m *Binary) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_Binary.Unmarshal(m, b)
|
|
}
|
|
func (m *Binary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_Binary.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *Binary) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_Binary.Merge(m, src)
|
|
}
|
|
func (m *Binary) XXX_Size() int {
|
|
return xxx_messageInfo_Binary.Size(m)
|
|
}
|
|
func (m *Binary) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_Binary.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_Binary proto.InternalMessageInfo
|
|
|
|
func (m *Binary) GetKey() string {
|
|
if m != nil {
|
|
return m.Key
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *Binary) GetValue() []byte {
|
|
if m != nil {
|
|
return m.Value
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type BinarySet struct {
|
|
Datas []*Binary `protobuf:"bytes,1,rep,name=datas,proto3" json:"datas,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *BinarySet) Reset() { *m = BinarySet{} }
|
|
func (m *BinarySet) String() string { return proto.CompactTextString(m) }
|
|
func (*BinarySet) ProtoMessage() {}
|
|
func (*BinarySet) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_c009bd9544a7343c, []int{5}
|
|
}
|
|
|
|
func (m *BinarySet) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_BinarySet.Unmarshal(m, b)
|
|
}
|
|
func (m *BinarySet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_BinarySet.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *BinarySet) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_BinarySet.Merge(m, src)
|
|
}
|
|
func (m *BinarySet) XXX_Size() int {
|
|
return xxx_messageInfo_BinarySet.Size(m)
|
|
}
|
|
func (m *BinarySet) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_BinarySet.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_BinarySet proto.InternalMessageInfo
|
|
|
|
func (m *BinarySet) GetDatas() []*Binary {
|
|
if m != nil {
|
|
return m.Datas
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterType((*TypeParams)(nil), "milvus.proto.indexcgo.TypeParams")
|
|
proto.RegisterType((*IndexParams)(nil), "milvus.proto.indexcgo.IndexParams")
|
|
proto.RegisterType((*MapParams)(nil), "milvus.proto.indexcgo.MapParams")
|
|
proto.RegisterType((*MapParamsV2)(nil), "milvus.proto.indexcgo.MapParamsV2")
|
|
proto.RegisterMapType((map[string]string)(nil), "milvus.proto.indexcgo.MapParamsV2.ParamsEntry")
|
|
proto.RegisterType((*Binary)(nil), "milvus.proto.indexcgo.Binary")
|
|
proto.RegisterType((*BinarySet)(nil), "milvus.proto.indexcgo.BinarySet")
|
|
}
|
|
|
|
func init() { proto.RegisterFile("index_cgo_msg.proto", fileDescriptor_c009bd9544a7343c) }
|
|
|
|
var fileDescriptor_c009bd9544a7343c = []byte{
|
|
// 289 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x90, 0x41, 0x4b, 0xc3, 0x30,
|
|
0x14, 0xc7, 0xe9, 0xc6, 0x0a, 0x7d, 0xdd, 0x41, 0xa2, 0x42, 0x19, 0x08, 0xb3, 0xa7, 0x5d, 0x4c,
|
|
0x65, 0x43, 0x74, 0x9e, 0x64, 0xe0, 0x54, 0x44, 0x18, 0x55, 0x76, 0xf0, 0x32, 0xd2, 0x2e, 0xd4,
|
|
0x60, 0x9b, 0x94, 0x34, 0x1d, 0xf6, 0x5b, 0xf8, 0x91, 0xa5, 0x49, 0x2b, 0x53, 0x94, 0x1d, 0x76,
|
|
0xf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