mirror of https://github.com/milvus-io/milvus.git
1430 lines
52 KiB
Go
1430 lines
52 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.33.0
|
|
// protoc v3.21.4
|
|
// source: etcd_meta.proto
|
|
|
|
package etcdpb
|
|
|
|
import (
|
|
commonpb "github.com/milvus-io/milvus-proto/go-api/v2/commonpb"
|
|
schemapb "github.com/milvus-io/milvus-proto/go-api/v2/schemapb"
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
)
|
|
|
|
const (
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
)
|
|
|
|
type DatabaseState int32
|
|
|
|
const (
|
|
DatabaseState_DatabaseUnknown DatabaseState = 0
|
|
DatabaseState_DatabaseCreated DatabaseState = 1
|
|
DatabaseState_DatabaseCreating DatabaseState = 2
|
|
DatabaseState_DatabaseDropping DatabaseState = 3
|
|
DatabaseState_DatabaseDropped DatabaseState = 4
|
|
)
|
|
|
|
// Enum value maps for DatabaseState.
|
|
var (
|
|
DatabaseState_name = map[int32]string{
|
|
0: "DatabaseUnknown",
|
|
1: "DatabaseCreated",
|
|
2: "DatabaseCreating",
|
|
3: "DatabaseDropping",
|
|
4: "DatabaseDropped",
|
|
}
|
|
DatabaseState_value = map[string]int32{
|
|
"DatabaseUnknown": 0,
|
|
"DatabaseCreated": 1,
|
|
"DatabaseCreating": 2,
|
|
"DatabaseDropping": 3,
|
|
"DatabaseDropped": 4,
|
|
}
|
|
)
|
|
|
|
func (x DatabaseState) Enum() *DatabaseState {
|
|
p := new(DatabaseState)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x DatabaseState) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (DatabaseState) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_etcd_meta_proto_enumTypes[0].Descriptor()
|
|
}
|
|
|
|
func (DatabaseState) Type() protoreflect.EnumType {
|
|
return &file_etcd_meta_proto_enumTypes[0]
|
|
}
|
|
|
|
func (x DatabaseState) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use DatabaseState.Descriptor instead.
|
|
func (DatabaseState) EnumDescriptor() ([]byte, []int) {
|
|
return file_etcd_meta_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
type CollectionState int32
|
|
|
|
const (
|
|
CollectionState_CollectionCreated CollectionState = 0
|
|
CollectionState_CollectionCreating CollectionState = 1
|
|
CollectionState_CollectionDropping CollectionState = 2
|
|
CollectionState_CollectionDropped CollectionState = 3
|
|
)
|
|
|
|
// Enum value maps for CollectionState.
|
|
var (
|
|
CollectionState_name = map[int32]string{
|
|
0: "CollectionCreated",
|
|
1: "CollectionCreating",
|
|
2: "CollectionDropping",
|
|
3: "CollectionDropped",
|
|
}
|
|
CollectionState_value = map[string]int32{
|
|
"CollectionCreated": 0,
|
|
"CollectionCreating": 1,
|
|
"CollectionDropping": 2,
|
|
"CollectionDropped": 3,
|
|
}
|
|
)
|
|
|
|
func (x CollectionState) Enum() *CollectionState {
|
|
p := new(CollectionState)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x CollectionState) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (CollectionState) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_etcd_meta_proto_enumTypes[1].Descriptor()
|
|
}
|
|
|
|
func (CollectionState) Type() protoreflect.EnumType {
|
|
return &file_etcd_meta_proto_enumTypes[1]
|
|
}
|
|
|
|
func (x CollectionState) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use CollectionState.Descriptor instead.
|
|
func (CollectionState) EnumDescriptor() ([]byte, []int) {
|
|
return file_etcd_meta_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
type PartitionState int32
|
|
|
|
const (
|
|
PartitionState_PartitionCreated PartitionState = 0
|
|
PartitionState_PartitionCreating PartitionState = 1
|
|
PartitionState_PartitionDropping PartitionState = 2
|
|
PartitionState_PartitionDropped PartitionState = 3
|
|
)
|
|
|
|
// Enum value maps for PartitionState.
|
|
var (
|
|
PartitionState_name = map[int32]string{
|
|
0: "PartitionCreated",
|
|
1: "PartitionCreating",
|
|
2: "PartitionDropping",
|
|
3: "PartitionDropped",
|
|
}
|
|
PartitionState_value = map[string]int32{
|
|
"PartitionCreated": 0,
|
|
"PartitionCreating": 1,
|
|
"PartitionDropping": 2,
|
|
"PartitionDropped": 3,
|
|
}
|
|
)
|
|
|
|
func (x PartitionState) Enum() *PartitionState {
|
|
p := new(PartitionState)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x PartitionState) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (PartitionState) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_etcd_meta_proto_enumTypes[2].Descriptor()
|
|
}
|
|
|
|
func (PartitionState) Type() protoreflect.EnumType {
|
|
return &file_etcd_meta_proto_enumTypes[2]
|
|
}
|
|
|
|
func (x PartitionState) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use PartitionState.Descriptor instead.
|
|
func (PartitionState) EnumDescriptor() ([]byte, []int) {
|
|
return file_etcd_meta_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
type AliasState int32
|
|
|
|
const (
|
|
AliasState_AliasCreated AliasState = 0
|
|
AliasState_AliasCreating AliasState = 1
|
|
AliasState_AliasDropping AliasState = 2
|
|
AliasState_AliasDropped AliasState = 3
|
|
)
|
|
|
|
// Enum value maps for AliasState.
|
|
var (
|
|
AliasState_name = map[int32]string{
|
|
0: "AliasCreated",
|
|
1: "AliasCreating",
|
|
2: "AliasDropping",
|
|
3: "AliasDropped",
|
|
}
|
|
AliasState_value = map[string]int32{
|
|
"AliasCreated": 0,
|
|
"AliasCreating": 1,
|
|
"AliasDropping": 2,
|
|
"AliasDropped": 3,
|
|
}
|
|
)
|
|
|
|
func (x AliasState) Enum() *AliasState {
|
|
p := new(AliasState)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x AliasState) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (AliasState) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_etcd_meta_proto_enumTypes[3].Descriptor()
|
|
}
|
|
|
|
func (AliasState) Type() protoreflect.EnumType {
|
|
return &file_etcd_meta_proto_enumTypes[3]
|
|
}
|
|
|
|
func (x AliasState) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use AliasState.Descriptor instead.
|
|
func (AliasState) EnumDescriptor() ([]byte, []int) {
|
|
return file_etcd_meta_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
type IndexInfo struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
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"`
|
|
}
|
|
|
|
func (x *IndexInfo) Reset() {
|
|
*x = IndexInfo{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_etcd_meta_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *IndexInfo) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*IndexInfo) ProtoMessage() {}
|
|
|
|
func (x *IndexInfo) ProtoReflect() protoreflect.Message {
|
|
mi := &file_etcd_meta_proto_msgTypes[0]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use IndexInfo.ProtoReflect.Descriptor instead.
|
|
func (*IndexInfo) Descriptor() ([]byte, []int) {
|
|
return file_etcd_meta_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *IndexInfo) GetIndexName() string {
|
|
if x != nil {
|
|
return x.IndexName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *IndexInfo) GetIndexID() int64 {
|
|
if x != nil {
|
|
return x.IndexID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *IndexInfo) GetIndexParams() []*commonpb.KeyValuePair {
|
|
if x != nil {
|
|
return x.IndexParams
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *IndexInfo) GetDeleted() bool {
|
|
if x != nil {
|
|
return x.Deleted
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *IndexInfo) GetCreateTime() uint64 {
|
|
if x != nil {
|
|
return x.CreateTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type FieldIndexInfo struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
FiledID int64 `protobuf:"varint,1,opt,name=filedID,proto3" json:"filedID,omitempty"`
|
|
IndexID int64 `protobuf:"varint,2,opt,name=indexID,proto3" json:"indexID,omitempty"`
|
|
}
|
|
|
|
func (x *FieldIndexInfo) Reset() {
|
|
*x = FieldIndexInfo{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_etcd_meta_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *FieldIndexInfo) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FieldIndexInfo) ProtoMessage() {}
|
|
|
|
func (x *FieldIndexInfo) ProtoReflect() protoreflect.Message {
|
|
mi := &file_etcd_meta_proto_msgTypes[1]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use FieldIndexInfo.ProtoReflect.Descriptor instead.
|
|
func (*FieldIndexInfo) Descriptor() ([]byte, []int) {
|
|
return file_etcd_meta_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *FieldIndexInfo) GetFiledID() int64 {
|
|
if x != nil {
|
|
return x.FiledID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *FieldIndexInfo) GetIndexID() int64 {
|
|
if x != nil {
|
|
return x.IndexID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type CollectionInfo struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
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"`
|
|
// deprecate
|
|
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"`
|
|
State CollectionState `protobuf:"varint,13,opt,name=state,proto3,enum=milvus.proto.etcd.CollectionState" json:"state,omitempty"` // To keep compatible with older version, default state is `Created`.
|
|
Properties []*commonpb.KeyValuePair `protobuf:"bytes,14,rep,name=properties,proto3" json:"properties,omitempty"`
|
|
DbId int64 `protobuf:"varint,15,opt,name=db_id,json=dbId,proto3" json:"db_id,omitempty"`
|
|
}
|
|
|
|
func (x *CollectionInfo) Reset() {
|
|
*x = CollectionInfo{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_etcd_meta_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CollectionInfo) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CollectionInfo) ProtoMessage() {}
|
|
|
|
func (x *CollectionInfo) ProtoReflect() protoreflect.Message {
|
|
mi := &file_etcd_meta_proto_msgTypes[2]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CollectionInfo.ProtoReflect.Descriptor instead.
|
|
func (*CollectionInfo) Descriptor() ([]byte, []int) {
|
|
return file_etcd_meta_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *CollectionInfo) GetID() int64 {
|
|
if x != nil {
|
|
return x.ID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CollectionInfo) GetSchema() *schemapb.CollectionSchema {
|
|
if x != nil {
|
|
return x.Schema
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CollectionInfo) GetCreateTime() uint64 {
|
|
if x != nil {
|
|
return x.CreateTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CollectionInfo) GetPartitionIDs() []int64 {
|
|
if x != nil {
|
|
return x.PartitionIDs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CollectionInfo) GetPartitionNames() []string {
|
|
if x != nil {
|
|
return x.PartitionNames
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CollectionInfo) GetFieldIndexes() []*FieldIndexInfo {
|
|
if x != nil {
|
|
return x.FieldIndexes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CollectionInfo) GetVirtualChannelNames() []string {
|
|
if x != nil {
|
|
return x.VirtualChannelNames
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CollectionInfo) GetPhysicalChannelNames() []string {
|
|
if x != nil {
|
|
return x.PhysicalChannelNames
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CollectionInfo) GetPartitionCreatedTimestamps() []uint64 {
|
|
if x != nil {
|
|
return x.PartitionCreatedTimestamps
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CollectionInfo) GetShardsNum() int32 {
|
|
if x != nil {
|
|
return x.ShardsNum
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CollectionInfo) GetStartPositions() []*commonpb.KeyDataPair {
|
|
if x != nil {
|
|
return x.StartPositions
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CollectionInfo) GetConsistencyLevel() commonpb.ConsistencyLevel {
|
|
if x != nil {
|
|
return x.ConsistencyLevel
|
|
}
|
|
return commonpb.ConsistencyLevel(0)
|
|
}
|
|
|
|
func (x *CollectionInfo) GetState() CollectionState {
|
|
if x != nil {
|
|
return x.State
|
|
}
|
|
return CollectionState_CollectionCreated
|
|
}
|
|
|
|
func (x *CollectionInfo) GetProperties() []*commonpb.KeyValuePair {
|
|
if x != nil {
|
|
return x.Properties
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CollectionInfo) GetDbId() int64 {
|
|
if x != nil {
|
|
return x.DbId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type PartitionInfo struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
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"`
|
|
State PartitionState `protobuf:"varint,5,opt,name=state,proto3,enum=milvus.proto.etcd.PartitionState" json:"state,omitempty"` // To keep compatible with older version, default state is `Created`.
|
|
}
|
|
|
|
func (x *PartitionInfo) Reset() {
|
|
*x = PartitionInfo{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_etcd_meta_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PartitionInfo) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PartitionInfo) ProtoMessage() {}
|
|
|
|
func (x *PartitionInfo) ProtoReflect() protoreflect.Message {
|
|
mi := &file_etcd_meta_proto_msgTypes[3]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PartitionInfo.ProtoReflect.Descriptor instead.
|
|
func (*PartitionInfo) Descriptor() ([]byte, []int) {
|
|
return file_etcd_meta_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *PartitionInfo) GetPartitionID() int64 {
|
|
if x != nil {
|
|
return x.PartitionID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PartitionInfo) GetPartitionName() string {
|
|
if x != nil {
|
|
return x.PartitionName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PartitionInfo) GetPartitionCreatedTimestamp() uint64 {
|
|
if x != nil {
|
|
return x.PartitionCreatedTimestamp
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PartitionInfo) GetCollectionId() int64 {
|
|
if x != nil {
|
|
return x.CollectionId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PartitionInfo) GetState() PartitionState {
|
|
if x != nil {
|
|
return x.State
|
|
}
|
|
return PartitionState_PartitionCreated
|
|
}
|
|
|
|
type AliasInfo struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
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"`
|
|
State AliasState `protobuf:"varint,4,opt,name=state,proto3,enum=milvus.proto.etcd.AliasState" json:"state,omitempty"` // To keep compatible with older version, default state is `Created`.
|
|
DbId int64 `protobuf:"varint,5,opt,name=db_id,json=dbId,proto3" json:"db_id,omitempty"`
|
|
}
|
|
|
|
func (x *AliasInfo) Reset() {
|
|
*x = AliasInfo{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_etcd_meta_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *AliasInfo) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AliasInfo) ProtoMessage() {}
|
|
|
|
func (x *AliasInfo) ProtoReflect() protoreflect.Message {
|
|
mi := &file_etcd_meta_proto_msgTypes[4]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AliasInfo.ProtoReflect.Descriptor instead.
|
|
func (*AliasInfo) Descriptor() ([]byte, []int) {
|
|
return file_etcd_meta_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *AliasInfo) GetAliasName() string {
|
|
if x != nil {
|
|
return x.AliasName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AliasInfo) GetCollectionId() int64 {
|
|
if x != nil {
|
|
return x.CollectionId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AliasInfo) GetCreatedTime() uint64 {
|
|
if x != nil {
|
|
return x.CreatedTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AliasInfo) GetState() AliasState {
|
|
if x != nil {
|
|
return x.State
|
|
}
|
|
return AliasState_AliasCreated
|
|
}
|
|
|
|
func (x *AliasInfo) GetDbId() int64 {
|
|
if x != nil {
|
|
return x.DbId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type DatabaseInfo struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
TenantId string `protobuf:"bytes,1,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
Id int64 `protobuf:"varint,3,opt,name=id,proto3" json:"id,omitempty"`
|
|
State DatabaseState `protobuf:"varint,4,opt,name=state,proto3,enum=milvus.proto.etcd.DatabaseState" json:"state,omitempty"`
|
|
CreatedTime uint64 `protobuf:"varint,5,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"`
|
|
Properties []*commonpb.KeyValuePair `protobuf:"bytes,6,rep,name=properties,proto3" json:"properties,omitempty"`
|
|
}
|
|
|
|
func (x *DatabaseInfo) Reset() {
|
|
*x = DatabaseInfo{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_etcd_meta_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DatabaseInfo) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DatabaseInfo) ProtoMessage() {}
|
|
|
|
func (x *DatabaseInfo) ProtoReflect() protoreflect.Message {
|
|
mi := &file_etcd_meta_proto_msgTypes[5]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DatabaseInfo.ProtoReflect.Descriptor instead.
|
|
func (*DatabaseInfo) Descriptor() ([]byte, []int) {
|
|
return file_etcd_meta_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *DatabaseInfo) GetTenantId() string {
|
|
if x != nil {
|
|
return x.TenantId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DatabaseInfo) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DatabaseInfo) GetId() int64 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DatabaseInfo) GetState() DatabaseState {
|
|
if x != nil {
|
|
return x.State
|
|
}
|
|
return DatabaseState_DatabaseUnknown
|
|
}
|
|
|
|
func (x *DatabaseInfo) GetCreatedTime() uint64 {
|
|
if x != nil {
|
|
return x.CreatedTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DatabaseInfo) GetProperties() []*commonpb.KeyValuePair {
|
|
if x != nil {
|
|
return x.Properties
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SegmentIndexInfo struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
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"`
|
|
}
|
|
|
|
func (x *SegmentIndexInfo) Reset() {
|
|
*x = SegmentIndexInfo{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_etcd_meta_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SegmentIndexInfo) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SegmentIndexInfo) ProtoMessage() {}
|
|
|
|
func (x *SegmentIndexInfo) ProtoReflect() protoreflect.Message {
|
|
mi := &file_etcd_meta_proto_msgTypes[6]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SegmentIndexInfo.ProtoReflect.Descriptor instead.
|
|
func (*SegmentIndexInfo) Descriptor() ([]byte, []int) {
|
|
return file_etcd_meta_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *SegmentIndexInfo) GetCollectionID() int64 {
|
|
if x != nil {
|
|
return x.CollectionID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SegmentIndexInfo) GetPartitionID() int64 {
|
|
if x != nil {
|
|
return x.PartitionID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SegmentIndexInfo) GetSegmentID() int64 {
|
|
if x != nil {
|
|
return x.SegmentID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SegmentIndexInfo) GetFieldID() int64 {
|
|
if x != nil {
|
|
return x.FieldID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SegmentIndexInfo) GetIndexID() int64 {
|
|
if x != nil {
|
|
return x.IndexID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SegmentIndexInfo) GetBuildID() int64 {
|
|
if x != nil {
|
|
return x.BuildID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SegmentIndexInfo) GetEnableIndex() bool {
|
|
if x != nil {
|
|
return x.EnableIndex
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *SegmentIndexInfo) GetCreateTime() uint64 {
|
|
if x != nil {
|
|
return x.CreateTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// TODO move to proto files of interprocess communication
|
|
type CollectionMeta struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
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"`
|
|
}
|
|
|
|
func (x *CollectionMeta) Reset() {
|
|
*x = CollectionMeta{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_etcd_meta_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CollectionMeta) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CollectionMeta) ProtoMessage() {}
|
|
|
|
func (x *CollectionMeta) ProtoReflect() protoreflect.Message {
|
|
mi := &file_etcd_meta_proto_msgTypes[7]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CollectionMeta.ProtoReflect.Descriptor instead.
|
|
func (*CollectionMeta) Descriptor() ([]byte, []int) {
|
|
return file_etcd_meta_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *CollectionMeta) GetID() int64 {
|
|
if x != nil {
|
|
return x.ID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CollectionMeta) GetSchema() *schemapb.CollectionSchema {
|
|
if x != nil {
|
|
return x.Schema
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CollectionMeta) GetCreateTime() uint64 {
|
|
if x != nil {
|
|
return x.CreateTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CollectionMeta) GetSegmentIDs() []int64 {
|
|
if x != nil {
|
|
return x.SegmentIDs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CollectionMeta) GetPartitionTags() []string {
|
|
if x != nil {
|
|
return x.PartitionTags
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CollectionMeta) GetPartitionIDs() []int64 {
|
|
if x != nil {
|
|
return x.PartitionIDs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CredentialInfo struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
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"`
|
|
}
|
|
|
|
func (x *CredentialInfo) Reset() {
|
|
*x = CredentialInfo{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_etcd_meta_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CredentialInfo) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CredentialInfo) ProtoMessage() {}
|
|
|
|
func (x *CredentialInfo) ProtoReflect() protoreflect.Message {
|
|
mi := &file_etcd_meta_proto_msgTypes[8]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CredentialInfo.ProtoReflect.Descriptor instead.
|
|
func (*CredentialInfo) Descriptor() ([]byte, []int) {
|
|
return file_etcd_meta_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *CredentialInfo) GetUsername() string {
|
|
if x != nil {
|
|
return x.Username
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CredentialInfo) GetEncryptedPassword() string {
|
|
if x != nil {
|
|
return x.EncryptedPassword
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CredentialInfo) GetTenant() string {
|
|
if x != nil {
|
|
return x.Tenant
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CredentialInfo) GetIsSuper() bool {
|
|
if x != nil {
|
|
return x.IsSuper
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *CredentialInfo) GetSha256Password() string {
|
|
if x != nil {
|
|
return x.Sha256Password
|
|
}
|
|
return ""
|
|
}
|
|
|
|
var File_etcd_meta_proto protoreflect.FileDescriptor
|
|
|
|
var file_etcd_meta_proto_rawDesc = []byte{
|
|
0x0a, 0x0f, 0x65, 0x74, 0x63, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74,
|
|
0x6f, 0x12, 0x11, 0x6d, 0x69, 0x6c, 0x76, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
|
|
0x65, 0x74, 0x63, 0x64, 0x1a, 0x0c, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f,
|
|
0x74, 0x6f, 0x1a, 0x0c, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
|
0x22, 0xc5, 0x01, 0x0a, 0x09, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1d,
|
|
0x0a, 0x0a, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x09, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a,
|
|
0x07, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07,
|
|
0x69, 0x6e, 0x64, 0x65, 0x78, 0x49, 0x44, 0x12, 0x44, 0x0a, 0x0c, 0x69, 0x6e, 0x64, 0x65, 0x78,
|
|
0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e,
|
|
0x6d, 0x69, 0x6c, 0x76, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x63, 0x6f, 0x6d,
|
|
0x6d, 0x6f, 0x6e, 0x2e, 0x4b, 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x50, 0x61, 0x69, 0x72,
|
|
0x52, 0x0b, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x18, 0x0a,
|
|
0x07, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07,
|
|
0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74,
|
|
0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x63, 0x72,
|
|
0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x44, 0x0a, 0x0e, 0x46, 0x69, 0x65, 0x6c,
|
|
0x64, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x18, 0x0a, 0x07, 0x66, 0x69,
|
|
0x6c, 0x65, 0x64, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x66, 0x69, 0x6c,
|
|
0x65, 0x64, 0x49, 0x44, 0x12, 0x18, 0x0a, 0x07, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x49, 0x44, 0x18,
|
|
0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x49, 0x44, 0x22, 0x90,
|
|
0x06, 0x0a, 0x0e, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66,
|
|
0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x49,
|
|
0x44, 0x12, 0x3d, 0x0a, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
0x0b, 0x32, 0x25, 0x2e, 0x6d, 0x69, 0x6c, 0x76, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
|
0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69,
|
|
0x6f, 0x6e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61,
|
|
0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18,
|
|
0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d,
|
|
0x65, 0x12, 0x22, 0x0a, 0x0c, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44,
|
|
0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x03, 0x52, 0x0c, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69,
|
|
0x6f, 0x6e, 0x49, 0x44, 0x73, 0x12, 0x26, 0x0a, 0x0e, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69,
|
|
0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e, 0x70,
|
|
0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x46, 0x0a,
|
|
0x0d, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x18, 0x06,
|
|
0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6d, 0x69, 0x6c, 0x76, 0x75, 0x73, 0x2e, 0x70, 0x72,
|
|
0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x74, 0x63, 0x64, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x49, 0x6e,
|
|
0x64, 0x65, 0x78, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0c, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x49, 0x6e,
|
|
0x64, 0x65, 0x78, 0x65, 0x73, 0x12, 0x32, 0x0a, 0x15, 0x76, 0x69, 0x72, 0x74, 0x75, 0x61, 0x6c,
|
|
0x5f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x07,
|
|
0x20, 0x03, 0x28, 0x09, 0x52, 0x13, 0x76, 0x69, 0x72, 0x74, 0x75, 0x61, 0x6c, 0x43, 0x68, 0x61,
|
|
0x6e, 0x6e, 0x65, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x34, 0x0a, 0x16, 0x70, 0x68, 0x79,
|
|
0x73, 0x69, 0x63, 0x61, 0x6c, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x6e, 0x61,
|
|
0x6d, 0x65, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x09, 0x52, 0x14, 0x70, 0x68, 0x79, 0x73, 0x69,
|
|
0x63, 0x61, 0x6c, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12,
|
|
0x40, 0x0a, 0x1c, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x72, 0x65,
|
|
0x61, 0x74, 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x73, 0x18,
|
|
0x09, 0x20, 0x03, 0x28, 0x04, 0x52, 0x1a, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e,
|
|
0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,
|
|
0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x68, 0x61, 0x72, 0x64, 0x73, 0x5f, 0x6e, 0x75, 0x6d, 0x18,
|
|
0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x73, 0x68, 0x61, 0x72, 0x64, 0x73, 0x4e, 0x75, 0x6d,
|
|
0x12, 0x49, 0x0a, 0x0f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69,
|
|
0x6f, 0x6e, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x6d, 0x69, 0x6c, 0x76,
|
|
0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e,
|
|
0x4b, 0x65, 0x79, 0x44, 0x61, 0x74, 0x61, 0x50, 0x61, 0x69, 0x72, 0x52, 0x0e, 0x73, 0x74, 0x61,
|
|
0x72, 0x74, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x52, 0x0a, 0x11, 0x63,
|
|
0x6f, 0x6e, 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c,
|
|
0x18, 0x0c, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x6d, 0x69, 0x6c, 0x76, 0x75, 0x73, 0x2e,
|
|
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x43, 0x6f, 0x6e,
|
|
0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x10, 0x63,
|
|
0x6f, 0x6e, 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12,
|
|
0x38, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x22,
|
|
0x2e, 0x6d, 0x69, 0x6c, 0x76, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x74,
|
|
0x63, 0x64, 0x2e, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61,
|
|
0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x41, 0x0a, 0x0a, 0x70, 0x72, 0x6f,
|
|
0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e,
|
|
0x6d, 0x69, 0x6c, 0x76, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x63, 0x6f, 0x6d,
|
|
0x6d, 0x6f, 0x6e, 0x2e, 0x4b, 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x50, 0x61, 0x69, 0x72,
|
|
0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x12, 0x13, 0x0a, 0x05,
|
|
0x64, 0x62, 0x5f, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x64, 0x62, 0x49,
|
|
0x64, 0x22, 0xf5, 0x01, 0x0a, 0x0d, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x49,
|
|
0x6e, 0x66, 0x6f, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e,
|
|
0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74,
|
|
0x69, 0x6f, 0x6e, 0x49, 0x44, 0x12, 0x24, 0x0a, 0x0d, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69,
|
|
0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x70, 0x61,
|
|
0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x3e, 0x0a, 0x1b, 0x70,
|
|
0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64,
|
|
0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04,
|
|
0x52, 0x19, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x72, 0x65, 0x61, 0x74,
|
|
0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x23, 0x0a, 0x0d, 0x63,
|
|
0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01,
|
|
0x28, 0x03, 0x52, 0x0c, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64,
|
|
0x12, 0x37, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32,
|
|
0x21, 0x2e, 0x6d, 0x69, 0x6c, 0x76, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x65,
|
|
0x74, 0x63, 0x64, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61,
|
|
0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0xbc, 0x01, 0x0a, 0x09, 0x41, 0x6c,
|
|
0x69, 0x61, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x6c, 0x69, 0x61, 0x73,
|
|
0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x6c, 0x69,
|
|
0x61, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63,
|
|
0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x63,
|
|
0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x63,
|
|
0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
|
|
0x04, 0x52, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x33,
|
|
0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1d, 0x2e,
|
|
0x6d, 0x69, 0x6c, 0x76, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x74, 0x63,
|
|
0x64, 0x2e, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74,
|
|
0x61, 0x74, 0x65, 0x12, 0x13, 0x0a, 0x05, 0x64, 0x62, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01,
|
|
0x28, 0x03, 0x52, 0x04, 0x64, 0x62, 0x49, 0x64, 0x22, 0xed, 0x01, 0x0a, 0x0c, 0x44, 0x61, 0x74,
|
|
0x61, 0x62, 0x61, 0x73, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x65, 0x6e,
|
|
0x61, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x65,
|
|
0x6e, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02,
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64,
|
|
0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x36, 0x0a, 0x05, 0x73, 0x74,
|
|
0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x20, 0x2e, 0x6d, 0x69, 0x6c, 0x76,
|
|
0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x74, 0x63, 0x64, 0x2e, 0x44, 0x61,
|
|
0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61,
|
|
0x74, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x74, 0x69,
|
|
0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65,
|
|
0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x41, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74,
|
|
0x69, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6d, 0x69, 0x6c, 0x76,
|
|
0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e,
|
|
0x4b, 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x50, 0x61, 0x69, 0x72, 0x52, 0x0a, 0x70, 0x72,
|
|
0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x22, 0x88, 0x02, 0x0a, 0x10, 0x53, 0x65, 0x67,
|
|
0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x22, 0x0a,
|
|
0x0c, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x01, 0x20,
|
|
0x01, 0x28, 0x03, 0x52, 0x0c, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49,
|
|
0x44, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44,
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f,
|
|
0x6e, 0x49, 0x44, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x44,
|
|
0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x49,
|
|
0x44, 0x12, 0x18, 0x0a, 0x07, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x49, 0x44, 0x18, 0x04, 0x20, 0x01,
|
|
0x28, 0x03, 0x52, 0x07, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x49, 0x44, 0x12, 0x18, 0x0a, 0x07, 0x69,
|
|
0x6e, 0x64, 0x65, 0x78, 0x49, 0x44, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x69, 0x6e,
|
|
0x64, 0x65, 0x78, 0x49, 0x44, 0x12, 0x18, 0x0a, 0x07, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x44,
|
|
0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x44, 0x12,
|
|
0x21, 0x0a, 0x0c, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18,
|
|
0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x6e, 0x64,
|
|
0x65, 0x78, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d,
|
|
0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54,
|
|
0x69, 0x6d, 0x65, 0x22, 0xeb, 0x01, 0x0a, 0x0e, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69,
|
|
0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x03, 0x52, 0x02, 0x49, 0x44, 0x12, 0x3d, 0x0a, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61,
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x6d, 0x69, 0x6c, 0x76, 0x75, 0x73, 0x2e,
|
|
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x43, 0x6f, 0x6c,
|
|
0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x06, 0x73,
|
|
0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f,
|
|
0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61,
|
|
0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e,
|
|
0x74, 0x49, 0x44, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x03, 0x52, 0x0a, 0x73, 0x65, 0x67, 0x6d,
|
|
0x65, 0x6e, 0x74, 0x49, 0x44, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74,
|
|
0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x61, 0x67, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d,
|
|
0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x61, 0x67, 0x73, 0x12, 0x22, 0x0a,
|
|
0x0c, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x73, 0x18, 0x06, 0x20,
|
|
0x03, 0x28, 0x03, 0x52, 0x0c, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44,
|
|
0x73, 0x22, 0xb7, 0x01, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c,
|
|
0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65,
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65,
|
|
0x12, 0x2d, 0x0a, 0x12, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x5f, 0x70, 0x61,
|
|
0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x65, 0x6e,
|
|
0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12,
|
|
0x16, 0x0a, 0x06, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x06, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x69, 0x73, 0x5f, 0x73, 0x75,
|
|
0x70, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x69, 0x73, 0x53, 0x75, 0x70,
|
|
0x65, 0x72, 0x12, 0x27, 0x0a, 0x0f, 0x73, 0x68, 0x61, 0x32, 0x35, 0x36, 0x5f, 0x70, 0x61, 0x73,
|
|
0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x73, 0x68, 0x61,
|
|
0x32, 0x35, 0x36, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x2a, 0x7a, 0x0a, 0x0d, 0x44,
|
|
0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x13, 0x0a, 0x0f,
|
|
0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x55, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x10,
|
|
0x00, 0x12, 0x13, 0x0a, 0x0f, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, 0x72, 0x65,
|
|
0x61, 0x74, 0x65, 0x64, 0x10, 0x01, 0x12, 0x14, 0x0a, 0x10, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61,
|
|
0x73, 0x65, 0x43, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x10, 0x02, 0x12, 0x14, 0x0a, 0x10,
|
|
0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x44, 0x72, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67,
|
|
0x10, 0x03, 0x12, 0x13, 0x0a, 0x0f, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x44, 0x72,
|
|
0x6f, 0x70, 0x70, 0x65, 0x64, 0x10, 0x04, 0x2a, 0x6f, 0x0a, 0x0f, 0x43, 0x6f, 0x6c, 0x6c, 0x65,
|
|
0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x43, 0x6f,
|
|
0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x10,
|
|
0x00, 0x12, 0x16, 0x0a, 0x12, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43,
|
|
0x72, 0x65, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x10, 0x01, 0x12, 0x16, 0x0a, 0x12, 0x43, 0x6f, 0x6c,
|
|
0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x72, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x10,
|
|
0x02, 0x12, 0x15, 0x0a, 0x11, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44,
|
|
0x72, 0x6f, 0x70, 0x70, 0x65, 0x64, 0x10, 0x03, 0x2a, 0x6a, 0x0a, 0x0e, 0x50, 0x61, 0x72, 0x74,
|
|
0x69, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x50, 0x61,
|
|
0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x10, 0x00,
|
|
0x12, 0x15, 0x0a, 0x11, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x72, 0x65,
|
|
0x61, 0x74, 0x69, 0x6e, 0x67, 0x10, 0x01, 0x12, 0x15, 0x0a, 0x11, 0x50, 0x61, 0x72, 0x74, 0x69,
|
|
0x74, 0x69, 0x6f, 0x6e, 0x44, 0x72, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x10, 0x02, 0x12, 0x14,
|
|
0x0a, 0x10, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x72, 0x6f, 0x70, 0x70,
|
|
0x65, 0x64, 0x10, 0x03, 0x2a, 0x56, 0x0a, 0x0a, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x53, 0x74, 0x61,
|
|
0x74, 0x65, 0x12, 0x10, 0x0a, 0x0c, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x43, 0x72, 0x65, 0x61, 0x74,
|
|
0x65, 0x64, 0x10, 0x00, 0x12, 0x11, 0x0a, 0x0d, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x43, 0x72, 0x65,
|
|
0x61, 0x74, 0x69, 0x6e, 0x67, 0x10, 0x01, 0x12, 0x11, 0x0a, 0x0d, 0x41, 0x6c, 0x69, 0x61, 0x73,
|
|
0x44, 0x72, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x10, 0x02, 0x12, 0x10, 0x0a, 0x0c, 0x41, 0x6c,
|
|
0x69, 0x61, 0x73, 0x44, 0x72, 0x6f, 0x70, 0x70, 0x65, 0x64, 0x10, 0x03, 0x42, 0x2e, 0x5a, 0x2c,
|
|
0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6d, 0x69, 0x6c, 0x76, 0x75,
|
|
0x73, 0x2d, 0x69, 0x6f, 0x2f, 0x6d, 0x69, 0x6c, 0x76, 0x75, 0x73, 0x2f, 0x70, 0x6b, 0x67, 0x2f,
|
|
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x65, 0x74, 0x63, 0x64, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72,
|
|
0x6f, 0x74, 0x6f, 0x33,
|
|
}
|
|
|
|
var (
|
|
file_etcd_meta_proto_rawDescOnce sync.Once
|
|
file_etcd_meta_proto_rawDescData = file_etcd_meta_proto_rawDesc
|
|
)
|
|
|
|
func file_etcd_meta_proto_rawDescGZIP() []byte {
|
|
file_etcd_meta_proto_rawDescOnce.Do(func() {
|
|
file_etcd_meta_proto_rawDescData = protoimpl.X.CompressGZIP(file_etcd_meta_proto_rawDescData)
|
|
})
|
|
return file_etcd_meta_proto_rawDescData
|
|
}
|
|
|
|
var file_etcd_meta_proto_enumTypes = make([]protoimpl.EnumInfo, 4)
|
|
var file_etcd_meta_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
|
|
var file_etcd_meta_proto_goTypes = []interface{}{
|
|
(DatabaseState)(0), // 0: milvus.proto.etcd.DatabaseState
|
|
(CollectionState)(0), // 1: milvus.proto.etcd.CollectionState
|
|
(PartitionState)(0), // 2: milvus.proto.etcd.PartitionState
|
|
(AliasState)(0), // 3: milvus.proto.etcd.AliasState
|
|
(*IndexInfo)(nil), // 4: milvus.proto.etcd.IndexInfo
|
|
(*FieldIndexInfo)(nil), // 5: milvus.proto.etcd.FieldIndexInfo
|
|
(*CollectionInfo)(nil), // 6: milvus.proto.etcd.CollectionInfo
|
|
(*PartitionInfo)(nil), // 7: milvus.proto.etcd.PartitionInfo
|
|
(*AliasInfo)(nil), // 8: milvus.proto.etcd.AliasInfo
|
|
(*DatabaseInfo)(nil), // 9: milvus.proto.etcd.DatabaseInfo
|
|
(*SegmentIndexInfo)(nil), // 10: milvus.proto.etcd.SegmentIndexInfo
|
|
(*CollectionMeta)(nil), // 11: milvus.proto.etcd.CollectionMeta
|
|
(*CredentialInfo)(nil), // 12: milvus.proto.etcd.CredentialInfo
|
|
(*commonpb.KeyValuePair)(nil), // 13: milvus.proto.common.KeyValuePair
|
|
(*schemapb.CollectionSchema)(nil), // 14: milvus.proto.schema.CollectionSchema
|
|
(*commonpb.KeyDataPair)(nil), // 15: milvus.proto.common.KeyDataPair
|
|
(commonpb.ConsistencyLevel)(0), // 16: milvus.proto.common.ConsistencyLevel
|
|
}
|
|
var file_etcd_meta_proto_depIdxs = []int32{
|
|
13, // 0: milvus.proto.etcd.IndexInfo.index_params:type_name -> milvus.proto.common.KeyValuePair
|
|
14, // 1: milvus.proto.etcd.CollectionInfo.schema:type_name -> milvus.proto.schema.CollectionSchema
|
|
5, // 2: milvus.proto.etcd.CollectionInfo.field_indexes:type_name -> milvus.proto.etcd.FieldIndexInfo
|
|
15, // 3: milvus.proto.etcd.CollectionInfo.start_positions:type_name -> milvus.proto.common.KeyDataPair
|
|
16, // 4: milvus.proto.etcd.CollectionInfo.consistency_level:type_name -> milvus.proto.common.ConsistencyLevel
|
|
1, // 5: milvus.proto.etcd.CollectionInfo.state:type_name -> milvus.proto.etcd.CollectionState
|
|
13, // 6: milvus.proto.etcd.CollectionInfo.properties:type_name -> milvus.proto.common.KeyValuePair
|
|
2, // 7: milvus.proto.etcd.PartitionInfo.state:type_name -> milvus.proto.etcd.PartitionState
|
|
3, // 8: milvus.proto.etcd.AliasInfo.state:type_name -> milvus.proto.etcd.AliasState
|
|
0, // 9: milvus.proto.etcd.DatabaseInfo.state:type_name -> milvus.proto.etcd.DatabaseState
|
|
13, // 10: milvus.proto.etcd.DatabaseInfo.properties:type_name -> milvus.proto.common.KeyValuePair
|
|
14, // 11: milvus.proto.etcd.CollectionMeta.schema:type_name -> milvus.proto.schema.CollectionSchema
|
|
12, // [12:12] is the sub-list for method output_type
|
|
12, // [12:12] is the sub-list for method input_type
|
|
12, // [12:12] is the sub-list for extension type_name
|
|
12, // [12:12] is the sub-list for extension extendee
|
|
0, // [0:12] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_etcd_meta_proto_init() }
|
|
func file_etcd_meta_proto_init() {
|
|
if File_etcd_meta_proto != nil {
|
|
return
|
|
}
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_etcd_meta_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*IndexInfo); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_etcd_meta_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*FieldIndexInfo); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_etcd_meta_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CollectionInfo); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_etcd_meta_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PartitionInfo); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_etcd_meta_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*AliasInfo); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_etcd_meta_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DatabaseInfo); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_etcd_meta_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*SegmentIndexInfo); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_etcd_meta_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CollectionMeta); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_etcd_meta_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CredentialInfo); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: file_etcd_meta_proto_rawDesc,
|
|
NumEnums: 4,
|
|
NumMessages: 9,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_etcd_meta_proto_goTypes,
|
|
DependencyIndexes: file_etcd_meta_proto_depIdxs,
|
|
EnumInfos: file_etcd_meta_proto_enumTypes,
|
|
MessageInfos: file_etcd_meta_proto_msgTypes,
|
|
}.Build()
|
|
File_etcd_meta_proto = out.File
|
|
file_etcd_meta_proto_rawDesc = nil
|
|
file_etcd_meta_proto_goTypes = nil
|
|
file_etcd_meta_proto_depIdxs = nil
|
|
}
|