mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-04 12:59:23 +08:00
99ea7e9f05
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
353 lines
13 KiB
Go
353 lines
13 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// source: etcd_meta.proto
|
|
|
|
package etcdpb
|
|
|
|
import (
|
|
fmt "fmt"
|
|
proto "github.com/golang/protobuf/proto"
|
|
commonpb "github.com/zilliztech/milvus-distributed/internal/proto/commonpb"
|
|
schemapb "github.com/zilliztech/milvus-distributed/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 TenantMeta struct {
|
|
ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
NumQueryNodes int64 `protobuf:"varint,2,opt,name=num_query_nodes,json=numQueryNodes,proto3" json:"num_query_nodes,omitempty"`
|
|
InsertChannelIDs []string `protobuf:"bytes,3,rep,name=insert_channelIDs,json=insertChannelIDs,proto3" json:"insert_channelIDs,omitempty"`
|
|
QueryChannelID string `protobuf:"bytes,4,opt,name=query_channelID,json=queryChannelID,proto3" json:"query_channelID,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *TenantMeta) Reset() { *m = TenantMeta{} }
|
|
func (m *TenantMeta) String() string { return proto.CompactTextString(m) }
|
|
func (*TenantMeta) ProtoMessage() {}
|
|
func (*TenantMeta) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_975d306d62b73e88, []int{0}
|
|
}
|
|
|
|
func (m *TenantMeta) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_TenantMeta.Unmarshal(m, b)
|
|
}
|
|
func (m *TenantMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_TenantMeta.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *TenantMeta) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_TenantMeta.Merge(m, src)
|
|
}
|
|
func (m *TenantMeta) XXX_Size() int {
|
|
return xxx_messageInfo_TenantMeta.Size(m)
|
|
}
|
|
func (m *TenantMeta) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_TenantMeta.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_TenantMeta proto.InternalMessageInfo
|
|
|
|
func (m *TenantMeta) GetID() int64 {
|
|
if m != nil {
|
|
return m.ID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *TenantMeta) GetNumQueryNodes() int64 {
|
|
if m != nil {
|
|
return m.NumQueryNodes
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *TenantMeta) GetInsertChannelIDs() []string {
|
|
if m != nil {
|
|
return m.InsertChannelIDs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *TenantMeta) GetQueryChannelID() string {
|
|
if m != nil {
|
|
return m.QueryChannelID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ProxyMeta struct {
|
|
ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
Address *commonpb.Address `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
|
|
ResultChannelIDs []string `protobuf:"bytes,3,rep,name=result_channelIDs,json=resultChannelIDs,proto3" json:"result_channelIDs,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ProxyMeta) Reset() { *m = ProxyMeta{} }
|
|
func (m *ProxyMeta) String() string { return proto.CompactTextString(m) }
|
|
func (*ProxyMeta) ProtoMessage() {}
|
|
func (*ProxyMeta) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_975d306d62b73e88, []int{1}
|
|
}
|
|
|
|
func (m *ProxyMeta) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ProxyMeta.Unmarshal(m, b)
|
|
}
|
|
func (m *ProxyMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ProxyMeta.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *ProxyMeta) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ProxyMeta.Merge(m, src)
|
|
}
|
|
func (m *ProxyMeta) XXX_Size() int {
|
|
return xxx_messageInfo_ProxyMeta.Size(m)
|
|
}
|
|
func (m *ProxyMeta) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ProxyMeta.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ProxyMeta proto.InternalMessageInfo
|
|
|
|
func (m *ProxyMeta) GetID() int64 {
|
|
if m != nil {
|
|
return m.ID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ProxyMeta) GetAddress() *commonpb.Address {
|
|
if m != nil {
|
|
return m.Address
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ProxyMeta) GetResultChannelIDs() []string {
|
|
if m != nil {
|
|
return m.ResultChannelIDs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CollectionMeta struct {
|
|
ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
Schema *schemapb.CollectionSchema `protobuf:"bytes,2,opt,name=schema,proto3" json:"schema,omitempty"`
|
|
CreateTime uint64 `protobuf:"varint,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
|
|
SegmentIDs []int64 `protobuf:"varint,4,rep,packed,name=segmentIDs,proto3" json:"segmentIDs,omitempty"`
|
|
PartitionTags []string `protobuf:"bytes,5,rep,name=partition_tags,json=partitionTags,proto3" json:"partition_tags,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *CollectionMeta) Reset() { *m = CollectionMeta{} }
|
|
func (m *CollectionMeta) String() string { return proto.CompactTextString(m) }
|
|
func (*CollectionMeta) ProtoMessage() {}
|
|
func (*CollectionMeta) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_975d306d62b73e88, []int{2}
|
|
}
|
|
|
|
func (m *CollectionMeta) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_CollectionMeta.Unmarshal(m, b)
|
|
}
|
|
func (m *CollectionMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_CollectionMeta.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *CollectionMeta) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_CollectionMeta.Merge(m, src)
|
|
}
|
|
func (m *CollectionMeta) XXX_Size() int {
|
|
return xxx_messageInfo_CollectionMeta.Size(m)
|
|
}
|
|
func (m *CollectionMeta) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_CollectionMeta.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_CollectionMeta proto.InternalMessageInfo
|
|
|
|
func (m *CollectionMeta) GetID() int64 {
|
|
if m != nil {
|
|
return m.ID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *CollectionMeta) GetSchema() *schemapb.CollectionSchema {
|
|
if m != nil {
|
|
return m.Schema
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *CollectionMeta) GetCreateTime() uint64 {
|
|
if m != nil {
|
|
return m.CreateTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *CollectionMeta) GetSegmentIDs() []int64 {
|
|
if m != nil {
|
|
return m.SegmentIDs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *CollectionMeta) GetPartitionTags() []string {
|
|
if m != nil {
|
|
return m.PartitionTags
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SegmentMeta struct {
|
|
SegmentID int64 `protobuf:"varint,1,opt,name=segmentID,proto3" json:"segmentID,omitempty"`
|
|
CollectionID int64 `protobuf:"varint,2,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
|
|
PartitionTag string `protobuf:"bytes,3,opt,name=partition_tag,json=partitionTag,proto3" json:"partition_tag,omitempty"`
|
|
ChannelStart int32 `protobuf:"varint,4,opt,name=channel_start,json=channelStart,proto3" json:"channel_start,omitempty"`
|
|
ChannelEnd int32 `protobuf:"varint,5,opt,name=channel_end,json=channelEnd,proto3" json:"channel_end,omitempty"`
|
|
OpenTime uint64 `protobuf:"varint,6,opt,name=open_time,json=openTime,proto3" json:"open_time,omitempty"`
|
|
CloseTime uint64 `protobuf:"varint,7,opt,name=close_time,json=closeTime,proto3" json:"close_time,omitempty"`
|
|
NumRows int64 `protobuf:"varint,8,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 *SegmentMeta) Reset() { *m = SegmentMeta{} }
|
|
func (m *SegmentMeta) String() string { return proto.CompactTextString(m) }
|
|
func (*SegmentMeta) ProtoMessage() {}
|
|
func (*SegmentMeta) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_975d306d62b73e88, []int{3}
|
|
}
|
|
|
|
func (m *SegmentMeta) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SegmentMeta.Unmarshal(m, b)
|
|
}
|
|
func (m *SegmentMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SegmentMeta.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *SegmentMeta) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SegmentMeta.Merge(m, src)
|
|
}
|
|
func (m *SegmentMeta) XXX_Size() int {
|
|
return xxx_messageInfo_SegmentMeta.Size(m)
|
|
}
|
|
func (m *SegmentMeta) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SegmentMeta.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SegmentMeta proto.InternalMessageInfo
|
|
|
|
func (m *SegmentMeta) GetSegmentID() int64 {
|
|
if m != nil {
|
|
return m.SegmentID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegmentMeta) GetCollectionID() int64 {
|
|
if m != nil {
|
|
return m.CollectionID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegmentMeta) GetPartitionTag() string {
|
|
if m != nil {
|
|
return m.PartitionTag
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *SegmentMeta) GetChannelStart() int32 {
|
|
if m != nil {
|
|
return m.ChannelStart
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegmentMeta) GetChannelEnd() int32 {
|
|
if m != nil {
|
|
return m.ChannelEnd
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegmentMeta) GetOpenTime() uint64 {
|
|
if m != nil {
|
|
return m.OpenTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegmentMeta) GetCloseTime() uint64 {
|
|
if m != nil {
|
|
return m.CloseTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegmentMeta) GetNumRows() int64 {
|
|
if m != nil {
|
|
return m.NumRows
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterType((*TenantMeta)(nil), "milvus.proto.etcd.TenantMeta")
|
|
proto.RegisterType((*ProxyMeta)(nil), "milvus.proto.etcd.ProxyMeta")
|
|
proto.RegisterType((*CollectionMeta)(nil), "milvus.proto.etcd.CollectionMeta")
|
|
proto.RegisterType((*SegmentMeta)(nil), "milvus.proto.etcd.SegmentMeta")
|
|
}
|
|
|
|
func init() { proto.RegisterFile("etcd_meta.proto", fileDescriptor_975d306d62b73e88) }
|
|
|
|
var fileDescriptor_975d306d62b73e88 = []byte{
|
|
// 506 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x93, 0x4d, 0x8f, 0xd3, 0x30,
|
|
0x10, 0x86, 0x95, 0xa6, 0x5f, 0x99, 0x7e, 0xb1, 0x39, 0x85, 0x65, 0x81, 0xaa, 0x68, 0xa1, 0x12,
|
|
0xa2, 0x95, 0x40, 0xe2, 0x06, 0x02, 0xb6, 0x1c, 0x7a, 0x00, 0x41, 0xda, 0x13, 0x97, 0xc8, 0x4d,
|
|
0x46, 0xad, 0xa5, 0xd8, 0x2e, 0xb6, 0xc3, 0xb2, 0x7b, 0xe2, 0x2f, 0x70, 0xe5, 0x0f, 0xf1, 0xb7,
|
|
0x90, 0x3f, 0x48, 0xb7, 0x52, 0x8f, 0x79, 0xe6, 0xf5, 0xf8, 0x9d, 0x77, 0x1c, 0x18, 0xa1, 0xce,
|
|
0x8b, 0x8c, 0xa1, 0x26, 0xb3, 0xbd, 0x14, 0x5a, 0xc4, 0x67, 0x8c, 0x96, 0x3f, 0x2a, 0xe5, 0xbe,
|
|
0x66, 0xa6, 0x7a, 0xde, 0xcf, 0x05, 0x63, 0x82, 0x3b, 0x74, 0xde, 0x57, 0xf9, 0x0e, 0x99, 0x97,
|
|
0x4f, 0xfe, 0x04, 0x00, 0x6b, 0xe4, 0x84, 0xeb, 0x4f, 0xa8, 0x49, 0x3c, 0x84, 0xc6, 0x72, 0x91,
|
|
0x04, 0xe3, 0x60, 0x1a, 0xa6, 0x8d, 0xe5, 0x22, 0x7e, 0x0a, 0x23, 0x5e, 0xb1, 0xec, 0x7b, 0x85,
|
|
0xf2, 0x26, 0xe3, 0xa2, 0x40, 0x95, 0x34, 0x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