mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-04 04:49:08 +08:00
c924f73105
Co-authored-by: Zach41 <zongmei.zhang@zilliz.com> Signed-off-by: cai.zhang <cai.zhang@zilliz.com> Signed-off-by: cai.zhang <cai.zhang@zilliz.com> Co-authored-by: Zach41 <zongmei.zhang@zilliz.com>
710 lines
26 KiB
Go
710 lines
26 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/milvus-io/milvus/internal/proto/commonpb"
|
|
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 IndexInfo struct {
|
|
IndexName string `protobuf:"bytes,1,opt,name=index_name,json=indexName,proto3" json:"index_name,omitempty"`
|
|
IndexID int64 `protobuf:"varint,2,opt,name=indexID,proto3" json:"indexID,omitempty"`
|
|
IndexParams []*commonpb.KeyValuePair `protobuf:"bytes,3,rep,name=index_params,json=indexParams,proto3" json:"index_params,omitempty"`
|
|
Deleted bool `protobuf:"varint,4,opt,name=deleted,proto3" json:"deleted,omitempty"`
|
|
CreateTime uint64 `protobuf:"varint,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *IndexInfo) Reset() { *m = IndexInfo{} }
|
|
func (m *IndexInfo) String() string { return proto.CompactTextString(m) }
|
|
func (*IndexInfo) ProtoMessage() {}
|
|
func (*IndexInfo) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_975d306d62b73e88, []int{0}
|
|
}
|
|
|
|
func (m *IndexInfo) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_IndexInfo.Unmarshal(m, b)
|
|
}
|
|
func (m *IndexInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_IndexInfo.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *IndexInfo) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_IndexInfo.Merge(m, src)
|
|
}
|
|
func (m *IndexInfo) XXX_Size() int {
|
|
return xxx_messageInfo_IndexInfo.Size(m)
|
|
}
|
|
func (m *IndexInfo) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_IndexInfo.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_IndexInfo proto.InternalMessageInfo
|
|
|
|
func (m *IndexInfo) GetIndexName() string {
|
|
if m != nil {
|
|
return m.IndexName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *IndexInfo) GetIndexID() int64 {
|
|
if m != nil {
|
|
return m.IndexID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *IndexInfo) GetIndexParams() []*commonpb.KeyValuePair {
|
|
if m != nil {
|
|
return m.IndexParams
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *IndexInfo) GetDeleted() bool {
|
|
if m != nil {
|
|
return m.Deleted
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (m *IndexInfo) GetCreateTime() uint64 {
|
|
if m != nil {
|
|
return m.CreateTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type FieldIndexInfo struct {
|
|
FiledID int64 `protobuf:"varint,1,opt,name=filedID,proto3" json:"filedID,omitempty"`
|
|
IndexID int64 `protobuf:"varint,2,opt,name=indexID,proto3" json:"indexID,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *FieldIndexInfo) Reset() { *m = FieldIndexInfo{} }
|
|
func (m *FieldIndexInfo) String() string { return proto.CompactTextString(m) }
|
|
func (*FieldIndexInfo) ProtoMessage() {}
|
|
func (*FieldIndexInfo) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_975d306d62b73e88, []int{1}
|
|
}
|
|
|
|
func (m *FieldIndexInfo) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_FieldIndexInfo.Unmarshal(m, b)
|
|
}
|
|
func (m *FieldIndexInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_FieldIndexInfo.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *FieldIndexInfo) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_FieldIndexInfo.Merge(m, src)
|
|
}
|
|
func (m *FieldIndexInfo) XXX_Size() int {
|
|
return xxx_messageInfo_FieldIndexInfo.Size(m)
|
|
}
|
|
func (m *FieldIndexInfo) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_FieldIndexInfo.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_FieldIndexInfo proto.InternalMessageInfo
|
|
|
|
func (m *FieldIndexInfo) GetFiledID() int64 {
|
|
if m != nil {
|
|
return m.FiledID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *FieldIndexInfo) GetIndexID() int64 {
|
|
if m != nil {
|
|
return m.IndexID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type CollectionInfo 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"`
|
|
// deprecate
|
|
PartitionIDs []int64 `protobuf:"varint,4,rep,packed,name=partitionIDs,proto3" json:"partitionIDs,omitempty"`
|
|
// deprecate
|
|
PartitionNames []string `protobuf:"bytes,5,rep,name=partitionNames,proto3" json:"partitionNames,omitempty"`
|
|
// deprecat
|
|
FieldIndexes []*FieldIndexInfo `protobuf:"bytes,6,rep,name=field_indexes,json=fieldIndexes,proto3" json:"field_indexes,omitempty"`
|
|
VirtualChannelNames []string `protobuf:"bytes,7,rep,name=virtual_channel_names,json=virtualChannelNames,proto3" json:"virtual_channel_names,omitempty"`
|
|
PhysicalChannelNames []string `protobuf:"bytes,8,rep,name=physical_channel_names,json=physicalChannelNames,proto3" json:"physical_channel_names,omitempty"`
|
|
// deprecate
|
|
PartitionCreatedTimestamps []uint64 `protobuf:"varint,9,rep,packed,name=partition_created_timestamps,json=partitionCreatedTimestamps,proto3" json:"partition_created_timestamps,omitempty"`
|
|
ShardsNum int32 `protobuf:"varint,10,opt,name=shards_num,json=shardsNum,proto3" json:"shards_num,omitempty"`
|
|
StartPositions []*commonpb.KeyDataPair `protobuf:"bytes,11,rep,name=start_positions,json=startPositions,proto3" json:"start_positions,omitempty"`
|
|
ConsistencyLevel commonpb.ConsistencyLevel `protobuf:"varint,12,opt,name=consistency_level,json=consistencyLevel,proto3,enum=milvus.proto.common.ConsistencyLevel" json:"consistency_level,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *CollectionInfo) Reset() { *m = CollectionInfo{} }
|
|
func (m *CollectionInfo) String() string { return proto.CompactTextString(m) }
|
|
func (*CollectionInfo) ProtoMessage() {}
|
|
func (*CollectionInfo) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_975d306d62b73e88, []int{2}
|
|
}
|
|
|
|
func (m *CollectionInfo) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_CollectionInfo.Unmarshal(m, b)
|
|
}
|
|
func (m *CollectionInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_CollectionInfo.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *CollectionInfo) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_CollectionInfo.Merge(m, src)
|
|
}
|
|
func (m *CollectionInfo) XXX_Size() int {
|
|
return xxx_messageInfo_CollectionInfo.Size(m)
|
|
}
|
|
func (m *CollectionInfo) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_CollectionInfo.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_CollectionInfo proto.InternalMessageInfo
|
|
|
|
func (m *CollectionInfo) GetID() int64 {
|
|
if m != nil {
|
|
return m.ID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *CollectionInfo) GetSchema() *schemapb.CollectionSchema {
|
|
if m != nil {
|
|
return m.Schema
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *CollectionInfo) GetCreateTime() uint64 {
|
|
if m != nil {
|
|
return m.CreateTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *CollectionInfo) GetPartitionIDs() []int64 {
|
|
if m != nil {
|
|
return m.PartitionIDs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *CollectionInfo) GetPartitionNames() []string {
|
|
if m != nil {
|
|
return m.PartitionNames
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *CollectionInfo) GetFieldIndexes() []*FieldIndexInfo {
|
|
if m != nil {
|
|
return m.FieldIndexes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *CollectionInfo) GetVirtualChannelNames() []string {
|
|
if m != nil {
|
|
return m.VirtualChannelNames
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *CollectionInfo) GetPhysicalChannelNames() []string {
|
|
if m != nil {
|
|
return m.PhysicalChannelNames
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *CollectionInfo) GetPartitionCreatedTimestamps() []uint64 {
|
|
if m != nil {
|
|
return m.PartitionCreatedTimestamps
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *CollectionInfo) GetShardsNum() int32 {
|
|
if m != nil {
|
|
return m.ShardsNum
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *CollectionInfo) GetStartPositions() []*commonpb.KeyDataPair {
|
|
if m != nil {
|
|
return m.StartPositions
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *CollectionInfo) GetConsistencyLevel() commonpb.ConsistencyLevel {
|
|
if m != nil {
|
|
return m.ConsistencyLevel
|
|
}
|
|
return commonpb.ConsistencyLevel_Strong
|
|
}
|
|
|
|
type PartitionInfo struct {
|
|
PartitionID int64 `protobuf:"varint,1,opt,name=partitionID,proto3" json:"partitionID,omitempty"`
|
|
PartitionName string `protobuf:"bytes,2,opt,name=partitionName,proto3" json:"partitionName,omitempty"`
|
|
PartitionCreatedTimestamp uint64 `protobuf:"varint,3,opt,name=partition_created_timestamp,json=partitionCreatedTimestamp,proto3" json:"partition_created_timestamp,omitempty"`
|
|
CollectionId int64 `protobuf:"varint,4,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *PartitionInfo) Reset() { *m = PartitionInfo{} }
|
|
func (m *PartitionInfo) String() string { return proto.CompactTextString(m) }
|
|
func (*PartitionInfo) ProtoMessage() {}
|
|
func (*PartitionInfo) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_975d306d62b73e88, []int{3}
|
|
}
|
|
|
|
func (m *PartitionInfo) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_PartitionInfo.Unmarshal(m, b)
|
|
}
|
|
func (m *PartitionInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_PartitionInfo.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *PartitionInfo) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_PartitionInfo.Merge(m, src)
|
|
}
|
|
func (m *PartitionInfo) XXX_Size() int {
|
|
return xxx_messageInfo_PartitionInfo.Size(m)
|
|
}
|
|
func (m *PartitionInfo) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_PartitionInfo.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_PartitionInfo proto.InternalMessageInfo
|
|
|
|
func (m *PartitionInfo) GetPartitionID() int64 {
|
|
if m != nil {
|
|
return m.PartitionID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *PartitionInfo) GetPartitionName() string {
|
|
if m != nil {
|
|
return m.PartitionName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *PartitionInfo) GetPartitionCreatedTimestamp() uint64 {
|
|
if m != nil {
|
|
return m.PartitionCreatedTimestamp
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *PartitionInfo) GetCollectionId() int64 {
|
|
if m != nil {
|
|
return m.CollectionId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type AliasInfo struct {
|
|
AliasName string `protobuf:"bytes,1,opt,name=alias_name,json=aliasName,proto3" json:"alias_name,omitempty"`
|
|
CollectionId int64 `protobuf:"varint,2,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"`
|
|
CreatedTime uint64 `protobuf:"varint,3,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *AliasInfo) Reset() { *m = AliasInfo{} }
|
|
func (m *AliasInfo) String() string { return proto.CompactTextString(m) }
|
|
func (*AliasInfo) ProtoMessage() {}
|
|
func (*AliasInfo) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_975d306d62b73e88, []int{4}
|
|
}
|
|
|
|
func (m *AliasInfo) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_AliasInfo.Unmarshal(m, b)
|
|
}
|
|
func (m *AliasInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_AliasInfo.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *AliasInfo) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_AliasInfo.Merge(m, src)
|
|
}
|
|
func (m *AliasInfo) XXX_Size() int {
|
|
return xxx_messageInfo_AliasInfo.Size(m)
|
|
}
|
|
func (m *AliasInfo) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_AliasInfo.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_AliasInfo proto.InternalMessageInfo
|
|
|
|
func (m *AliasInfo) GetAliasName() string {
|
|
if m != nil {
|
|
return m.AliasName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *AliasInfo) GetCollectionId() int64 {
|
|
if m != nil {
|
|
return m.CollectionId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *AliasInfo) GetCreatedTime() uint64 {
|
|
if m != nil {
|
|
return m.CreatedTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type SegmentIndexInfo struct {
|
|
CollectionID int64 `protobuf:"varint,1,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
|
|
PartitionID int64 `protobuf:"varint,2,opt,name=partitionID,proto3" json:"partitionID,omitempty"`
|
|
SegmentID int64 `protobuf:"varint,3,opt,name=segmentID,proto3" json:"segmentID,omitempty"`
|
|
FieldID int64 `protobuf:"varint,4,opt,name=fieldID,proto3" json:"fieldID,omitempty"`
|
|
IndexID int64 `protobuf:"varint,5,opt,name=indexID,proto3" json:"indexID,omitempty"`
|
|
BuildID int64 `protobuf:"varint,6,opt,name=buildID,proto3" json:"buildID,omitempty"`
|
|
EnableIndex bool `protobuf:"varint,7,opt,name=enable_index,json=enableIndex,proto3" json:"enable_index,omitempty"`
|
|
CreateTime uint64 `protobuf:"varint,8,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *SegmentIndexInfo) Reset() { *m = SegmentIndexInfo{} }
|
|
func (m *SegmentIndexInfo) String() string { return proto.CompactTextString(m) }
|
|
func (*SegmentIndexInfo) ProtoMessage() {}
|
|
func (*SegmentIndexInfo) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_975d306d62b73e88, []int{5}
|
|
}
|
|
|
|
func (m *SegmentIndexInfo) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SegmentIndexInfo.Unmarshal(m, b)
|
|
}
|
|
func (m *SegmentIndexInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SegmentIndexInfo.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *SegmentIndexInfo) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SegmentIndexInfo.Merge(m, src)
|
|
}
|
|
func (m *SegmentIndexInfo) XXX_Size() int {
|
|
return xxx_messageInfo_SegmentIndexInfo.Size(m)
|
|
}
|
|
func (m *SegmentIndexInfo) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SegmentIndexInfo.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SegmentIndexInfo proto.InternalMessageInfo
|
|
|
|
func (m *SegmentIndexInfo) GetCollectionID() int64 {
|
|
if m != nil {
|
|
return m.CollectionID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegmentIndexInfo) GetPartitionID() int64 {
|
|
if m != nil {
|
|
return m.PartitionID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegmentIndexInfo) GetSegmentID() int64 {
|
|
if m != nil {
|
|
return m.SegmentID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegmentIndexInfo) GetFieldID() int64 {
|
|
if m != nil {
|
|
return m.FieldID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegmentIndexInfo) GetIndexID() int64 {
|
|
if m != nil {
|
|
return m.IndexID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegmentIndexInfo) GetBuildID() int64 {
|
|
if m != nil {
|
|
return m.BuildID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegmentIndexInfo) GetEnableIndex() bool {
|
|
if m != nil {
|
|
return m.EnableIndex
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (m *SegmentIndexInfo) GetCreateTime() uint64 {
|
|
if m != nil {
|
|
return m.CreateTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// TODO move to proto files of interprocess communication
|
|
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"`
|
|
PartitionIDs []int64 `protobuf:"varint,6,rep,packed,name=partitionIDs,proto3" json:"partitionIDs,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{6}
|
|
}
|
|
|
|
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
|
|
}
|
|
|
|
func (m *CollectionMeta) GetPartitionIDs() []int64 {
|
|
if m != nil {
|
|
return m.PartitionIDs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CredentialInfo struct {
|
|
Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
|
|
// encrypted by bcrypt (for higher security level)
|
|
EncryptedPassword string `protobuf:"bytes,2,opt,name=encrypted_password,json=encryptedPassword,proto3" json:"encrypted_password,omitempty"`
|
|
Tenant string `protobuf:"bytes,3,opt,name=tenant,proto3" json:"tenant,omitempty"`
|
|
IsSuper bool `protobuf:"varint,4,opt,name=is_super,json=isSuper,proto3" json:"is_super,omitempty"`
|
|
// encrypted by sha256 (for good performance in cache mapping)
|
|
Sha256Password string `protobuf:"bytes,5,opt,name=sha256_password,json=sha256Password,proto3" json:"sha256_password,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *CredentialInfo) Reset() { *m = CredentialInfo{} }
|
|
func (m *CredentialInfo) String() string { return proto.CompactTextString(m) }
|
|
func (*CredentialInfo) ProtoMessage() {}
|
|
func (*CredentialInfo) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_975d306d62b73e88, []int{7}
|
|
}
|
|
|
|
func (m *CredentialInfo) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_CredentialInfo.Unmarshal(m, b)
|
|
}
|
|
func (m *CredentialInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_CredentialInfo.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *CredentialInfo) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_CredentialInfo.Merge(m, src)
|
|
}
|
|
func (m *CredentialInfo) XXX_Size() int {
|
|
return xxx_messageInfo_CredentialInfo.Size(m)
|
|
}
|
|
func (m *CredentialInfo) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_CredentialInfo.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_CredentialInfo proto.InternalMessageInfo
|
|
|
|
func (m *CredentialInfo) GetUsername() string {
|
|
if m != nil {
|
|
return m.Username
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *CredentialInfo) GetEncryptedPassword() string {
|
|
if m != nil {
|
|
return m.EncryptedPassword
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *CredentialInfo) GetTenant() string {
|
|
if m != nil {
|
|
return m.Tenant
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *CredentialInfo) GetIsSuper() bool {
|
|
if m != nil {
|
|
return m.IsSuper
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (m *CredentialInfo) GetSha256Password() string {
|
|
if m != nil {
|
|
return m.Sha256Password
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterType((*IndexInfo)(nil), "milvus.proto.etcd.IndexInfo")
|
|
proto.RegisterType((*FieldIndexInfo)(nil), "milvus.proto.etcd.FieldIndexInfo")
|
|
proto.RegisterType((*CollectionInfo)(nil), "milvus.proto.etcd.CollectionInfo")
|
|
proto.RegisterType((*PartitionInfo)(nil), "milvus.proto.etcd.PartitionInfo")
|
|
proto.RegisterType((*AliasInfo)(nil), "milvus.proto.etcd.AliasInfo")
|
|
proto.RegisterType((*SegmentIndexInfo)(nil), "milvus.proto.etcd.SegmentIndexInfo")
|
|
proto.RegisterType((*CollectionMeta)(nil), "milvus.proto.etcd.CollectionMeta")
|
|
proto.RegisterType((*CredentialInfo)(nil), "milvus.proto.etcd.CredentialInfo")
|
|
}
|
|
|
|
func init() { proto.RegisterFile("etcd_meta.proto", fileDescriptor_975d306d62b73e88) }
|
|
|
|
var fileDescriptor_975d306d62b73e88 = []byte{
|
|
// 861 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x55, 0xdd, 0x6e, 0xe3, 0x44,
|
|
0x14, 0x96, 0xe3, 0xfc, 0xf9, 0x24, 0x4d, 0xb7, 0x03, 0xac, 0xbc, 0x65, 0x01, 0x6f, 0x60, 0xc1,
|
|
0x37, 0xdb, 0x8a, 0x2e, 0x70, 0x07, 0x02, 0x6a, 0xad, 0x14, 0x01, 0x55, 0x34, 0xad, 0xb8, 0xe0,
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