From 4ca04e4282bcc319b1303192079523016865ee41 Mon Sep 17 00:00:00 2001 From: aoiasd Date: Thu, 26 Dec 2024 19:43:54 +0800 Subject: [PATCH] 1 --- internal/proto/backpb/backup.pb.go | 3960 ++++++++++++++++++++++++++++ 1 file changed, 3960 insertions(+) create mode 100644 internal/proto/backpb/backup.pb.go diff --git a/internal/proto/backpb/backup.pb.go b/internal/proto/backpb/backup.pb.go new file mode 100644 index 0000000000000..fff0429bc3e72 --- /dev/null +++ b/internal/proto/backpb/backup.pb.go @@ -0,0 +1,3960 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: backup.proto + +package backuppb + +import ( + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + _struct "github.com/golang/protobuf/ptypes/struct" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + 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 ResponseCode int32 + +const ( + ResponseCode_Success ResponseCode = 0 + ResponseCode_Not_Support ResponseCode = 1 + ResponseCode_No_Permission ResponseCode = 2 + ResponseCode_Fail ResponseCode = 3 + ResponseCode_Parameter_Error ResponseCode = 400 + ResponseCode_Request_Object_Not_Found ResponseCode = 404 +) + +var ResponseCode_name = map[int32]string{ + 0: "Success", + 1: "Not_Support", + 2: "No_Permission", + 3: "Fail", + 400: "Parameter_Error", + 404: "Request_Object_Not_Found", +} + +var ResponseCode_value = map[string]int32{ + "Success": 0, + "Not_Support": 1, + "No_Permission": 2, + "Fail": 3, + "Parameter_Error": 400, + "Request_Object_Not_Found": 404, +} + +func (x ResponseCode) String() string { + return proto.EnumName(ResponseCode_name, int32(x)) +} + +func (ResponseCode) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_65240d19de191688, []int{0} +} + +type BackupTaskStateCode int32 + +const ( + BackupTaskStateCode_BACKUP_INITIAL BackupTaskStateCode = 0 + BackupTaskStateCode_BACKUP_EXECUTING BackupTaskStateCode = 1 + BackupTaskStateCode_BACKUP_SUCCESS BackupTaskStateCode = 2 + BackupTaskStateCode_BACKUP_FAIL BackupTaskStateCode = 3 + BackupTaskStateCode_BACKUP_TIMEOUT BackupTaskStateCode = 4 +) + +var BackupTaskStateCode_name = map[int32]string{ + 0: "BACKUP_INITIAL", + 1: "BACKUP_EXECUTING", + 2: "BACKUP_SUCCESS", + 3: "BACKUP_FAIL", + 4: "BACKUP_TIMEOUT", +} + +var BackupTaskStateCode_value = map[string]int32{ + "BACKUP_INITIAL": 0, + "BACKUP_EXECUTING": 1, + "BACKUP_SUCCESS": 2, + "BACKUP_FAIL": 3, + "BACKUP_TIMEOUT": 4, +} + +func (x BackupTaskStateCode) String() string { + return proto.EnumName(BackupTaskStateCode_name, int32(x)) +} + +func (BackupTaskStateCode) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_65240d19de191688, []int{1} +} + +type RestoreTaskStateCode int32 + +const ( + RestoreTaskStateCode_INITIAL RestoreTaskStateCode = 0 + RestoreTaskStateCode_EXECUTING RestoreTaskStateCode = 1 + RestoreTaskStateCode_SUCCESS RestoreTaskStateCode = 2 + RestoreTaskStateCode_FAIL RestoreTaskStateCode = 3 + RestoreTaskStateCode_TIMEOUT RestoreTaskStateCode = 4 +) + +var RestoreTaskStateCode_name = map[int32]string{ + 0: "INITIAL", + 1: "EXECUTING", + 2: "SUCCESS", + 3: "FAIL", + 4: "TIMEOUT", +} + +var RestoreTaskStateCode_value = map[string]int32{ + "INITIAL": 0, + "EXECUTING": 1, + "SUCCESS": 2, + "FAIL": 3, + "TIMEOUT": 4, +} + +func (x RestoreTaskStateCode) String() string { + return proto.EnumName(RestoreTaskStateCode_name, int32(x)) +} + +func (RestoreTaskStateCode) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_65240d19de191688, []int{2} +} + +type ConsistencyLevel int32 + +const ( + ConsistencyLevel_Strong ConsistencyLevel = 0 + ConsistencyLevel_Session ConsistencyLevel = 1 + ConsistencyLevel_Bounded ConsistencyLevel = 2 + ConsistencyLevel_Eventually ConsistencyLevel = 3 + ConsistencyLevel_Customized ConsistencyLevel = 4 +) + +var ConsistencyLevel_name = map[int32]string{ + 0: "Strong", + 1: "Session", + 2: "Bounded", + 3: "Eventually", + 4: "Customized", +} + +var ConsistencyLevel_value = map[string]int32{ + "Strong": 0, + "Session": 1, + "Bounded": 2, + "Eventually": 3, + "Customized": 4, +} + +func (x ConsistencyLevel) String() string { + return proto.EnumName(ConsistencyLevel_name, int32(x)) +} + +func (ConsistencyLevel) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_65240d19de191688, []int{3} +} + +// * +// @brief Field data type +type DataType int32 + +const ( + DataType_None DataType = 0 + DataType_Bool DataType = 1 + DataType_Int8 DataType = 2 + DataType_Int16 DataType = 3 + DataType_Int32 DataType = 4 + DataType_Int64 DataType = 5 + DataType_Float DataType = 10 + DataType_Double DataType = 11 + DataType_String DataType = 20 + DataType_VarChar DataType = 21 + DataType_Array DataType = 22 + DataType_Json DataType = 23 + DataType_BinaryVector DataType = 100 + DataType_FloatVector DataType = 101 + DataType_Float16Vector DataType = 102 + DataType_BFloat16Vector DataType = 103 + DataType_SparseFloatVector DataType = 104 +) + +var DataType_name = map[int32]string{ + 0: "None", + 1: "Bool", + 2: "Int8", + 3: "Int16", + 4: "Int32", + 5: "Int64", + 10: "Float", + 11: "Double", + 20: "String", + 21: "VarChar", + 22: "Array", + 23: "Json", + 100: "BinaryVector", + 101: "FloatVector", + 102: "Float16Vector", + 103: "BFloat16Vector", + 104: "SparseFloatVector", +} + +var DataType_value = map[string]int32{ + "None": 0, + "Bool": 1, + "Int8": 2, + "Int16": 3, + "Int32": 4, + "Int64": 5, + "Float": 10, + "Double": 11, + "String": 20, + "VarChar": 21, + "Array": 22, + "Json": 23, + "BinaryVector": 100, + "FloatVector": 101, + "Float16Vector": 102, + "BFloat16Vector": 103, + "SparseFloatVector": 104, +} + +func (x DataType) String() string { + return proto.EnumName(DataType_name, int32(x)) +} + +func (DataType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_65240d19de191688, []int{4} +} + +type FieldState int32 + +const ( + FieldState_FieldCreated FieldState = 0 + FieldState_FieldCreating FieldState = 1 + FieldState_FieldDropping FieldState = 2 + FieldState_FieldDropped FieldState = 3 +) + +var FieldState_name = map[int32]string{ + 0: "FieldCreated", + 1: "FieldCreating", + 2: "FieldDropping", + 3: "FieldDropped", +} + +var FieldState_value = map[string]int32{ + "FieldCreated": 0, + "FieldCreating": 1, + "FieldDropping": 2, + "FieldDropped": 3, +} + +func (x FieldState) String() string { + return proto.EnumName(FieldState_name, int32(x)) +} + +func (FieldState) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_65240d19de191688, []int{5} +} + +type IndexInfo struct { + FieldName string `protobuf:"bytes,1,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"` + IndexName string `protobuf:"bytes,2,opt,name=index_name,json=indexName,proto3" json:"index_name,omitempty"` + IndexType string `protobuf:"bytes,3,opt,name=index_type,json=indexType,proto3" json:"index_type,omitempty"` + Params map[string]string `protobuf:"bytes,4,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 *IndexInfo) Reset() { *m = IndexInfo{} } +func (m *IndexInfo) String() string { return proto.CompactTextString(m) } +func (*IndexInfo) ProtoMessage() {} +func (*IndexInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_65240d19de191688, []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) GetFieldName() string { + if m != nil { + return m.FieldName + } + return "" +} + +func (m *IndexInfo) GetIndexName() string { + if m != nil { + return m.IndexName + } + return "" +} + +func (m *IndexInfo) GetIndexType() string { + if m != nil { + return m.IndexType + } + return "" +} + +func (m *IndexInfo) GetParams() map[string]string { + if m != nil { + return m.Params + } + return nil +} + +// * +// lite version of Collection info +type CollectionBackupInfo struct { + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + StateCode BackupTaskStateCode `protobuf:"varint,2,opt,name=state_code,json=stateCode,proto3,enum=milvus.proto.backup.BackupTaskStateCode" json:"state_code"` + ErrorMessage string `protobuf:"bytes,3,opt,name=errorMessage,proto3" json:"errorMessage,omitempty"` + StartTime int64 `protobuf:"varint,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + EndTime int64 `protobuf:"varint,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + Progress int32 `protobuf:"varint,6,opt,name=progress,proto3" json:"progress"` + CollectionId int64 `protobuf:"varint,7,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"` + DbName string `protobuf:"bytes,8,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"` + CollectionName string `protobuf:"bytes,9,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` + Schema *CollectionSchema `protobuf:"bytes,10,opt,name=schema,proto3" json:"schema,omitempty"` + ShardsNum int32 `protobuf:"varint,11,opt,name=shards_num,json=shardsNum,proto3" json:"shards_num,omitempty"` + ConsistencyLevel ConsistencyLevel `protobuf:"varint,12,opt,name=consistency_level,json=consistencyLevel,proto3,enum=milvus.proto.backup.ConsistencyLevel" json:"consistency_level,omitempty"` + PartitionBackups []*PartitionBackupInfo `protobuf:"bytes,13,rep,name=partition_backups,json=partitionBackups,proto3" json:"partition_backups,omitempty"` + // logical time of backup, used for restore + BackupTimestamp uint64 `protobuf:"varint,14,opt,name=backup_timestamp,json=backupTimestamp,proto3" json:"backup_timestamp,omitempty"` + Size int64 `protobuf:"varint,15,opt,name=size,proto3" json:"size"` + HasIndex bool `protobuf:"varint,16,opt,name=has_index,json=hasIndex,proto3" json:"has_index"` + IndexInfos []*IndexInfo `protobuf:"bytes,17,rep,name=index_infos,json=indexInfos,proto3" json:"index_infos,omitempty"` + LoadState string `protobuf:"bytes,18,opt,name=load_state,json=loadState,proto3" json:"load_state,omitempty"` + // physical unix time of backup + BackupPhysicalTimestamp uint64 `protobuf:"varint,19,opt,name=backup_physical_timestamp,json=backupPhysicalTimestamp,proto3" json:"backup_physical_timestamp,omitempty"` + ChannelCheckpoints map[string]string `protobuf:"bytes,20,rep,name=channel_checkpoints,json=channelCheckpoints,proto3" json:"channel_checkpoints,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + L0Segments []*SegmentBackupInfo `protobuf:"bytes,21,rep,name=l0_segments,json=l0Segments,proto3" json:"l0_segments,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CollectionBackupInfo) Reset() { *m = CollectionBackupInfo{} } +func (m *CollectionBackupInfo) String() string { return proto.CompactTextString(m) } +func (*CollectionBackupInfo) ProtoMessage() {} +func (*CollectionBackupInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_65240d19de191688, []int{1} +} + +func (m *CollectionBackupInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CollectionBackupInfo.Unmarshal(m, b) +} +func (m *CollectionBackupInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CollectionBackupInfo.Marshal(b, m, deterministic) +} +func (m *CollectionBackupInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_CollectionBackupInfo.Merge(m, src) +} +func (m *CollectionBackupInfo) XXX_Size() int { + return xxx_messageInfo_CollectionBackupInfo.Size(m) +} +func (m *CollectionBackupInfo) XXX_DiscardUnknown() { + xxx_messageInfo_CollectionBackupInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_CollectionBackupInfo proto.InternalMessageInfo + +func (m *CollectionBackupInfo) GetId() string { + if m != nil { + return m.Id + } + return "" +} + +func (m *CollectionBackupInfo) GetStateCode() BackupTaskStateCode { + if m != nil { + return m.StateCode + } + return BackupTaskStateCode_BACKUP_INITIAL +} + +func (m *CollectionBackupInfo) GetErrorMessage() string { + if m != nil { + return m.ErrorMessage + } + return "" +} + +func (m *CollectionBackupInfo) GetStartTime() int64 { + if m != nil { + return m.StartTime + } + return 0 +} + +func (m *CollectionBackupInfo) GetEndTime() int64 { + if m != nil { + return m.EndTime + } + return 0 +} + +func (m *CollectionBackupInfo) GetProgress() int32 { + if m != nil { + return m.Progress + } + return 0 +} + +func (m *CollectionBackupInfo) GetCollectionId() int64 { + if m != nil { + return m.CollectionId + } + return 0 +} + +func (m *CollectionBackupInfo) GetDbName() string { + if m != nil { + return m.DbName + } + return "" +} + +func (m *CollectionBackupInfo) GetCollectionName() string { + if m != nil { + return m.CollectionName + } + return "" +} + +func (m *CollectionBackupInfo) GetSchema() *CollectionSchema { + if m != nil { + return m.Schema + } + return nil +} + +func (m *CollectionBackupInfo) GetShardsNum() int32 { + if m != nil { + return m.ShardsNum + } + return 0 +} + +func (m *CollectionBackupInfo) GetConsistencyLevel() ConsistencyLevel { + if m != nil { + return m.ConsistencyLevel + } + return ConsistencyLevel_Strong +} + +func (m *CollectionBackupInfo) GetPartitionBackups() []*PartitionBackupInfo { + if m != nil { + return m.PartitionBackups + } + return nil +} + +func (m *CollectionBackupInfo) GetBackupTimestamp() uint64 { + if m != nil { + return m.BackupTimestamp + } + return 0 +} + +func (m *CollectionBackupInfo) GetSize() int64 { + if m != nil { + return m.Size + } + return 0 +} + +func (m *CollectionBackupInfo) GetHasIndex() bool { + if m != nil { + return m.HasIndex + } + return false +} + +func (m *CollectionBackupInfo) GetIndexInfos() []*IndexInfo { + if m != nil { + return m.IndexInfos + } + return nil +} + +func (m *CollectionBackupInfo) GetLoadState() string { + if m != nil { + return m.LoadState + } + return "" +} + +func (m *CollectionBackupInfo) GetBackupPhysicalTimestamp() uint64 { + if m != nil { + return m.BackupPhysicalTimestamp + } + return 0 +} + +func (m *CollectionBackupInfo) GetChannelCheckpoints() map[string]string { + if m != nil { + return m.ChannelCheckpoints + } + return nil +} + +func (m *CollectionBackupInfo) GetL0Segments() []*SegmentBackupInfo { + if m != nil { + return m.L0Segments + } + return nil +} + +type PartitionBackupInfo struct { + PartitionId int64 `protobuf:"varint,1,opt,name=partition_id,json=partitionId,proto3" json:"partition_id,omitempty"` + PartitionName string `protobuf:"bytes,2,opt,name=partition_name,json=partitionName,proto3" json:"partition_name,omitempty"` + CollectionId int64 `protobuf:"varint,3,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"` + // array of segment backup + SegmentBackups []*SegmentBackupInfo `protobuf:"bytes,4,rep,name=segment_backups,json=segmentBackups,proto3" json:"segment_backups,omitempty"` + Size int64 `protobuf:"varint,5,opt,name=size,proto3" json:"size"` + LoadState string `protobuf:"bytes,6,opt,name=load_state,json=loadState,proto3" json:"load_state,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *PartitionBackupInfo) Reset() { *m = PartitionBackupInfo{} } +func (m *PartitionBackupInfo) String() string { return proto.CompactTextString(m) } +func (*PartitionBackupInfo) ProtoMessage() {} +func (*PartitionBackupInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_65240d19de191688, []int{2} +} + +func (m *PartitionBackupInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PartitionBackupInfo.Unmarshal(m, b) +} +func (m *PartitionBackupInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PartitionBackupInfo.Marshal(b, m, deterministic) +} +func (m *PartitionBackupInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_PartitionBackupInfo.Merge(m, src) +} +func (m *PartitionBackupInfo) XXX_Size() int { + return xxx_messageInfo_PartitionBackupInfo.Size(m) +} +func (m *PartitionBackupInfo) XXX_DiscardUnknown() { + xxx_messageInfo_PartitionBackupInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_PartitionBackupInfo proto.InternalMessageInfo + +func (m *PartitionBackupInfo) GetPartitionId() int64 { + if m != nil { + return m.PartitionId + } + return 0 +} + +func (m *PartitionBackupInfo) GetPartitionName() string { + if m != nil { + return m.PartitionName + } + return "" +} + +func (m *PartitionBackupInfo) GetCollectionId() int64 { + if m != nil { + return m.CollectionId + } + return 0 +} + +func (m *PartitionBackupInfo) GetSegmentBackups() []*SegmentBackupInfo { + if m != nil { + return m.SegmentBackups + } + return nil +} + +func (m *PartitionBackupInfo) GetSize() int64 { + if m != nil { + return m.Size + } + return 0 +} + +func (m *PartitionBackupInfo) GetLoadState() string { + if m != nil { + return m.LoadState + } + return "" +} + +// * +// lite version of datapb.SegmentInfo +type SegmentBackupInfo struct { + SegmentId int64 `protobuf:"varint,1,opt,name=segment_id,json=segmentId,proto3" json:"segment_id,omitempty"` + CollectionId int64 `protobuf:"varint,2,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"` + PartitionId int64 `protobuf:"varint,3,opt,name=partition_id,json=partitionId,proto3" json:"partition_id,omitempty"` + NumOfRows int64 `protobuf:"varint,4,opt,name=num_of_rows,json=numOfRows,proto3" json:"num_of_rows,omitempty"` + Binlogs []*FieldBinlog `protobuf:"bytes,5,rep,name=binlogs,proto3" json:"binlogs,omitempty"` + Statslogs []*FieldBinlog `protobuf:"bytes,6,rep,name=statslogs,proto3" json:"statslogs,omitempty"` + Deltalogs []*FieldBinlog `protobuf:"bytes,7,rep,name=deltalogs,proto3" json:"deltalogs,omitempty"` + Size int64 `protobuf:"varint,8,opt,name=size,proto3" json:"size"` + // separate segments into multi groups by size, + // segments in one group will be copied into one directory during backup + // and will bulkinsert in one call during restore + GroupId int64 `protobuf:"varint,9,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` + Backuped bool `protobuf:"varint,10,opt,name=backuped,proto3" json:"backuped,omitempty"` + IsL0 bool `protobuf:"varint,11,opt,name=is_l0,json=isL0,proto3" json:"is_l0,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SegmentBackupInfo) Reset() { *m = SegmentBackupInfo{} } +func (m *SegmentBackupInfo) String() string { return proto.CompactTextString(m) } +func (*SegmentBackupInfo) ProtoMessage() {} +func (*SegmentBackupInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_65240d19de191688, []int{3} +} + +func (m *SegmentBackupInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SegmentBackupInfo.Unmarshal(m, b) +} +func (m *SegmentBackupInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SegmentBackupInfo.Marshal(b, m, deterministic) +} +func (m *SegmentBackupInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_SegmentBackupInfo.Merge(m, src) +} +func (m *SegmentBackupInfo) XXX_Size() int { + return xxx_messageInfo_SegmentBackupInfo.Size(m) +} +func (m *SegmentBackupInfo) XXX_DiscardUnknown() { + xxx_messageInfo_SegmentBackupInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_SegmentBackupInfo proto.InternalMessageInfo + +func (m *SegmentBackupInfo) GetSegmentId() int64 { + if m != nil { + return m.SegmentId + } + return 0 +} + +func (m *SegmentBackupInfo) GetCollectionId() int64 { + if m != nil { + return m.CollectionId + } + return 0 +} + +func (m *SegmentBackupInfo) GetPartitionId() int64 { + if m != nil { + return m.PartitionId + } + return 0 +} + +func (m *SegmentBackupInfo) GetNumOfRows() int64 { + if m != nil { + return m.NumOfRows + } + return 0 +} + +func (m *SegmentBackupInfo) GetBinlogs() []*FieldBinlog { + if m != nil { + return m.Binlogs + } + return nil +} + +func (m *SegmentBackupInfo) GetStatslogs() []*FieldBinlog { + if m != nil { + return m.Statslogs + } + return nil +} + +func (m *SegmentBackupInfo) GetDeltalogs() []*FieldBinlog { + if m != nil { + return m.Deltalogs + } + return nil +} + +func (m *SegmentBackupInfo) GetSize() int64 { + if m != nil { + return m.Size + } + return 0 +} + +func (m *SegmentBackupInfo) GetGroupId() int64 { + if m != nil { + return m.GroupId + } + return 0 +} + +func (m *SegmentBackupInfo) GetBackuped() bool { + if m != nil { + return m.Backuped + } + return false +} + +func (m *SegmentBackupInfo) GetIsL0() bool { + if m != nil { + return m.IsL0 + } + return false +} + +// * +// root of backup +type BackupInfo struct { + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + StateCode BackupTaskStateCode `protobuf:"varint,2,opt,name=state_code,json=stateCode,proto3,enum=milvus.proto.backup.BackupTaskStateCode" json:"state_code"` + ErrorMessage string `protobuf:"bytes,3,opt,name=errorMessage,proto3" json:"errorMessage,omitempty"` + StartTime int64 `protobuf:"varint,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + EndTime int64 `protobuf:"varint,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + Progress int32 `protobuf:"varint,6,opt,name=progress,proto3" json:"progress"` + Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"` + // backup timestamp + BackupTimestamp uint64 `protobuf:"varint,8,opt,name=backup_timestamp,json=backupTimestamp,proto3" json:"backup_timestamp,omitempty"` + // array of collection backup + CollectionBackups []*CollectionBackupInfo `protobuf:"bytes,9,rep,name=collection_backups,json=collectionBackups,proto3" json:"collection_backups,omitempty"` + Size int64 `protobuf:"varint,10,opt,name=size,proto3" json:"size"` + MilvusVersion string `protobuf:"bytes,11,opt,name=milvus_version,json=milvusVersion,proto3" json:"milvus_version,omitempty"` + RbacMeta *RBACMeta `protobuf:"bytes,12,opt,name=rbac_meta,json=rbacMeta,proto3" json:"rbac_meta,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *BackupInfo) Reset() { *m = BackupInfo{} } +func (m *BackupInfo) String() string { return proto.CompactTextString(m) } +func (*BackupInfo) ProtoMessage() {} +func (*BackupInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_65240d19de191688, []int{4} +} + +func (m *BackupInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_BackupInfo.Unmarshal(m, b) +} +func (m *BackupInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_BackupInfo.Marshal(b, m, deterministic) +} +func (m *BackupInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_BackupInfo.Merge(m, src) +} +func (m *BackupInfo) XXX_Size() int { + return xxx_messageInfo_BackupInfo.Size(m) +} +func (m *BackupInfo) XXX_DiscardUnknown() { + xxx_messageInfo_BackupInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_BackupInfo proto.InternalMessageInfo + +func (m *BackupInfo) GetId() string { + if m != nil { + return m.Id + } + return "" +} + +func (m *BackupInfo) GetStateCode() BackupTaskStateCode { + if m != nil { + return m.StateCode + } + return BackupTaskStateCode_BACKUP_INITIAL +} + +func (m *BackupInfo) GetErrorMessage() string { + if m != nil { + return m.ErrorMessage + } + return "" +} + +func (m *BackupInfo) GetStartTime() int64 { + if m != nil { + return m.StartTime + } + return 0 +} + +func (m *BackupInfo) GetEndTime() int64 { + if m != nil { + return m.EndTime + } + return 0 +} + +func (m *BackupInfo) GetProgress() int32 { + if m != nil { + return m.Progress + } + return 0 +} + +func (m *BackupInfo) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *BackupInfo) GetBackupTimestamp() uint64 { + if m != nil { + return m.BackupTimestamp + } + return 0 +} + +func (m *BackupInfo) GetCollectionBackups() []*CollectionBackupInfo { + if m != nil { + return m.CollectionBackups + } + return nil +} + +func (m *BackupInfo) GetSize() int64 { + if m != nil { + return m.Size + } + return 0 +} + +func (m *BackupInfo) GetMilvusVersion() string { + if m != nil { + return m.MilvusVersion + } + return "" +} + +func (m *BackupInfo) GetRbacMeta() *RBACMeta { + if m != nil { + return m.RbacMeta + } + return nil +} + +// * +// For level storage +type CollectionLevelBackupInfo struct { + Infos []*CollectionBackupInfo `protobuf:"bytes,1,rep,name=infos,proto3" json:"infos,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CollectionLevelBackupInfo) Reset() { *m = CollectionLevelBackupInfo{} } +func (m *CollectionLevelBackupInfo) String() string { return proto.CompactTextString(m) } +func (*CollectionLevelBackupInfo) ProtoMessage() {} +func (*CollectionLevelBackupInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_65240d19de191688, []int{5} +} + +func (m *CollectionLevelBackupInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CollectionLevelBackupInfo.Unmarshal(m, b) +} +func (m *CollectionLevelBackupInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CollectionLevelBackupInfo.Marshal(b, m, deterministic) +} +func (m *CollectionLevelBackupInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_CollectionLevelBackupInfo.Merge(m, src) +} +func (m *CollectionLevelBackupInfo) XXX_Size() int { + return xxx_messageInfo_CollectionLevelBackupInfo.Size(m) +} +func (m *CollectionLevelBackupInfo) XXX_DiscardUnknown() { + xxx_messageInfo_CollectionLevelBackupInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_CollectionLevelBackupInfo proto.InternalMessageInfo + +func (m *CollectionLevelBackupInfo) GetInfos() []*CollectionBackupInfo { + if m != nil { + return m.Infos + } + return nil +} + +// * +// For level storage +type PartitionLevelBackupInfo struct { + Infos []*PartitionBackupInfo `protobuf:"bytes,1,rep,name=infos,proto3" json:"infos,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *PartitionLevelBackupInfo) Reset() { *m = PartitionLevelBackupInfo{} } +func (m *PartitionLevelBackupInfo) String() string { return proto.CompactTextString(m) } +func (*PartitionLevelBackupInfo) ProtoMessage() {} +func (*PartitionLevelBackupInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_65240d19de191688, []int{6} +} + +func (m *PartitionLevelBackupInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PartitionLevelBackupInfo.Unmarshal(m, b) +} +func (m *PartitionLevelBackupInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PartitionLevelBackupInfo.Marshal(b, m, deterministic) +} +func (m *PartitionLevelBackupInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_PartitionLevelBackupInfo.Merge(m, src) +} +func (m *PartitionLevelBackupInfo) XXX_Size() int { + return xxx_messageInfo_PartitionLevelBackupInfo.Size(m) +} +func (m *PartitionLevelBackupInfo) XXX_DiscardUnknown() { + xxx_messageInfo_PartitionLevelBackupInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_PartitionLevelBackupInfo proto.InternalMessageInfo + +func (m *PartitionLevelBackupInfo) GetInfos() []*PartitionBackupInfo { + if m != nil { + return m.Infos + } + return nil +} + +// * +// For level storage +type SegmentLevelBackupInfo struct { + Infos []*SegmentBackupInfo `protobuf:"bytes,1,rep,name=infos,proto3" json:"infos,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SegmentLevelBackupInfo) Reset() { *m = SegmentLevelBackupInfo{} } +func (m *SegmentLevelBackupInfo) String() string { return proto.CompactTextString(m) } +func (*SegmentLevelBackupInfo) ProtoMessage() {} +func (*SegmentLevelBackupInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_65240d19de191688, []int{7} +} + +func (m *SegmentLevelBackupInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SegmentLevelBackupInfo.Unmarshal(m, b) +} +func (m *SegmentLevelBackupInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SegmentLevelBackupInfo.Marshal(b, m, deterministic) +} +func (m *SegmentLevelBackupInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_SegmentLevelBackupInfo.Merge(m, src) +} +func (m *SegmentLevelBackupInfo) XXX_Size() int { + return xxx_messageInfo_SegmentLevelBackupInfo.Size(m) +} +func (m *SegmentLevelBackupInfo) XXX_DiscardUnknown() { + xxx_messageInfo_SegmentLevelBackupInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_SegmentLevelBackupInfo proto.InternalMessageInfo + +func (m *SegmentLevelBackupInfo) GetInfos() []*SegmentBackupInfo { + if m != nil { + return m.Infos + } + return nil +} + +// * +// Create Backup in milvus +type CreateBackupRequest struct { + // uuid of request, will generate one if not set + RequestId string `protobuf:"bytes,1,opt,name=requestId,proto3" json:"requestId,omitempty"` + // backup name, will generate one if not set + BackupName string `protobuf:"bytes,2,opt,name=backup_name,json=backupName,proto3" json:"backup_name,omitempty"` + // collection names to backup, empty to backup all + CollectionNames []string `protobuf:"bytes,3,rep,name=collection_names,json=collectionNames,proto3" json:"collection_names,omitempty"` + // async or not + Async bool `protobuf:"varint,4,opt,name=async,proto3" json:"async,omitempty"` + // database and collections to backup. A json string. To support database. 2023.7.7 + DbCollections *_struct.Value `protobuf:"bytes,5,opt,name=db_collections,json=dbCollections,proto3" json:"db_collections,omitempty"` + // force backup skip flush, Should make sure data has been stored into disk when using it + Force bool `protobuf:"varint,6,opt,name=force,proto3" json:"force,omitempty"` + // only backup meta, including collection schema and index info + MetaOnly bool `protobuf:"varint,7,opt,name=meta_only,json=metaOnly,proto3" json:"meta_only,omitempty"` + // if true, stop GC to avoid the data compacted and GCed during backup, use it when the data to backup is very large. + GcPauseEnable bool `protobuf:"varint,8,opt,name=gc_pause_enable,json=gcPauseEnable,proto3" json:"gc_pause_enable,omitempty"` + // gc pause seconds, set it larger than the time cost of backup + GcPauseSeconds int32 `protobuf:"varint,9,opt,name=gc_pause_seconds,json=gcPauseSeconds,proto3" json:"gc_pause_seconds,omitempty"` + // gc pause API address + GcPauseAddress string `protobuf:"bytes,10,opt,name=gc_pause_address,json=gcPauseAddress,proto3" json:"gc_pause_address,omitempty"` + // whether backup RBAC + Rbac bool `protobuf:"varint,11,opt,name=rbac,proto3" json:"rbac,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CreateBackupRequest) Reset() { *m = CreateBackupRequest{} } +func (m *CreateBackupRequest) String() string { return proto.CompactTextString(m) } +func (*CreateBackupRequest) ProtoMessage() {} +func (*CreateBackupRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_65240d19de191688, []int{8} +} + +func (m *CreateBackupRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CreateBackupRequest.Unmarshal(m, b) +} +func (m *CreateBackupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CreateBackupRequest.Marshal(b, m, deterministic) +} +func (m *CreateBackupRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateBackupRequest.Merge(m, src) +} +func (m *CreateBackupRequest) XXX_Size() int { + return xxx_messageInfo_CreateBackupRequest.Size(m) +} +func (m *CreateBackupRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CreateBackupRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateBackupRequest proto.InternalMessageInfo + +func (m *CreateBackupRequest) GetRequestId() string { + if m != nil { + return m.RequestId + } + return "" +} + +func (m *CreateBackupRequest) GetBackupName() string { + if m != nil { + return m.BackupName + } + return "" +} + +func (m *CreateBackupRequest) GetCollectionNames() []string { + if m != nil { + return m.CollectionNames + } + return nil +} + +func (m *CreateBackupRequest) GetAsync() bool { + if m != nil { + return m.Async + } + return false +} + +func (m *CreateBackupRequest) GetDbCollections() *_struct.Value { + if m != nil { + return m.DbCollections + } + return nil +} + +func (m *CreateBackupRequest) GetForce() bool { + if m != nil { + return m.Force + } + return false +} + +func (m *CreateBackupRequest) GetMetaOnly() bool { + if m != nil { + return m.MetaOnly + } + return false +} + +func (m *CreateBackupRequest) GetGcPauseEnable() bool { + if m != nil { + return m.GcPauseEnable + } + return false +} + +func (m *CreateBackupRequest) GetGcPauseSeconds() int32 { + if m != nil { + return m.GcPauseSeconds + } + return 0 +} + +func (m *CreateBackupRequest) GetGcPauseAddress() string { + if m != nil { + return m.GcPauseAddress + } + return "" +} + +func (m *CreateBackupRequest) GetRbac() bool { + if m != nil { + return m.Rbac + } + return false +} + +// * +// BackupInfoResponse +type BackupInfoResponse struct { + // uuid of the request to response + RequestId string `protobuf:"bytes,1,opt,name=requestId,proto3" json:"requestId,omitempty"` + // response code. 0 means success. others are fail + Code ResponseCode `protobuf:"varint,2,opt,name=code,proto3,enum=milvus.proto.backup.ResponseCode" json:"code,omitempty"` + // error msg if fail + Msg string `protobuf:"bytes,3,opt,name=msg,proto3" json:"msg,omitempty"` + // backup info entity + Data *BackupInfo `protobuf:"bytes,4,opt,name=data,proto3" json:"data"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *BackupInfoResponse) Reset() { *m = BackupInfoResponse{} } +func (m *BackupInfoResponse) String() string { return proto.CompactTextString(m) } +func (*BackupInfoResponse) ProtoMessage() {} +func (*BackupInfoResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_65240d19de191688, []int{9} +} + +func (m *BackupInfoResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_BackupInfoResponse.Unmarshal(m, b) +} +func (m *BackupInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_BackupInfoResponse.Marshal(b, m, deterministic) +} +func (m *BackupInfoResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_BackupInfoResponse.Merge(m, src) +} +func (m *BackupInfoResponse) XXX_Size() int { + return xxx_messageInfo_BackupInfoResponse.Size(m) +} +func (m *BackupInfoResponse) XXX_DiscardUnknown() { + xxx_messageInfo_BackupInfoResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_BackupInfoResponse proto.InternalMessageInfo + +func (m *BackupInfoResponse) GetRequestId() string { + if m != nil { + return m.RequestId + } + return "" +} + +func (m *BackupInfoResponse) GetCode() ResponseCode { + if m != nil { + return m.Code + } + return ResponseCode_Success +} + +func (m *BackupInfoResponse) GetMsg() string { + if m != nil { + return m.Msg + } + return "" +} + +func (m *BackupInfoResponse) GetData() *BackupInfo { + if m != nil { + return m.Data + } + return nil +} + +type GetBackupRequest struct { + // uuid of request, will generate one if not set + RequestId string `protobuf:"bytes,1,opt,name=requestId,proto3" json:"requestId,omitempty"` + // backup name to query, backup_name or backup_id is needed + BackupName string `protobuf:"bytes,2,opt,name=backup_name,json=backupName,proto3" json:"backup_name,omitempty"` + // backup to query + BackupId string `protobuf:"bytes,3,opt,name=backup_id,json=backupId,proto3" json:"backup_id,omitempty"` + // if bucket_name and path is set. will override bucket/path in config. + BucketName string `protobuf:"bytes,4,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` + // if bucket_name and path is set. will override bucket/path in config. + Path string `protobuf:"bytes,5,opt,name=path,proto3" json:"path,omitempty"` + // if true, return simple response without too much detail to display + WithoutDetail bool `protobuf:"varint,6,opt,name=without_detail,json=withoutDetail,proto3" json:"without_detail,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetBackupRequest) Reset() { *m = GetBackupRequest{} } +func (m *GetBackupRequest) String() string { return proto.CompactTextString(m) } +func (*GetBackupRequest) ProtoMessage() {} +func (*GetBackupRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_65240d19de191688, []int{10} +} + +func (m *GetBackupRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetBackupRequest.Unmarshal(m, b) +} +func (m *GetBackupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetBackupRequest.Marshal(b, m, deterministic) +} +func (m *GetBackupRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetBackupRequest.Merge(m, src) +} +func (m *GetBackupRequest) XXX_Size() int { + return xxx_messageInfo_GetBackupRequest.Size(m) +} +func (m *GetBackupRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetBackupRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetBackupRequest proto.InternalMessageInfo + +func (m *GetBackupRequest) GetRequestId() string { + if m != nil { + return m.RequestId + } + return "" +} + +func (m *GetBackupRequest) GetBackupName() string { + if m != nil { + return m.BackupName + } + return "" +} + +func (m *GetBackupRequest) GetBackupId() string { + if m != nil { + return m.BackupId + } + return "" +} + +func (m *GetBackupRequest) GetBucketName() string { + if m != nil { + return m.BucketName + } + return "" +} + +func (m *GetBackupRequest) GetPath() string { + if m != nil { + return m.Path + } + return "" +} + +func (m *GetBackupRequest) GetWithoutDetail() bool { + if m != nil { + return m.WithoutDetail + } + return false +} + +type ListBackupsRequest struct { + // uuid of request, will generate one if not set + RequestId string `protobuf:"bytes,1,opt,name=requestId,proto3" json:"requestId,omitempty"` + // if collection_name is set, will only return backups contains this collection + CollectionName string `protobuf:"bytes,2,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListBackupsRequest) Reset() { *m = ListBackupsRequest{} } +func (m *ListBackupsRequest) String() string { return proto.CompactTextString(m) } +func (*ListBackupsRequest) ProtoMessage() {} +func (*ListBackupsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_65240d19de191688, []int{11} +} + +func (m *ListBackupsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListBackupsRequest.Unmarshal(m, b) +} +func (m *ListBackupsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListBackupsRequest.Marshal(b, m, deterministic) +} +func (m *ListBackupsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListBackupsRequest.Merge(m, src) +} +func (m *ListBackupsRequest) XXX_Size() int { + return xxx_messageInfo_ListBackupsRequest.Size(m) +} +func (m *ListBackupsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListBackupsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListBackupsRequest proto.InternalMessageInfo + +func (m *ListBackupsRequest) GetRequestId() string { + if m != nil { + return m.RequestId + } + return "" +} + +func (m *ListBackupsRequest) GetCollectionName() string { + if m != nil { + return m.CollectionName + } + return "" +} + +type ListBackupsResponse struct { + // uuid of the request to response + RequestId string `protobuf:"bytes,1,opt,name=requestId,proto3" json:"requestId,omitempty"` + // response code. 0 means success. others are fail + Code ResponseCode `protobuf:"varint,2,opt,name=code,proto3,enum=milvus.proto.backup.ResponseCode" json:"code,omitempty"` + // error msg if fail + Msg string `protobuf:"bytes,3,opt,name=msg,proto3" json:"msg,omitempty"` + // backup info entities + Data []*BackupInfo `protobuf:"bytes,4,rep,name=data,proto3" json:"data"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListBackupsResponse) Reset() { *m = ListBackupsResponse{} } +func (m *ListBackupsResponse) String() string { return proto.CompactTextString(m) } +func (*ListBackupsResponse) ProtoMessage() {} +func (*ListBackupsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_65240d19de191688, []int{12} +} + +func (m *ListBackupsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListBackupsResponse.Unmarshal(m, b) +} +func (m *ListBackupsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListBackupsResponse.Marshal(b, m, deterministic) +} +func (m *ListBackupsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListBackupsResponse.Merge(m, src) +} +func (m *ListBackupsResponse) XXX_Size() int { + return xxx_messageInfo_ListBackupsResponse.Size(m) +} +func (m *ListBackupsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListBackupsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListBackupsResponse proto.InternalMessageInfo + +func (m *ListBackupsResponse) GetRequestId() string { + if m != nil { + return m.RequestId + } + return "" +} + +func (m *ListBackupsResponse) GetCode() ResponseCode { + if m != nil { + return m.Code + } + return ResponseCode_Success +} + +func (m *ListBackupsResponse) GetMsg() string { + if m != nil { + return m.Msg + } + return "" +} + +func (m *ListBackupsResponse) GetData() []*BackupInfo { + if m != nil { + return m.Data + } + return nil +} + +type DeleteBackupRequest struct { + // uuid of request, will generate one if not set + RequestId string `protobuf:"bytes,1,opt,name=requestId,proto3" json:"requestId,omitempty"` + // backup name + BackupName string `protobuf:"bytes,2,opt,name=backup_name,json=backupName,proto3" json:"backup_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DeleteBackupRequest) Reset() { *m = DeleteBackupRequest{} } +func (m *DeleteBackupRequest) String() string { return proto.CompactTextString(m) } +func (*DeleteBackupRequest) ProtoMessage() {} +func (*DeleteBackupRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_65240d19de191688, []int{13} +} + +func (m *DeleteBackupRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeleteBackupRequest.Unmarshal(m, b) +} +func (m *DeleteBackupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeleteBackupRequest.Marshal(b, m, deterministic) +} +func (m *DeleteBackupRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteBackupRequest.Merge(m, src) +} +func (m *DeleteBackupRequest) XXX_Size() int { + return xxx_messageInfo_DeleteBackupRequest.Size(m) +} +func (m *DeleteBackupRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DeleteBackupRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_DeleteBackupRequest proto.InternalMessageInfo + +func (m *DeleteBackupRequest) GetRequestId() string { + if m != nil { + return m.RequestId + } + return "" +} + +func (m *DeleteBackupRequest) GetBackupName() string { + if m != nil { + return m.BackupName + } + return "" +} + +type DeleteBackupResponse struct { + // uuid of the request to response + RequestId string `protobuf:"bytes,1,opt,name=requestId,proto3" json:"requestId,omitempty"` + // response code. 0 means success. others are fail + Code ResponseCode `protobuf:"varint,2,opt,name=code,proto3,enum=milvus.proto.backup.ResponseCode" json:"code,omitempty"` + // error msg if fail + Msg string `protobuf:"bytes,3,opt,name=msg,proto3" json:"msg,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DeleteBackupResponse) Reset() { *m = DeleteBackupResponse{} } +func (m *DeleteBackupResponse) String() string { return proto.CompactTextString(m) } +func (*DeleteBackupResponse) ProtoMessage() {} +func (*DeleteBackupResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_65240d19de191688, []int{14} +} + +func (m *DeleteBackupResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeleteBackupResponse.Unmarshal(m, b) +} +func (m *DeleteBackupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeleteBackupResponse.Marshal(b, m, deterministic) +} +func (m *DeleteBackupResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteBackupResponse.Merge(m, src) +} +func (m *DeleteBackupResponse) XXX_Size() int { + return xxx_messageInfo_DeleteBackupResponse.Size(m) +} +func (m *DeleteBackupResponse) XXX_DiscardUnknown() { + xxx_messageInfo_DeleteBackupResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_DeleteBackupResponse proto.InternalMessageInfo + +func (m *DeleteBackupResponse) GetRequestId() string { + if m != nil { + return m.RequestId + } + return "" +} + +func (m *DeleteBackupResponse) GetCode() ResponseCode { + if m != nil { + return m.Code + } + return ResponseCode_Success +} + +func (m *DeleteBackupResponse) GetMsg() string { + if m != nil { + return m.Msg + } + return "" +} + +type RestoreBackupRequest struct { + // uuid of request, will generate one if not set + RequestId string `protobuf:"bytes,1,opt,name=requestId,proto3" json:"requestId,omitempty"` + // backup name to restore + BackupName string `protobuf:"bytes,2,opt,name=backup_name,json=backupName,proto3" json:"backup_name,omitempty"` + // collections to restore + CollectionNames []string `protobuf:"bytes,3,rep,name=collection_names,json=collectionNames,proto3" json:"collection_names,omitempty"` + // Support two ways to rename the collections while recover + // 1, set a suffix + CollectionSuffix string `protobuf:"bytes,4,opt,name=collection_suffix,json=collectionSuffix,proto3" json:"collection_suffix,omitempty"` + // 2, give a map to rename the collections, if not given, use the original name. + // collection_renames has higher priority than collection_suffix + CollectionRenames map[string]string `protobuf:"bytes,5,rep,name=collection_renames,json=collectionRenames,proto3" json:"collection_renames,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + // execute asynchronously or not + Async bool `protobuf:"varint,6,opt,name=async,proto3" json:"async,omitempty"` + // if bucket_name and path is set. will override bucket/path in config. + BucketName string `protobuf:"bytes,7,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` + // if bucket_name and path is set. will override bucket/path in config. + Path string `protobuf:"bytes,8,opt,name=path,proto3" json:"path,omitempty"` + // database and collections to restore. A json string. for example: {"db1":["collection1"],"db2":["collection2","collection3"]} + DbCollections *_struct.Value `protobuf:"bytes,9,opt,name=db_collections,json=dbCollections,proto3" json:"db_collections,omitempty"` + // if true only restore meta, not restore data + MetaOnly bool `protobuf:"varint,10,opt,name=metaOnly,proto3" json:"metaOnly,omitempty"` + // if true restore index info + RestoreIndex bool `protobuf:"varint,11,opt,name=restoreIndex,proto3" json:"restoreIndex,omitempty"` + // if true use autoindex when restore vector index + UseAutoIndex bool `protobuf:"varint,12,opt,name=useAutoIndex,proto3" json:"useAutoIndex,omitempty"` + // if true, drop existing target collection before create + DropExistCollection bool `protobuf:"varint,13,opt,name=dropExistCollection,proto3" json:"dropExistCollection,omitempty"` + // if true, drop existing index of target collection before create + DropExistIndex bool `protobuf:"varint,14,opt,name=dropExistIndex,proto3" json:"dropExistIndex,omitempty"` + // if true, will skip collection, use when collection exist, restore index or data + SkipCreateCollection bool `protobuf:"varint,15,opt,name=skipCreateCollection,proto3" json:"skipCreateCollection,omitempty"` + Id string `protobuf:"bytes,16,opt,name=id,proto3" json:"id,omitempty"` + // if true, skip the diskQuota in Import + SkipImportDiskQuotaCheck bool `protobuf:"varint,17,opt,name=skipImportDiskQuotaCheck,proto3" json:"skipImportDiskQuotaCheck,omitempty"` + // whether restore RBAC + Rbac bool `protobuf:"varint,18,opt,name=rbac,proto3" json:"rbac,omitempty"` + // target max shard number + MaxShardNum int32 `protobuf:"varint,19,opt,name=maxShardNum,proto3" json:"maxShardNum,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RestoreBackupRequest) Reset() { *m = RestoreBackupRequest{} } +func (m *RestoreBackupRequest) String() string { return proto.CompactTextString(m) } +func (*RestoreBackupRequest) ProtoMessage() {} +func (*RestoreBackupRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_65240d19de191688, []int{15} +} + +func (m *RestoreBackupRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RestoreBackupRequest.Unmarshal(m, b) +} +func (m *RestoreBackupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RestoreBackupRequest.Marshal(b, m, deterministic) +} +func (m *RestoreBackupRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RestoreBackupRequest.Merge(m, src) +} +func (m *RestoreBackupRequest) XXX_Size() int { + return xxx_messageInfo_RestoreBackupRequest.Size(m) +} +func (m *RestoreBackupRequest) XXX_DiscardUnknown() { + xxx_messageInfo_RestoreBackupRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_RestoreBackupRequest proto.InternalMessageInfo + +func (m *RestoreBackupRequest) GetRequestId() string { + if m != nil { + return m.RequestId + } + return "" +} + +func (m *RestoreBackupRequest) GetBackupName() string { + if m != nil { + return m.BackupName + } + return "" +} + +func (m *RestoreBackupRequest) GetCollectionNames() []string { + if m != nil { + return m.CollectionNames + } + return nil +} + +func (m *RestoreBackupRequest) GetCollectionSuffix() string { + if m != nil { + return m.CollectionSuffix + } + return "" +} + +func (m *RestoreBackupRequest) GetCollectionRenames() map[string]string { + if m != nil { + return m.CollectionRenames + } + return nil +} + +func (m *RestoreBackupRequest) GetAsync() bool { + if m != nil { + return m.Async + } + return false +} + +func (m *RestoreBackupRequest) GetBucketName() string { + if m != nil { + return m.BucketName + } + return "" +} + +func (m *RestoreBackupRequest) GetPath() string { + if m != nil { + return m.Path + } + return "" +} + +func (m *RestoreBackupRequest) GetDbCollections() *_struct.Value { + if m != nil { + return m.DbCollections + } + return nil +} + +func (m *RestoreBackupRequest) GetMetaOnly() bool { + if m != nil { + return m.MetaOnly + } + return false +} + +func (m *RestoreBackupRequest) GetRestoreIndex() bool { + if m != nil { + return m.RestoreIndex + } + return false +} + +func (m *RestoreBackupRequest) GetUseAutoIndex() bool { + if m != nil { + return m.UseAutoIndex + } + return false +} + +func (m *RestoreBackupRequest) GetDropExistCollection() bool { + if m != nil { + return m.DropExistCollection + } + return false +} + +func (m *RestoreBackupRequest) GetDropExistIndex() bool { + if m != nil { + return m.DropExistIndex + } + return false +} + +func (m *RestoreBackupRequest) GetSkipCreateCollection() bool { + if m != nil { + return m.SkipCreateCollection + } + return false +} + +func (m *RestoreBackupRequest) GetId() string { + if m != nil { + return m.Id + } + return "" +} + +func (m *RestoreBackupRequest) GetSkipImportDiskQuotaCheck() bool { + if m != nil { + return m.SkipImportDiskQuotaCheck + } + return false +} + +func (m *RestoreBackupRequest) GetRbac() bool { + if m != nil { + return m.Rbac + } + return false +} + +func (m *RestoreBackupRequest) GetMaxShardNum() int32 { + if m != nil { + return m.MaxShardNum + } + return 0 +} + +type RestorePartitionTask struct { + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + StateCode RestoreTaskStateCode `protobuf:"varint,2,opt,name=state_code,json=stateCode,proto3,enum=milvus.proto.backup.RestoreTaskStateCode" json:"state_code"` + ErrorMessage string `protobuf:"bytes,3,opt,name=errorMessage,proto3" json:"errorMessage,omitempty"` + StartTime int64 `protobuf:"varint,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + EndTime int64 `protobuf:"varint,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + Progress int32 `protobuf:"varint,6,opt,name=progress,proto3" json:"progress"` + PartBackup *PartitionBackupInfo `protobuf:"bytes,7,opt,name=part_backup,json=partBackup,proto3" json:"part_backup,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RestorePartitionTask) Reset() { *m = RestorePartitionTask{} } +func (m *RestorePartitionTask) String() string { return proto.CompactTextString(m) } +func (*RestorePartitionTask) ProtoMessage() {} +func (*RestorePartitionTask) Descriptor() ([]byte, []int) { + return fileDescriptor_65240d19de191688, []int{16} +} + +func (m *RestorePartitionTask) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RestorePartitionTask.Unmarshal(m, b) +} +func (m *RestorePartitionTask) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RestorePartitionTask.Marshal(b, m, deterministic) +} +func (m *RestorePartitionTask) XXX_Merge(src proto.Message) { + xxx_messageInfo_RestorePartitionTask.Merge(m, src) +} +func (m *RestorePartitionTask) XXX_Size() int { + return xxx_messageInfo_RestorePartitionTask.Size(m) +} +func (m *RestorePartitionTask) XXX_DiscardUnknown() { + xxx_messageInfo_RestorePartitionTask.DiscardUnknown(m) +} + +var xxx_messageInfo_RestorePartitionTask proto.InternalMessageInfo + +func (m *RestorePartitionTask) GetId() string { + if m != nil { + return m.Id + } + return "" +} + +func (m *RestorePartitionTask) GetStateCode() RestoreTaskStateCode { + if m != nil { + return m.StateCode + } + return RestoreTaskStateCode_INITIAL +} + +func (m *RestorePartitionTask) GetErrorMessage() string { + if m != nil { + return m.ErrorMessage + } + return "" +} + +func (m *RestorePartitionTask) GetStartTime() int64 { + if m != nil { + return m.StartTime + } + return 0 +} + +func (m *RestorePartitionTask) GetEndTime() int64 { + if m != nil { + return m.EndTime + } + return 0 +} + +func (m *RestorePartitionTask) GetProgress() int32 { + if m != nil { + return m.Progress + } + return 0 +} + +func (m *RestorePartitionTask) GetPartBackup() *PartitionBackupInfo { + if m != nil { + return m.PartBackup + } + return nil +} + +type RestoreCollectionTask struct { + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + StateCode RestoreTaskStateCode `protobuf:"varint,2,opt,name=state_code,json=stateCode,proto3,enum=milvus.proto.backup.RestoreTaskStateCode" json:"state_code"` + ErrorMessage string `protobuf:"bytes,3,opt,name=errorMessage,proto3" json:"errorMessage,omitempty"` + StartTime int64 `protobuf:"varint,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + EndTime int64 `protobuf:"varint,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + CollBackup *CollectionBackupInfo `protobuf:"bytes,6,opt,name=coll_backup,json=collBackup,proto3" json:"coll_backup,omitempty"` + TargetCollectionName string `protobuf:"bytes,7,opt,name=target_collection_name,json=targetCollectionName,proto3" json:"target_collection_name,omitempty"` + PartitionRestoreTasks []*RestorePartitionTask `protobuf:"bytes,8,rep,name=partition_restore_tasks,json=partitionRestoreTasks,proto3" json:"partition_restore_tasks,omitempty"` + RestoredSize int64 `protobuf:"varint,9,opt,name=restored_size,json=restoredSize,proto3" json:"restored_size"` + ToRestoreSize int64 `protobuf:"varint,10,opt,name=to_restore_size,json=toRestoreSize,proto3" json:"to_restore_size"` + Progress int32 `protobuf:"varint,11,opt,name=progress,proto3" json:"progress"` + TargetDbName string `protobuf:"bytes,12,opt,name=target_db_name,json=targetDbName,proto3" json:"target_db_name,omitempty"` + // if true only restore meta + MetaOnly bool `protobuf:"varint,13,opt,name=metaOnly,proto3" json:"metaOnly,omitempty"` + // if true restore index info + RestoreIndex bool `protobuf:"varint,14,opt,name=restoreIndex,proto3" json:"restoreIndex,omitempty"` + // if true use autoindex when restore vector index + UseAutoIndex bool `protobuf:"varint,15,opt,name=useAutoIndex,proto3" json:"useAutoIndex,omitempty"` + // if true drop the collections + DropExistCollection bool `protobuf:"varint,16,opt,name=dropExistCollection,proto3" json:"dropExistCollection,omitempty"` + // if true drop index info + DropExistIndex bool `protobuf:"varint,17,opt,name=dropExistIndex,proto3" json:"dropExistIndex,omitempty"` + // if true will skip create collections + SkipCreateCollection bool `protobuf:"varint,18,opt,name=skipCreateCollection,proto3" json:"skipCreateCollection,omitempty"` + SkipDiskQuotaCheck bool `protobuf:"varint,19,opt,name=skipDiskQuotaCheck,proto3" json:"skipDiskQuotaCheck,omitempty"` + // target max shard number + MaxShardNum int32 `protobuf:"varint,20,opt,name=maxShardNum,proto3" json:"maxShardNum,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RestoreCollectionTask) Reset() { *m = RestoreCollectionTask{} } +func (m *RestoreCollectionTask) String() string { return proto.CompactTextString(m) } +func (*RestoreCollectionTask) ProtoMessage() {} +func (*RestoreCollectionTask) Descriptor() ([]byte, []int) { + return fileDescriptor_65240d19de191688, []int{17} +} + +func (m *RestoreCollectionTask) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RestoreCollectionTask.Unmarshal(m, b) +} +func (m *RestoreCollectionTask) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RestoreCollectionTask.Marshal(b, m, deterministic) +} +func (m *RestoreCollectionTask) XXX_Merge(src proto.Message) { + xxx_messageInfo_RestoreCollectionTask.Merge(m, src) +} +func (m *RestoreCollectionTask) XXX_Size() int { + return xxx_messageInfo_RestoreCollectionTask.Size(m) +} +func (m *RestoreCollectionTask) XXX_DiscardUnknown() { + xxx_messageInfo_RestoreCollectionTask.DiscardUnknown(m) +} + +var xxx_messageInfo_RestoreCollectionTask proto.InternalMessageInfo + +func (m *RestoreCollectionTask) GetId() string { + if m != nil { + return m.Id + } + return "" +} + +func (m *RestoreCollectionTask) GetStateCode() RestoreTaskStateCode { + if m != nil { + return m.StateCode + } + return RestoreTaskStateCode_INITIAL +} + +func (m *RestoreCollectionTask) GetErrorMessage() string { + if m != nil { + return m.ErrorMessage + } + return "" +} + +func (m *RestoreCollectionTask) GetStartTime() int64 { + if m != nil { + return m.StartTime + } + return 0 +} + +func (m *RestoreCollectionTask) GetEndTime() int64 { + if m != nil { + return m.EndTime + } + return 0 +} + +func (m *RestoreCollectionTask) GetCollBackup() *CollectionBackupInfo { + if m != nil { + return m.CollBackup + } + return nil +} + +func (m *RestoreCollectionTask) GetTargetCollectionName() string { + if m != nil { + return m.TargetCollectionName + } + return "" +} + +func (m *RestoreCollectionTask) GetPartitionRestoreTasks() []*RestorePartitionTask { + if m != nil { + return m.PartitionRestoreTasks + } + return nil +} + +func (m *RestoreCollectionTask) GetRestoredSize() int64 { + if m != nil { + return m.RestoredSize + } + return 0 +} + +func (m *RestoreCollectionTask) GetToRestoreSize() int64 { + if m != nil { + return m.ToRestoreSize + } + return 0 +} + +func (m *RestoreCollectionTask) GetProgress() int32 { + if m != nil { + return m.Progress + } + return 0 +} + +func (m *RestoreCollectionTask) GetTargetDbName() string { + if m != nil { + return m.TargetDbName + } + return "" +} + +func (m *RestoreCollectionTask) GetMetaOnly() bool { + if m != nil { + return m.MetaOnly + } + return false +} + +func (m *RestoreCollectionTask) GetRestoreIndex() bool { + if m != nil { + return m.RestoreIndex + } + return false +} + +func (m *RestoreCollectionTask) GetUseAutoIndex() bool { + if m != nil { + return m.UseAutoIndex + } + return false +} + +func (m *RestoreCollectionTask) GetDropExistCollection() bool { + if m != nil { + return m.DropExistCollection + } + return false +} + +func (m *RestoreCollectionTask) GetDropExistIndex() bool { + if m != nil { + return m.DropExistIndex + } + return false +} + +func (m *RestoreCollectionTask) GetSkipCreateCollection() bool { + if m != nil { + return m.SkipCreateCollection + } + return false +} + +func (m *RestoreCollectionTask) GetSkipDiskQuotaCheck() bool { + if m != nil { + return m.SkipDiskQuotaCheck + } + return false +} + +func (m *RestoreCollectionTask) GetMaxShardNum() int32 { + if m != nil { + return m.MaxShardNum + } + return 0 +} + +type RestoreBackupTask struct { + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + StateCode RestoreTaskStateCode `protobuf:"varint,2,opt,name=state_code,json=stateCode,proto3,enum=milvus.proto.backup.RestoreTaskStateCode" json:"state_code"` + ErrorMessage string `protobuf:"bytes,3,opt,name=errorMessage,proto3" json:"errorMessage,omitempty"` + StartTime int64 `protobuf:"varint,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + EndTime int64 `protobuf:"varint,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + CollectionRestoreTasks []*RestoreCollectionTask `protobuf:"bytes,6,rep,name=collection_restore_tasks,json=collectionRestoreTasks,proto3" json:"collection_restore_tasks,omitempty"` + RestoredSize int64 `protobuf:"varint,7,opt,name=restored_size,json=restoredSize,proto3" json:"restored_size"` + ToRestoreSize int64 `protobuf:"varint,8,opt,name=to_restore_size,json=toRestoreSize,proto3" json:"to_restore_size"` + Progress int32 `protobuf:"varint,9,opt,name=progress,proto3" json:"progress"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RestoreBackupTask) Reset() { *m = RestoreBackupTask{} } +func (m *RestoreBackupTask) String() string { return proto.CompactTextString(m) } +func (*RestoreBackupTask) ProtoMessage() {} +func (*RestoreBackupTask) Descriptor() ([]byte, []int) { + return fileDescriptor_65240d19de191688, []int{18} +} + +func (m *RestoreBackupTask) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RestoreBackupTask.Unmarshal(m, b) +} +func (m *RestoreBackupTask) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RestoreBackupTask.Marshal(b, m, deterministic) +} +func (m *RestoreBackupTask) XXX_Merge(src proto.Message) { + xxx_messageInfo_RestoreBackupTask.Merge(m, src) +} +func (m *RestoreBackupTask) XXX_Size() int { + return xxx_messageInfo_RestoreBackupTask.Size(m) +} +func (m *RestoreBackupTask) XXX_DiscardUnknown() { + xxx_messageInfo_RestoreBackupTask.DiscardUnknown(m) +} + +var xxx_messageInfo_RestoreBackupTask proto.InternalMessageInfo + +func (m *RestoreBackupTask) GetId() string { + if m != nil { + return m.Id + } + return "" +} + +func (m *RestoreBackupTask) GetStateCode() RestoreTaskStateCode { + if m != nil { + return m.StateCode + } + return RestoreTaskStateCode_INITIAL +} + +func (m *RestoreBackupTask) GetErrorMessage() string { + if m != nil { + return m.ErrorMessage + } + return "" +} + +func (m *RestoreBackupTask) GetStartTime() int64 { + if m != nil { + return m.StartTime + } + return 0 +} + +func (m *RestoreBackupTask) GetEndTime() int64 { + if m != nil { + return m.EndTime + } + return 0 +} + +func (m *RestoreBackupTask) GetCollectionRestoreTasks() []*RestoreCollectionTask { + if m != nil { + return m.CollectionRestoreTasks + } + return nil +} + +func (m *RestoreBackupTask) GetRestoredSize() int64 { + if m != nil { + return m.RestoredSize + } + return 0 +} + +func (m *RestoreBackupTask) GetToRestoreSize() int64 { + if m != nil { + return m.ToRestoreSize + } + return 0 +} + +func (m *RestoreBackupTask) GetProgress() int32 { + if m != nil { + return m.Progress + } + return 0 +} + +type RestoreBackupResponse struct { + // uuid of the request to response + RequestId string `protobuf:"bytes,1,opt,name=requestId,proto3" json:"requestId,omitempty"` + // response code. 0 means success. others are fail + Code ResponseCode `protobuf:"varint,2,opt,name=code,proto3,enum=milvus.proto.backup.ResponseCode" json:"code,omitempty"` + // error msg if fail + Msg string `protobuf:"bytes,3,opt,name=msg,proto3" json:"msg,omitempty"` + // restore task info entity + Data *RestoreBackupTask `protobuf:"bytes,4,opt,name=data,proto3" json:"data"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RestoreBackupResponse) Reset() { *m = RestoreBackupResponse{} } +func (m *RestoreBackupResponse) String() string { return proto.CompactTextString(m) } +func (*RestoreBackupResponse) ProtoMessage() {} +func (*RestoreBackupResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_65240d19de191688, []int{19} +} + +func (m *RestoreBackupResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RestoreBackupResponse.Unmarshal(m, b) +} +func (m *RestoreBackupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RestoreBackupResponse.Marshal(b, m, deterministic) +} +func (m *RestoreBackupResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_RestoreBackupResponse.Merge(m, src) +} +func (m *RestoreBackupResponse) XXX_Size() int { + return xxx_messageInfo_RestoreBackupResponse.Size(m) +} +func (m *RestoreBackupResponse) XXX_DiscardUnknown() { + xxx_messageInfo_RestoreBackupResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_RestoreBackupResponse proto.InternalMessageInfo + +func (m *RestoreBackupResponse) GetRequestId() string { + if m != nil { + return m.RequestId + } + return "" +} + +func (m *RestoreBackupResponse) GetCode() ResponseCode { + if m != nil { + return m.Code + } + return ResponseCode_Success +} + +func (m *RestoreBackupResponse) GetMsg() string { + if m != nil { + return m.Msg + } + return "" +} + +func (m *RestoreBackupResponse) GetData() *RestoreBackupTask { + if m != nil { + return m.Data + } + return nil +} + +type GetRestoreStateRequest struct { + // uuid of request, will generate one if not set + RequestId string `protobuf:"bytes,1,opt,name=requestId,proto3" json:"requestId,omitempty"` + // restore task id to query + Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetRestoreStateRequest) Reset() { *m = GetRestoreStateRequest{} } +func (m *GetRestoreStateRequest) String() string { return proto.CompactTextString(m) } +func (*GetRestoreStateRequest) ProtoMessage() {} +func (*GetRestoreStateRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_65240d19de191688, []int{20} +} + +func (m *GetRestoreStateRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetRestoreStateRequest.Unmarshal(m, b) +} +func (m *GetRestoreStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetRestoreStateRequest.Marshal(b, m, deterministic) +} +func (m *GetRestoreStateRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetRestoreStateRequest.Merge(m, src) +} +func (m *GetRestoreStateRequest) XXX_Size() int { + return xxx_messageInfo_GetRestoreStateRequest.Size(m) +} +func (m *GetRestoreStateRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetRestoreStateRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetRestoreStateRequest proto.InternalMessageInfo + +func (m *GetRestoreStateRequest) GetRequestId() string { + if m != nil { + return m.RequestId + } + return "" +} + +func (m *GetRestoreStateRequest) GetId() string { + if m != nil { + return m.Id + } + return "" +} + +// copied from milvus data_coord.proto +type FieldBinlog struct { + FieldID int64 `protobuf:"varint,1,opt,name=fieldID,proto3" json:"fieldID,omitempty"` + Binlogs []*Binlog `protobuf:"bytes,2,rep,name=binlogs,proto3" json:"binlogs,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FieldBinlog) Reset() { *m = FieldBinlog{} } +func (m *FieldBinlog) String() string { return proto.CompactTextString(m) } +func (*FieldBinlog) ProtoMessage() {} +func (*FieldBinlog) Descriptor() ([]byte, []int) { + return fileDescriptor_65240d19de191688, []int{21} +} + +func (m *FieldBinlog) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FieldBinlog.Unmarshal(m, b) +} +func (m *FieldBinlog) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FieldBinlog.Marshal(b, m, deterministic) +} +func (m *FieldBinlog) XXX_Merge(src proto.Message) { + xxx_messageInfo_FieldBinlog.Merge(m, src) +} +func (m *FieldBinlog) XXX_Size() int { + return xxx_messageInfo_FieldBinlog.Size(m) +} +func (m *FieldBinlog) XXX_DiscardUnknown() { + xxx_messageInfo_FieldBinlog.DiscardUnknown(m) +} + +var xxx_messageInfo_FieldBinlog proto.InternalMessageInfo + +func (m *FieldBinlog) GetFieldID() int64 { + if m != nil { + return m.FieldID + } + return 0 +} + +func (m *FieldBinlog) GetBinlogs() []*Binlog { + if m != nil { + return m.Binlogs + } + return nil +} + +type Binlog struct { + EntriesNum int64 `protobuf:"varint,1,opt,name=entries_num,json=entriesNum,proto3" json:"entries_num,omitempty"` + TimestampFrom uint64 `protobuf:"varint,2,opt,name=timestamp_from,json=timestampFrom,proto3" json:"timestamp_from,omitempty"` + TimestampTo uint64 `protobuf:"varint,3,opt,name=timestamp_to,json=timestampTo,proto3" json:"timestamp_to,omitempty"` + LogPath string `protobuf:"bytes,4,opt,name=log_path,json=logPath,proto3" json:"log_path,omitempty"` + LogSize int64 `protobuf:"varint,5,opt,name=log_size,json=logSize,proto3" json:"log_size"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Binlog) Reset() { *m = Binlog{} } +func (m *Binlog) String() string { return proto.CompactTextString(m) } +func (*Binlog) ProtoMessage() {} +func (*Binlog) Descriptor() ([]byte, []int) { + return fileDescriptor_65240d19de191688, []int{22} +} + +func (m *Binlog) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Binlog.Unmarshal(m, b) +} +func (m *Binlog) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Binlog.Marshal(b, m, deterministic) +} +func (m *Binlog) XXX_Merge(src proto.Message) { + xxx_messageInfo_Binlog.Merge(m, src) +} +func (m *Binlog) XXX_Size() int { + return xxx_messageInfo_Binlog.Size(m) +} +func (m *Binlog) XXX_DiscardUnknown() { + xxx_messageInfo_Binlog.DiscardUnknown(m) +} + +var xxx_messageInfo_Binlog proto.InternalMessageInfo + +func (m *Binlog) GetEntriesNum() int64 { + if m != nil { + return m.EntriesNum + } + return 0 +} + +func (m *Binlog) GetTimestampFrom() uint64 { + if m != nil { + return m.TimestampFrom + } + return 0 +} + +func (m *Binlog) GetTimestampTo() uint64 { + if m != nil { + return m.TimestampTo + } + return 0 +} + +func (m *Binlog) GetLogPath() string { + if m != nil { + return m.LogPath + } + return "" +} + +func (m *Binlog) GetLogSize() int64 { + if m != nil { + return m.LogSize + } + return 0 +} + +// copied from milvus common.proto +type KeyValuePair struct { + Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *KeyValuePair) Reset() { *m = KeyValuePair{} } +func (m *KeyValuePair) String() string { return proto.CompactTextString(m) } +func (*KeyValuePair) ProtoMessage() {} +func (*KeyValuePair) Descriptor() ([]byte, []int) { + return fileDescriptor_65240d19de191688, []int{23} +} + +func (m *KeyValuePair) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_KeyValuePair.Unmarshal(m, b) +} +func (m *KeyValuePair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_KeyValuePair.Marshal(b, m, deterministic) +} +func (m *KeyValuePair) XXX_Merge(src proto.Message) { + xxx_messageInfo_KeyValuePair.Merge(m, src) +} +func (m *KeyValuePair) XXX_Size() int { + return xxx_messageInfo_KeyValuePair.Size(m) +} +func (m *KeyValuePair) XXX_DiscardUnknown() { + xxx_messageInfo_KeyValuePair.DiscardUnknown(m) +} + +var xxx_messageInfo_KeyValuePair proto.InternalMessageInfo + +func (m *KeyValuePair) GetKey() string { + if m != nil { + return m.Key + } + return "" +} + +func (m *KeyValuePair) GetValue() string { + if m != nil { + return m.Value + } + return "" +} + +type ValueField struct { + // Types that are valid to be assigned to Data: + // + // *ValueField_BoolData + // *ValueField_IntData + // *ValueField_LongData + // *ValueField_FloatData + // *ValueField_DoubleData + // *ValueField_StringData + // *ValueField_BytesData + Data isValueField_Data `protobuf_oneof:"data"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ValueField) Reset() { *m = ValueField{} } +func (m *ValueField) String() string { return proto.CompactTextString(m) } +func (*ValueField) ProtoMessage() {} +func (*ValueField) Descriptor() ([]byte, []int) { + return fileDescriptor_65240d19de191688, []int{24} +} + +func (m *ValueField) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ValueField.Unmarshal(m, b) +} +func (m *ValueField) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ValueField.Marshal(b, m, deterministic) +} +func (m *ValueField) XXX_Merge(src proto.Message) { + xxx_messageInfo_ValueField.Merge(m, src) +} +func (m *ValueField) XXX_Size() int { + return xxx_messageInfo_ValueField.Size(m) +} +func (m *ValueField) XXX_DiscardUnknown() { + xxx_messageInfo_ValueField.DiscardUnknown(m) +} + +var xxx_messageInfo_ValueField proto.InternalMessageInfo + +type isValueField_Data interface { + isValueField_Data() +} + +type ValueField_BoolData struct { + BoolData bool `protobuf:"varint,1,opt,name=bool_data,json=boolData,proto3,oneof"` +} + +type ValueField_IntData struct { + IntData int32 `protobuf:"varint,2,opt,name=int_data,json=intData,proto3,oneof"` +} + +type ValueField_LongData struct { + LongData int64 `protobuf:"varint,3,opt,name=long_data,json=longData,proto3,oneof"` +} + +type ValueField_FloatData struct { + FloatData float32 `protobuf:"fixed32,4,opt,name=float_data,json=floatData,proto3,oneof"` +} + +type ValueField_DoubleData struct { + DoubleData float64 `protobuf:"fixed64,5,opt,name=double_data,json=doubleData,proto3,oneof"` +} + +type ValueField_StringData struct { + StringData string `protobuf:"bytes,6,opt,name=string_data,json=stringData,proto3,oneof"` +} + +type ValueField_BytesData struct { + BytesData []byte `protobuf:"bytes,7,opt,name=bytes_data,json=bytesData,proto3,oneof"` +} + +func (*ValueField_BoolData) isValueField_Data() {} + +func (*ValueField_IntData) isValueField_Data() {} + +func (*ValueField_LongData) isValueField_Data() {} + +func (*ValueField_FloatData) isValueField_Data() {} + +func (*ValueField_DoubleData) isValueField_Data() {} + +func (*ValueField_StringData) isValueField_Data() {} + +func (*ValueField_BytesData) isValueField_Data() {} + +func (m *ValueField) GetData() isValueField_Data { + if m != nil { + return m.Data + } + return nil +} + +func (m *ValueField) GetBoolData() bool { + if x, ok := m.GetData().(*ValueField_BoolData); ok { + return x.BoolData + } + return false +} + +func (m *ValueField) GetIntData() int32 { + if x, ok := m.GetData().(*ValueField_IntData); ok { + return x.IntData + } + return 0 +} + +func (m *ValueField) GetLongData() int64 { + if x, ok := m.GetData().(*ValueField_LongData); ok { + return x.LongData + } + return 0 +} + +func (m *ValueField) GetFloatData() float32 { + if x, ok := m.GetData().(*ValueField_FloatData); ok { + return x.FloatData + } + return 0 +} + +func (m *ValueField) GetDoubleData() float64 { + if x, ok := m.GetData().(*ValueField_DoubleData); ok { + return x.DoubleData + } + return 0 +} + +func (m *ValueField) GetStringData() string { + if x, ok := m.GetData().(*ValueField_StringData); ok { + return x.StringData + } + return "" +} + +func (m *ValueField) GetBytesData() []byte { + if x, ok := m.GetData().(*ValueField_BytesData); ok { + return x.BytesData + } + return nil +} + +// XXX_OneofWrappers is for the internal use of the proto package. +func (*ValueField) XXX_OneofWrappers() []interface{} { + return []interface{}{ + (*ValueField_BoolData)(nil), + (*ValueField_IntData)(nil), + (*ValueField_LongData)(nil), + (*ValueField_FloatData)(nil), + (*ValueField_DoubleData)(nil), + (*ValueField_StringData)(nil), + (*ValueField_BytesData)(nil), + } +} + +// * +// @brief Field schema. The same as https://github.com/milvus-io/milvus-proto schema.proto +type FieldSchema struct { + FieldID int64 `protobuf:"varint,1,opt,name=fieldID,proto3" json:"fieldID,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + IsPrimaryKey bool `protobuf:"varint,3,opt,name=is_primary_key,json=isPrimaryKey,proto3" json:"is_primary_key,omitempty"` + Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` + DataType DataType `protobuf:"varint,5,opt,name=data_type,json=dataType,proto3,enum=milvus.proto.backup.DataType" json:"data_type,omitempty"` + TypeParams []*KeyValuePair `protobuf:"bytes,6,rep,name=type_params,json=typeParams,proto3" json:"type_params,omitempty"` + IndexParams []*KeyValuePair `protobuf:"bytes,7,rep,name=index_params,json=indexParams,proto3" json:"index_params,omitempty"` + AutoID bool `protobuf:"varint,8,opt,name=autoID,proto3" json:"autoID,omitempty"` + State FieldState `protobuf:"varint,9,opt,name=state,proto3,enum=milvus.proto.backup.FieldState" json:"state,omitempty"` + ElementType DataType `protobuf:"varint,10,opt,name=element_type,json=elementType,proto3,enum=milvus.proto.backup.DataType" json:"element_type,omitempty"` + DefaultValue *ValueField `protobuf:"bytes,11,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"` + IsDynamic bool `protobuf:"varint,12,opt,name=is_dynamic,json=isDynamic,proto3" json:"is_dynamic,omitempty"` + IsPartitionKey bool `protobuf:"varint,13,opt,name=is_partition_key,json=isPartitionKey,proto3" json:"is_partition_key,omitempty"` + Nullable bool `protobuf:"varint,14,opt,name=nullable,proto3" json:"nullable,omitempty"` + DefaultValueProto string `protobuf:"bytes,15,opt,name=default_value_proto,json=defaultValueProto,proto3" json:"default_value_proto,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FieldSchema) Reset() { *m = FieldSchema{} } +func (m *FieldSchema) String() string { return proto.CompactTextString(m) } +func (*FieldSchema) ProtoMessage() {} +func (*FieldSchema) Descriptor() ([]byte, []int) { + return fileDescriptor_65240d19de191688, []int{25} +} + +func (m *FieldSchema) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FieldSchema.Unmarshal(m, b) +} +func (m *FieldSchema) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FieldSchema.Marshal(b, m, deterministic) +} +func (m *FieldSchema) XXX_Merge(src proto.Message) { + xxx_messageInfo_FieldSchema.Merge(m, src) +} +func (m *FieldSchema) XXX_Size() int { + return xxx_messageInfo_FieldSchema.Size(m) +} +func (m *FieldSchema) XXX_DiscardUnknown() { + xxx_messageInfo_FieldSchema.DiscardUnknown(m) +} + +var xxx_messageInfo_FieldSchema proto.InternalMessageInfo + +func (m *FieldSchema) GetFieldID() int64 { + if m != nil { + return m.FieldID + } + return 0 +} + +func (m *FieldSchema) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *FieldSchema) GetIsPrimaryKey() bool { + if m != nil { + return m.IsPrimaryKey + } + return false +} + +func (m *FieldSchema) GetDescription() string { + if m != nil { + return m.Description + } + return "" +} + +func (m *FieldSchema) GetDataType() DataType { + if m != nil { + return m.DataType + } + return DataType_None +} + +func (m *FieldSchema) GetTypeParams() []*KeyValuePair { + if m != nil { + return m.TypeParams + } + return nil +} + +func (m *FieldSchema) GetIndexParams() []*KeyValuePair { + if m != nil { + return m.IndexParams + } + return nil +} + +func (m *FieldSchema) GetAutoID() bool { + if m != nil { + return m.AutoID + } + return false +} + +func (m *FieldSchema) GetState() FieldState { + if m != nil { + return m.State + } + return FieldState_FieldCreated +} + +func (m *FieldSchema) GetElementType() DataType { + if m != nil { + return m.ElementType + } + return DataType_None +} + +func (m *FieldSchema) GetDefaultValue() *ValueField { + if m != nil { + return m.DefaultValue + } + return nil +} + +func (m *FieldSchema) GetIsDynamic() bool { + if m != nil { + return m.IsDynamic + } + return false +} + +func (m *FieldSchema) GetIsPartitionKey() bool { + if m != nil { + return m.IsPartitionKey + } + return false +} + +func (m *FieldSchema) GetNullable() bool { + if m != nil { + return m.Nullable + } + return false +} + +func (m *FieldSchema) GetDefaultValueProto() string { + if m != nil { + return m.DefaultValueProto + } + return "" +} + +// * +// @brief Collection schema +type CollectionSchema struct { + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` + AutoID bool `protobuf:"varint,3,opt,name=autoID,proto3" json:"autoID,omitempty"` + Fields []*FieldSchema `protobuf:"bytes,4,rep,name=fields,proto3" json:"fields,omitempty"` + EnableDynamicField bool `protobuf:"varint,5,opt,name=enable_dynamic_field,json=enableDynamicField,proto3" json:"enable_dynamic_field,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CollectionSchema) Reset() { *m = CollectionSchema{} } +func (m *CollectionSchema) String() string { return proto.CompactTextString(m) } +func (*CollectionSchema) ProtoMessage() {} +func (*CollectionSchema) Descriptor() ([]byte, []int) { + return fileDescriptor_65240d19de191688, []int{26} +} + +func (m *CollectionSchema) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CollectionSchema.Unmarshal(m, b) +} +func (m *CollectionSchema) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CollectionSchema.Marshal(b, m, deterministic) +} +func (m *CollectionSchema) XXX_Merge(src proto.Message) { + xxx_messageInfo_CollectionSchema.Merge(m, src) +} +func (m *CollectionSchema) XXX_Size() int { + return xxx_messageInfo_CollectionSchema.Size(m) +} +func (m *CollectionSchema) XXX_DiscardUnknown() { + xxx_messageInfo_CollectionSchema.DiscardUnknown(m) +} + +var xxx_messageInfo_CollectionSchema proto.InternalMessageInfo + +func (m *CollectionSchema) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *CollectionSchema) GetDescription() string { + if m != nil { + return m.Description + } + return "" +} + +func (m *CollectionSchema) GetAutoID() bool { + if m != nil { + return m.AutoID + } + return false +} + +func (m *CollectionSchema) GetFields() []*FieldSchema { + if m != nil { + return m.Fields + } + return nil +} + +func (m *CollectionSchema) GetEnableDynamicField() bool { + if m != nil { + return m.EnableDynamicField + } + return false +} + +type CheckRequest struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CheckRequest) Reset() { *m = CheckRequest{} } +func (m *CheckRequest) String() string { return proto.CompactTextString(m) } +func (*CheckRequest) ProtoMessage() {} +func (*CheckRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_65240d19de191688, []int{27} +} + +func (m *CheckRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CheckRequest.Unmarshal(m, b) +} +func (m *CheckRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CheckRequest.Marshal(b, m, deterministic) +} +func (m *CheckRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CheckRequest.Merge(m, src) +} +func (m *CheckRequest) XXX_Size() int { + return xxx_messageInfo_CheckRequest.Size(m) +} +func (m *CheckRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CheckRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CheckRequest proto.InternalMessageInfo + +type CheckResponse struct { + // response code. 0 means success. others are fail + Code ResponseCode `protobuf:"varint,1,opt,name=code,proto3,enum=milvus.proto.backup.ResponseCode" json:"code,omitempty"` + // error msg if fail + Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CheckResponse) Reset() { *m = CheckResponse{} } +func (m *CheckResponse) String() string { return proto.CompactTextString(m) } +func (*CheckResponse) ProtoMessage() {} +func (*CheckResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_65240d19de191688, []int{28} +} + +func (m *CheckResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CheckResponse.Unmarshal(m, b) +} +func (m *CheckResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CheckResponse.Marshal(b, m, deterministic) +} +func (m *CheckResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_CheckResponse.Merge(m, src) +} +func (m *CheckResponse) XXX_Size() int { + return xxx_messageInfo_CheckResponse.Size(m) +} +func (m *CheckResponse) XXX_DiscardUnknown() { + xxx_messageInfo_CheckResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_CheckResponse proto.InternalMessageInfo + +func (m *CheckResponse) GetCode() ResponseCode { + if m != nil { + return m.Code + } + return ResponseCode_Success +} + +func (m *CheckResponse) GetMsg() string { + if m != nil { + return m.Msg + } + return "" +} + +type MsgPosition struct { + ChannelName string `protobuf:"bytes,1,opt,name=channel_name,json=channelName,proto3" json:"channel_name,omitempty"` + MsgID []byte `protobuf:"bytes,2,opt,name=msgID,proto3" json:"msgID,omitempty"` + MsgGroup string `protobuf:"bytes,3,opt,name=msgGroup,proto3" json:"msgGroup,omitempty"` + Timestamp uint64 `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MsgPosition) Reset() { *m = MsgPosition{} } +func (m *MsgPosition) String() string { return proto.CompactTextString(m) } +func (*MsgPosition) ProtoMessage() {} +func (*MsgPosition) Descriptor() ([]byte, []int) { + return fileDescriptor_65240d19de191688, []int{29} +} + +func (m *MsgPosition) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MsgPosition.Unmarshal(m, b) +} +func (m *MsgPosition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MsgPosition.Marshal(b, m, deterministic) +} +func (m *MsgPosition) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgPosition.Merge(m, src) +} +func (m *MsgPosition) XXX_Size() int { + return xxx_messageInfo_MsgPosition.Size(m) +} +func (m *MsgPosition) XXX_DiscardUnknown() { + xxx_messageInfo_MsgPosition.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgPosition proto.InternalMessageInfo + +func (m *MsgPosition) GetChannelName() string { + if m != nil { + return m.ChannelName + } + return "" +} + +func (m *MsgPosition) GetMsgID() []byte { + if m != nil { + return m.MsgID + } + return nil +} + +func (m *MsgPosition) GetMsgGroup() string { + if m != nil { + return m.MsgGroup + } + return "" +} + +func (m *MsgPosition) GetTimestamp() uint64 { + if m != nil { + return m.Timestamp + } + return 0 +} + +type ChannelPosition struct { + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Position string `protobuf:"bytes,2,opt,name=position,proto3" json:"position,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ChannelPosition) Reset() { *m = ChannelPosition{} } +func (m *ChannelPosition) String() string { return proto.CompactTextString(m) } +func (*ChannelPosition) ProtoMessage() {} +func (*ChannelPosition) Descriptor() ([]byte, []int) { + return fileDescriptor_65240d19de191688, []int{30} +} + +func (m *ChannelPosition) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ChannelPosition.Unmarshal(m, b) +} +func (m *ChannelPosition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ChannelPosition.Marshal(b, m, deterministic) +} +func (m *ChannelPosition) XXX_Merge(src proto.Message) { + xxx_messageInfo_ChannelPosition.Merge(m, src) +} +func (m *ChannelPosition) XXX_Size() int { + return xxx_messageInfo_ChannelPosition.Size(m) +} +func (m *ChannelPosition) XXX_DiscardUnknown() { + xxx_messageInfo_ChannelPosition.DiscardUnknown(m) +} + +var xxx_messageInfo_ChannelPosition proto.InternalMessageInfo + +func (m *ChannelPosition) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *ChannelPosition) GetPosition() string { + if m != nil { + return m.Position + } + return "" +} + +type RoleEntity struct { + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RoleEntity) Reset() { *m = RoleEntity{} } +func (m *RoleEntity) String() string { return proto.CompactTextString(m) } +func (*RoleEntity) ProtoMessage() {} +func (*RoleEntity) Descriptor() ([]byte, []int) { + return fileDescriptor_65240d19de191688, []int{31} +} + +func (m *RoleEntity) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RoleEntity.Unmarshal(m, b) +} +func (m *RoleEntity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RoleEntity.Marshal(b, m, deterministic) +} +func (m *RoleEntity) XXX_Merge(src proto.Message) { + xxx_messageInfo_RoleEntity.Merge(m, src) +} +func (m *RoleEntity) XXX_Size() int { + return xxx_messageInfo_RoleEntity.Size(m) +} +func (m *RoleEntity) XXX_DiscardUnknown() { + xxx_messageInfo_RoleEntity.DiscardUnknown(m) +} + +var xxx_messageInfo_RoleEntity proto.InternalMessageInfo + +func (m *RoleEntity) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +type UserEntity struct { + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UserEntity) Reset() { *m = UserEntity{} } +func (m *UserEntity) String() string { return proto.CompactTextString(m) } +func (*UserEntity) ProtoMessage() {} +func (*UserEntity) Descriptor() ([]byte, []int) { + return fileDescriptor_65240d19de191688, []int{32} +} + +func (m *UserEntity) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UserEntity.Unmarshal(m, b) +} +func (m *UserEntity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UserEntity.Marshal(b, m, deterministic) +} +func (m *UserEntity) XXX_Merge(src proto.Message) { + xxx_messageInfo_UserEntity.Merge(m, src) +} +func (m *UserEntity) XXX_Size() int { + return xxx_messageInfo_UserEntity.Size(m) +} +func (m *UserEntity) XXX_DiscardUnknown() { + xxx_messageInfo_UserEntity.DiscardUnknown(m) +} + +var xxx_messageInfo_UserEntity proto.InternalMessageInfo + +func (m *UserEntity) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +type ObjectEntity struct { + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ObjectEntity) Reset() { *m = ObjectEntity{} } +func (m *ObjectEntity) String() string { return proto.CompactTextString(m) } +func (*ObjectEntity) ProtoMessage() {} +func (*ObjectEntity) Descriptor() ([]byte, []int) { + return fileDescriptor_65240d19de191688, []int{33} +} + +func (m *ObjectEntity) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ObjectEntity.Unmarshal(m, b) +} +func (m *ObjectEntity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ObjectEntity.Marshal(b, m, deterministic) +} +func (m *ObjectEntity) XXX_Merge(src proto.Message) { + xxx_messageInfo_ObjectEntity.Merge(m, src) +} +func (m *ObjectEntity) XXX_Size() int { + return xxx_messageInfo_ObjectEntity.Size(m) +} +func (m *ObjectEntity) XXX_DiscardUnknown() { + xxx_messageInfo_ObjectEntity.DiscardUnknown(m) +} + +var xxx_messageInfo_ObjectEntity proto.InternalMessageInfo + +func (m *ObjectEntity) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +type PrivilegeEntity struct { + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *PrivilegeEntity) Reset() { *m = PrivilegeEntity{} } +func (m *PrivilegeEntity) String() string { return proto.CompactTextString(m) } +func (*PrivilegeEntity) ProtoMessage() {} +func (*PrivilegeEntity) Descriptor() ([]byte, []int) { + return fileDescriptor_65240d19de191688, []int{34} +} + +func (m *PrivilegeEntity) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PrivilegeEntity.Unmarshal(m, b) +} +func (m *PrivilegeEntity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PrivilegeEntity.Marshal(b, m, deterministic) +} +func (m *PrivilegeEntity) XXX_Merge(src proto.Message) { + xxx_messageInfo_PrivilegeEntity.Merge(m, src) +} +func (m *PrivilegeEntity) XXX_Size() int { + return xxx_messageInfo_PrivilegeEntity.Size(m) +} +func (m *PrivilegeEntity) XXX_DiscardUnknown() { + xxx_messageInfo_PrivilegeEntity.DiscardUnknown(m) +} + +var xxx_messageInfo_PrivilegeEntity proto.InternalMessageInfo + +func (m *PrivilegeEntity) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +type GrantorEntity struct { + User *UserEntity `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` + Privilege *PrivilegeEntity `protobuf:"bytes,2,opt,name=privilege,proto3" json:"privilege,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GrantorEntity) Reset() { *m = GrantorEntity{} } +func (m *GrantorEntity) String() string { return proto.CompactTextString(m) } +func (*GrantorEntity) ProtoMessage() {} +func (*GrantorEntity) Descriptor() ([]byte, []int) { + return fileDescriptor_65240d19de191688, []int{35} +} + +func (m *GrantorEntity) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GrantorEntity.Unmarshal(m, b) +} +func (m *GrantorEntity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GrantorEntity.Marshal(b, m, deterministic) +} +func (m *GrantorEntity) XXX_Merge(src proto.Message) { + xxx_messageInfo_GrantorEntity.Merge(m, src) +} +func (m *GrantorEntity) XXX_Size() int { + return xxx_messageInfo_GrantorEntity.Size(m) +} +func (m *GrantorEntity) XXX_DiscardUnknown() { + xxx_messageInfo_GrantorEntity.DiscardUnknown(m) +} + +var xxx_messageInfo_GrantorEntity proto.InternalMessageInfo + +func (m *GrantorEntity) GetUser() *UserEntity { + if m != nil { + return m.User + } + return nil +} + +func (m *GrantorEntity) GetPrivilege() *PrivilegeEntity { + if m != nil { + return m.Privilege + } + return nil +} + +type GrantPrivilegeEntity struct { + Entities []*GrantorEntity `protobuf:"bytes,1,rep,name=entities,proto3" json:"entities,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GrantPrivilegeEntity) Reset() { *m = GrantPrivilegeEntity{} } +func (m *GrantPrivilegeEntity) String() string { return proto.CompactTextString(m) } +func (*GrantPrivilegeEntity) ProtoMessage() {} +func (*GrantPrivilegeEntity) Descriptor() ([]byte, []int) { + return fileDescriptor_65240d19de191688, []int{36} +} + +func (m *GrantPrivilegeEntity) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GrantPrivilegeEntity.Unmarshal(m, b) +} +func (m *GrantPrivilegeEntity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GrantPrivilegeEntity.Marshal(b, m, deterministic) +} +func (m *GrantPrivilegeEntity) XXX_Merge(src proto.Message) { + xxx_messageInfo_GrantPrivilegeEntity.Merge(m, src) +} +func (m *GrantPrivilegeEntity) XXX_Size() int { + return xxx_messageInfo_GrantPrivilegeEntity.Size(m) +} +func (m *GrantPrivilegeEntity) XXX_DiscardUnknown() { + xxx_messageInfo_GrantPrivilegeEntity.DiscardUnknown(m) +} + +var xxx_messageInfo_GrantPrivilegeEntity proto.InternalMessageInfo + +func (m *GrantPrivilegeEntity) GetEntities() []*GrantorEntity { + if m != nil { + return m.Entities + } + return nil +} + +type GrantEntity struct { + // role + Role *RoleEntity `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"` + // object + Object *ObjectEntity `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"` + // object name + ObjectName string `protobuf:"bytes,3,opt,name=object_name,json=objectName,proto3" json:"object_name,omitempty"` + // privilege + Grantor *GrantorEntity `protobuf:"bytes,4,opt,name=grantor,proto3" json:"grantor,omitempty"` + // db name + DbName string `protobuf:"bytes,5,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GrantEntity) Reset() { *m = GrantEntity{} } +func (m *GrantEntity) String() string { return proto.CompactTextString(m) } +func (*GrantEntity) ProtoMessage() {} +func (*GrantEntity) Descriptor() ([]byte, []int) { + return fileDescriptor_65240d19de191688, []int{37} +} + +func (m *GrantEntity) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GrantEntity.Unmarshal(m, b) +} +func (m *GrantEntity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GrantEntity.Marshal(b, m, deterministic) +} +func (m *GrantEntity) XXX_Merge(src proto.Message) { + xxx_messageInfo_GrantEntity.Merge(m, src) +} +func (m *GrantEntity) XXX_Size() int { + return xxx_messageInfo_GrantEntity.Size(m) +} +func (m *GrantEntity) XXX_DiscardUnknown() { + xxx_messageInfo_GrantEntity.DiscardUnknown(m) +} + +var xxx_messageInfo_GrantEntity proto.InternalMessageInfo + +func (m *GrantEntity) GetRole() *RoleEntity { + if m != nil { + return m.Role + } + return nil +} + +func (m *GrantEntity) GetObject() *ObjectEntity { + if m != nil { + return m.Object + } + return nil +} + +func (m *GrantEntity) GetObjectName() string { + if m != nil { + return m.ObjectName + } + return "" +} + +func (m *GrantEntity) GetGrantor() *GrantorEntity { + if m != nil { + return m.Grantor + } + return nil +} + +func (m *GrantEntity) GetDbName() string { + if m != nil { + return m.DbName + } + return "" +} + +type UserInfo struct { + User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` + Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` + Roles []*RoleEntity `protobuf:"bytes,3,rep,name=roles,proto3" json:"roles,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UserInfo) Reset() { *m = UserInfo{} } +func (m *UserInfo) String() string { return proto.CompactTextString(m) } +func (*UserInfo) ProtoMessage() {} +func (*UserInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_65240d19de191688, []int{38} +} + +func (m *UserInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UserInfo.Unmarshal(m, b) +} +func (m *UserInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UserInfo.Marshal(b, m, deterministic) +} +func (m *UserInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_UserInfo.Merge(m, src) +} +func (m *UserInfo) XXX_Size() int { + return xxx_messageInfo_UserInfo.Size(m) +} +func (m *UserInfo) XXX_DiscardUnknown() { + xxx_messageInfo_UserInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_UserInfo proto.InternalMessageInfo + +func (m *UserInfo) GetUser() string { + if m != nil { + return m.User + } + return "" +} + +func (m *UserInfo) GetPassword() string { + if m != nil { + return m.Password + } + return "" +} + +func (m *UserInfo) GetRoles() []*RoleEntity { + if m != nil { + return m.Roles + } + return nil +} + +type RBACMeta struct { + // user + Users []*UserInfo `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` + // role + Roles []*RoleEntity `protobuf:"bytes,2,rep,name=roles,proto3" json:"roles,omitempty"` + // (role, object, previledge) + Grants []*GrantEntity `protobuf:"bytes,3,rep,name=grants,proto3" json:"grants,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RBACMeta) Reset() { *m = RBACMeta{} } +func (m *RBACMeta) String() string { return proto.CompactTextString(m) } +func (*RBACMeta) ProtoMessage() {} +func (*RBACMeta) Descriptor() ([]byte, []int) { + return fileDescriptor_65240d19de191688, []int{39} +} + +func (m *RBACMeta) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RBACMeta.Unmarshal(m, b) +} +func (m *RBACMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RBACMeta.Marshal(b, m, deterministic) +} +func (m *RBACMeta) XXX_Merge(src proto.Message) { + xxx_messageInfo_RBACMeta.Merge(m, src) +} +func (m *RBACMeta) XXX_Size() int { + return xxx_messageInfo_RBACMeta.Size(m) +} +func (m *RBACMeta) XXX_DiscardUnknown() { + xxx_messageInfo_RBACMeta.DiscardUnknown(m) +} + +var xxx_messageInfo_RBACMeta proto.InternalMessageInfo + +func (m *RBACMeta) GetUsers() []*UserInfo { + if m != nil { + return m.Users + } + return nil +} + +func (m *RBACMeta) GetRoles() []*RoleEntity { + if m != nil { + return m.Roles + } + return nil +} + +func (m *RBACMeta) GetGrants() []*GrantEntity { + if m != nil { + return m.Grants + } + return nil +} + +func init() { + proto.RegisterEnum("milvus.proto.backup.ResponseCode", ResponseCode_name, ResponseCode_value) + proto.RegisterEnum("milvus.proto.backup.BackupTaskStateCode", BackupTaskStateCode_name, BackupTaskStateCode_value) + proto.RegisterEnum("milvus.proto.backup.RestoreTaskStateCode", RestoreTaskStateCode_name, RestoreTaskStateCode_value) + proto.RegisterEnum("milvus.proto.backup.ConsistencyLevel", ConsistencyLevel_name, ConsistencyLevel_value) + proto.RegisterEnum("milvus.proto.backup.DataType", DataType_name, DataType_value) + proto.RegisterEnum("milvus.proto.backup.FieldState", FieldState_name, FieldState_value) + proto.RegisterType((*IndexInfo)(nil), "milvus.proto.backup.IndexInfo") + proto.RegisterMapType((map[string]string)(nil), "milvus.proto.backup.IndexInfo.ParamsEntry") + proto.RegisterType((*CollectionBackupInfo)(nil), "milvus.proto.backup.CollectionBackupInfo") + proto.RegisterMapType((map[string]string)(nil), "milvus.proto.backup.CollectionBackupInfo.ChannelCheckpointsEntry") + proto.RegisterType((*PartitionBackupInfo)(nil), "milvus.proto.backup.PartitionBackupInfo") + proto.RegisterType((*SegmentBackupInfo)(nil), "milvus.proto.backup.SegmentBackupInfo") + proto.RegisterType((*BackupInfo)(nil), "milvus.proto.backup.BackupInfo") + proto.RegisterType((*CollectionLevelBackupInfo)(nil), "milvus.proto.backup.CollectionLevelBackupInfo") + proto.RegisterType((*PartitionLevelBackupInfo)(nil), "milvus.proto.backup.PartitionLevelBackupInfo") + proto.RegisterType((*SegmentLevelBackupInfo)(nil), "milvus.proto.backup.SegmentLevelBackupInfo") + proto.RegisterType((*CreateBackupRequest)(nil), "milvus.proto.backup.CreateBackupRequest") + proto.RegisterType((*BackupInfoResponse)(nil), "milvus.proto.backup.BackupInfoResponse") + proto.RegisterType((*GetBackupRequest)(nil), "milvus.proto.backup.GetBackupRequest") + proto.RegisterType((*ListBackupsRequest)(nil), "milvus.proto.backup.ListBackupsRequest") + proto.RegisterType((*ListBackupsResponse)(nil), "milvus.proto.backup.ListBackupsResponse") + proto.RegisterType((*DeleteBackupRequest)(nil), "milvus.proto.backup.DeleteBackupRequest") + proto.RegisterType((*DeleteBackupResponse)(nil), "milvus.proto.backup.DeleteBackupResponse") + proto.RegisterType((*RestoreBackupRequest)(nil), "milvus.proto.backup.RestoreBackupRequest") + proto.RegisterMapType((map[string]string)(nil), "milvus.proto.backup.RestoreBackupRequest.CollectionRenamesEntry") + proto.RegisterType((*RestorePartitionTask)(nil), "milvus.proto.backup.RestorePartitionTask") + proto.RegisterType((*RestoreCollectionTask)(nil), "milvus.proto.backup.RestoreCollectionTask") + proto.RegisterType((*RestoreBackupTask)(nil), "milvus.proto.backup.RestoreBackupTask") + proto.RegisterType((*RestoreBackupResponse)(nil), "milvus.proto.backup.RestoreBackupResponse") + proto.RegisterType((*GetRestoreStateRequest)(nil), "milvus.proto.backup.GetRestoreStateRequest") + proto.RegisterType((*FieldBinlog)(nil), "milvus.proto.backup.FieldBinlog") + proto.RegisterType((*Binlog)(nil), "milvus.proto.backup.Binlog") + proto.RegisterType((*KeyValuePair)(nil), "milvus.proto.backup.KeyValuePair") + proto.RegisterType((*ValueField)(nil), "milvus.proto.backup.ValueField") + proto.RegisterType((*FieldSchema)(nil), "milvus.proto.backup.FieldSchema") + proto.RegisterType((*CollectionSchema)(nil), "milvus.proto.backup.CollectionSchema") + proto.RegisterType((*CheckRequest)(nil), "milvus.proto.backup.CheckRequest") + proto.RegisterType((*CheckResponse)(nil), "milvus.proto.backup.CheckResponse") + proto.RegisterType((*MsgPosition)(nil), "milvus.proto.backup.MsgPosition") + proto.RegisterType((*ChannelPosition)(nil), "milvus.proto.backup.ChannelPosition") + proto.RegisterType((*RoleEntity)(nil), "milvus.proto.backup.RoleEntity") + proto.RegisterType((*UserEntity)(nil), "milvus.proto.backup.UserEntity") + proto.RegisterType((*ObjectEntity)(nil), "milvus.proto.backup.ObjectEntity") + proto.RegisterType((*PrivilegeEntity)(nil), "milvus.proto.backup.PrivilegeEntity") + proto.RegisterType((*GrantorEntity)(nil), "milvus.proto.backup.GrantorEntity") + proto.RegisterType((*GrantPrivilegeEntity)(nil), "milvus.proto.backup.GrantPrivilegeEntity") + proto.RegisterType((*GrantEntity)(nil), "milvus.proto.backup.GrantEntity") + proto.RegisterType((*UserInfo)(nil), "milvus.proto.backup.UserInfo") + proto.RegisterType((*RBACMeta)(nil), "milvus.proto.backup.RBACMeta") +} + +func init() { proto.RegisterFile("backup.proto", fileDescriptor_65240d19de191688) } + +var fileDescriptor_65240d19de191688 = []byte{ + // 3420 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x3a, 0x4d, 0x73, 0x1b, 0xc7, + 0x72, 0xc4, 0x37, 0xd0, 0x0b, 0x80, 0xcb, 0x21, 0x45, 0x41, 0xd4, 0xd3, 0x13, 0xb5, 0xb1, 0xf4, + 0x28, 0xbd, 0x0a, 0xa5, 0x47, 0x3d, 0x2b, 0xb6, 0xea, 0x3d, 0x3f, 0xf3, 0x4b, 0x12, 0x6c, 0x89, + 0x62, 0x96, 0x14, 0x4b, 0xe5, 0x7c, 0x6c, 0x2d, 0x76, 0x87, 0xe0, 0x86, 0x8b, 0x1d, 0x78, 0x67, + 0x21, 0x09, 0xaa, 0x4a, 0x2a, 0xb7, 0xf8, 0x98, 0x43, 0xaa, 0x52, 0x95, 0x7f, 0x90, 0x9b, 0x73, + 0x70, 0x0e, 0xf9, 0x07, 0x49, 0xe5, 0x9a, 0x3f, 0x90, 0x4b, 0x8e, 0x3e, 0xa5, 0x72, 0x4d, 0x4d, + 0xcf, 0xec, 0x07, 0xc0, 0x25, 0x05, 0xa6, 0x5c, 0x71, 0x9c, 0xdb, 0x4e, 0x4f, 0x77, 0x4f, 0x4f, + 0x7f, 0x4d, 0xcf, 0xf4, 0x42, 0xb3, 0x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x8f, 0xec, 0x88, 0x5a, + 0x0e, 0x73, 0x25, 0x9f, 0xf6, 0xc6, 0x5a, 0xae, 0xac, 0x92, 0xc9, 0xa1, 0xcd, 0x4f, 0x0f, 0x04, + 0xc1, 0x36, 0x73, 0xa9, 0xd9, 0xe0, 0xf1, 0x27, 0x31, 0xa0, 0x49, 0xc3, 0x90, 0x85, 0x2f, 0x28, + 0xe7, 0x76, 0x3f, 0xd6, 0xc8, 0x04, 0x4c, 0xe8, 0x8c, 0x47, 0x76, 0x18, 0x59, 0x91, 0x37, 0xa0, + 0x9d, 0xf2, 0x6a, 0x61, 0xad, 0x84, 0x2c, 0xc2, 0xe8, 0xd0, 0x1b, 0x50, 0x72, 0x0d, 0xea, 0x34, + 0x70, 0xe5, 0x64, 0x05, 0x27, 0x6b, 0x34, 0x70, 0x71, 0x6a, 0x05, 0xea, 0xc3, 0x90, 0xf5, 0x43, + 0xca, 0x79, 0xa7, 0xba, 0x5a, 0x58, 0xab, 0x98, 0xc9, 0x98, 0xfc, 0x1e, 0xb4, 0x9c, 0x64, 0xab, + 0x96, 0xe7, 0x76, 0x6a, 0x48, 0xdb, 0x4c, 0x81, 0x5d, 0x97, 0x5c, 0x85, 0x9a, 0xdb, 0x93, 0xa6, + 0xac, 0xa3, 0x64, 0x55, 0xb7, 0x87, 0x76, 0xfc, 0x05, 0xcc, 0x67, 0xa8, 0x11, 0xa1, 0x81, 0x08, + 0xed, 0x14, 0x8c, 0x88, 0xbf, 0x85, 0x2a, 0x77, 0x4e, 0xe8, 0xc0, 0xee, 0xc0, 0x6a, 0x61, 0x4d, + 0xdb, 0xb8, 0x9d, 0xab, 0xa5, 0x54, 0xe9, 0x07, 0x88, 0x6c, 0x2a, 0x22, 0xdc, 0xfb, 0x89, 0x1d, + 0xba, 0xdc, 0x0a, 0x46, 0x83, 0x8e, 0x86, 0x7b, 0x68, 0x48, 0xc8, 0xde, 0x68, 0x40, 0x4c, 0x58, + 0x70, 0x58, 0xc0, 0x3d, 0x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23, 0x2f, 0xaa, 0x71, 0x36, 0x72, 0x0f, 0xc4, 0x6d, 0xe7, 0x0e, 0xcc, 0x47, + 0x2c, 0x11, 0x20, 0x73, 0x19, 0x6a, 0x45, 0x4c, 0x71, 0x43, 0xbc, 0xac, 0xab, 0x69, 0x53, 0xae, + 0xf6, 0x11, 0xb4, 0x95, 0x06, 0xe2, 0x27, 0xcd, 0xa6, 0xb4, 0x96, 0x84, 0xee, 0xc8, 0x87, 0xcd, + 0x6c, 0xde, 0x6c, 0x7d, 0x20, 0x6f, 0xb6, 0x67, 0xc8, 0x9b, 0xf3, 0xb3, 0xe7, 0x4d, 0xfd, 0x32, + 0x79, 0x73, 0xe1, 0x52, 0x79, 0x93, 0x5c, 0x90, 0x37, 0xd7, 0x81, 0x08, 0xf8, 0x54, 0x86, 0x5c, + 0x44, 0x8a, 0x9c, 0x99, 0xe9, 0x3c, 0xb8, 0x74, 0x26, 0x0f, 0x1a, 0x7f, 0x57, 0x82, 0x85, 0x89, + 0x83, 0xf4, 0x27, 0x1d, 0x85, 0x2e, 0x74, 0x26, 0x8a, 0x88, 0x6c, 0x10, 0x54, 0x2f, 0xe8, 0x52, + 0xe4, 0xe6, 0x22, 0x73, 0x39, 0x5b, 0x34, 0x5c, 0x14, 0x06, 0xb5, 0xd9, 0xc2, 0xa0, 0xfe, 0xa1, + 0x30, 0x68, 0x4c, 0x86, 0x81, 0xf1, 0x4f, 0x85, 0x24, 0x4d, 0xfe, 0x28, 0x45, 0x24, 0x79, 0x3c, + 0x71, 0x59, 0xba, 0xf3, 0xe1, 0x32, 0x0c, 0xf5, 0x26, 0xab, 0xea, 0x27, 0xb0, 0xfc, 0x94, 0x46, + 0xf1, 0x56, 0x85, 0x03, 0xcc, 0x56, 0x81, 0x4a, 0xdf, 0x2b, 0xc6, 0xbe, 0x67, 0xfc, 0x29, 0x68, + 0x99, 0x67, 0x34, 0xd2, 0x81, 0x1a, 0x76, 0xb0, 0xba, 0x3b, 0xea, 0xed, 0x31,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0x70, 0x0b, 0x34, 0x97, 0x8d, 0x7a, 0x3e, 0x95, 0x18, 0x62, 0x83, 0x85, + 0x67, 0x73, 0x26, 0x48, 0x60, 0x8c, 0xc2, 0xa3, 0xd0, 0x8b, 0x17, 0xc1, 0x77, 0x69, 0x81, 0x22, + 0x81, 0xf1, 0x32, 0xbd, 0x71, 0x44, 0xb9, 0xc4, 0x10, 0xf1, 0xd7, 0x14, 0xcb, 0x20, 0x4c, 0x20, + 0x6c, 0x55, 0xa5, 0xe7, 0x1a, 0xdf, 0x55, 0x94, 0xfb, 0xc8, 0x66, 0xd5, 0x05, 0xee, 0x13, 0x3f, + 0x29, 0x16, 0x33, 0x4f, 0x8a, 0x1f, 0x41, 0xdb, 0xe3, 0xd6, 0x30, 0xf4, 0x06, 0x76, 0x38, 0xb6, + 0x84, 0xaa, 0x4b, 0xf2, 0x8c, 0xf0, 0xf8, 0xbe, 0x04, 0x7e, 0x49, 0xc7, 0x22, 0xcb, 0xba, 0x94, + 0x3b, 0xa1, 0x37, 0xc4, 0x04, 0x2e, 0xcd, 0x99, 0x05, 0x91, 0xc7, 0xd0, 0x10, 0xd2, 0xc8, 0x4e, + 0x6a, 0x05, 0xa3, 0x32, 0xff, 0x69, 0x4f, 0xc8, 0x7e, 0x38, 0x1e, 0x52, 0xb3, 0xee, 0xaa, 0x2f, + 0xb2, 0x05, 0x9a, 0x20, 0xb3, 0x54, 0xb3, 0x55, 0xa6, 0xb1, 0xfc, 0x98, 0xce, 0xfa, 0x86, 0x09, + 0x82, 0x4a, 0x76, 0x57, 0xc9, 0x0e, 0x34, 0x65, 0xd3, 0x49, 0x31, 0xa9, 0xcd, 0xca, 0x44, 0xf6, + 0xaa, 0x14, 0x97, 0x65, 0xa8, 0xda, 0xe2, 0x60, 0xdc, 0x51, 0xef, 0x47, 0x6a, 0x44, 0x3e, 0x86, + 0x8a, 0xec, 0x20, 0x34, 0x70, 0x67, 0x37, 0xcf, 0x7f, 0x0a, 0x97, 0x69, 0x40,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+ 0x00, 0x00, 0xff, 0xff, 0xfb, 0x9e, 0x25, 0x80, 0x9e, 0x2b, 0x00, 0x00, +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// MilvusBackupServiceClient is the client API for MilvusBackupService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type MilvusBackupServiceClient interface { + // Create backup + CreateBackup(ctx context.Context, in *CreateBackupRequest, opts ...grpc.CallOption) (*BackupInfoResponse, error) + // Get backup with the chosen name + GetBackup(ctx context.Context, in *GetBackupRequest, opts ...grpc.CallOption) (*BackupInfoResponse, error) + // List backups that contains the given collection name, if collection is not given, return all backups in the cluster + ListBackups(ctx context.Context, in *ListBackupsRequest, opts ...grpc.CallOption) (*ListBackupsResponse, error) + // Delete backup by given backup name + DeleteBackup(ctx context.Context, in *DeleteBackupRequest, opts ...grpc.CallOption) (*DeleteBackupResponse, error) + // Restore backup to milvus, return backup restore report + RestoreBackup(ctx context.Context, in *RestoreBackupRequest, opts ...grpc.CallOption) (*RestoreBackupResponse, error) + // Get restore state by given id + GetRestore(ctx context.Context, in *GetRestoreStateRequest, opts ...grpc.CallOption) (*RestoreBackupResponse, error) + // Check connections + Check(ctx context.Context, in *CheckRequest, opts ...grpc.CallOption) (*CheckResponse, error) +} + +type milvusBackupServiceClient struct { + cc *grpc.ClientConn +} + +func NewMilvusBackupServiceClient(cc *grpc.ClientConn) MilvusBackupServiceClient { + return &milvusBackupServiceClient{cc} +} + +func (c *milvusBackupServiceClient) CreateBackup(ctx context.Context, in *CreateBackupRequest, opts ...grpc.CallOption) (*BackupInfoResponse, error) { + out := new(BackupInfoResponse) + err := c.cc.Invoke(ctx, "/milvus.proto.backup.MilvusBackupService/CreateBackup", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *milvusBackupServiceClient) GetBackup(ctx context.Context, in *GetBackupRequest, opts ...grpc.CallOption) (*BackupInfoResponse, error) { + out := new(BackupInfoResponse) + err := c.cc.Invoke(ctx, "/milvus.proto.backup.MilvusBackupService/GetBackup", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *milvusBackupServiceClient) ListBackups(ctx context.Context, in *ListBackupsRequest, opts ...grpc.CallOption) (*ListBackupsResponse, error) { + out := new(ListBackupsResponse) + err := c.cc.Invoke(ctx, "/milvus.proto.backup.MilvusBackupService/ListBackups", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *milvusBackupServiceClient) DeleteBackup(ctx context.Context, in *DeleteBackupRequest, opts ...grpc.CallOption) (*DeleteBackupResponse, error) { + out := new(DeleteBackupResponse) + err := c.cc.Invoke(ctx, "/milvus.proto.backup.MilvusBackupService/DeleteBackup", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *milvusBackupServiceClient) RestoreBackup(ctx context.Context, in *RestoreBackupRequest, opts ...grpc.CallOption) (*RestoreBackupResponse, error) { + out := new(RestoreBackupResponse) + err := c.cc.Invoke(ctx, "/milvus.proto.backup.MilvusBackupService/RestoreBackup", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *milvusBackupServiceClient) GetRestore(ctx context.Context, in *GetRestoreStateRequest, opts ...grpc.CallOption) (*RestoreBackupResponse, error) { + out := new(RestoreBackupResponse) + err := c.cc.Invoke(ctx, "/milvus.proto.backup.MilvusBackupService/GetRestore", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *milvusBackupServiceClient) Check(ctx context.Context, in *CheckRequest, opts ...grpc.CallOption) (*CheckResponse, error) { + out := new(CheckResponse) + err := c.cc.Invoke(ctx, "/milvus.proto.backup.MilvusBackupService/Check", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// MilvusBackupServiceServer is the server API for MilvusBackupService service. +type MilvusBackupServiceServer interface { + // Create backup + CreateBackup(context.Context, *CreateBackupRequest) (*BackupInfoResponse, error) + // Get backup with the chosen name + GetBackup(context.Context, *GetBackupRequest) (*BackupInfoResponse, error) + // List backups that contains the given collection name, if collection is not given, return all backups in the cluster + ListBackups(context.Context, *ListBackupsRequest) (*ListBackupsResponse, error) + // Delete backup by given backup name + DeleteBackup(context.Context, *DeleteBackupRequest) (*DeleteBackupResponse, error) + // Restore backup to milvus, return backup restore report + RestoreBackup(context.Context, *RestoreBackupRequest) (*RestoreBackupResponse, error) + // Get restore state by given id + GetRestore(context.Context, *GetRestoreStateRequest) (*RestoreBackupResponse, error) + // Check connections + Check(context.Context, *CheckRequest) (*CheckResponse, error) +} + +// UnimplementedMilvusBackupServiceServer can be embedded to have forward compatible implementations. +type UnimplementedMilvusBackupServiceServer struct { +} + +func (*UnimplementedMilvusBackupServiceServer) CreateBackup(ctx context.Context, req *CreateBackupRequest) (*BackupInfoResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateBackup not implemented") +} +func (*UnimplementedMilvusBackupServiceServer) GetBackup(ctx context.Context, req *GetBackupRequest) (*BackupInfoResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetBackup not implemented") +} +func (*UnimplementedMilvusBackupServiceServer) ListBackups(ctx context.Context, req *ListBackupsRequest) (*ListBackupsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListBackups not implemented") +} +func (*UnimplementedMilvusBackupServiceServer) DeleteBackup(ctx context.Context, req *DeleteBackupRequest) (*DeleteBackupResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteBackup not implemented") +} +func (*UnimplementedMilvusBackupServiceServer) RestoreBackup(ctx context.Context, req *RestoreBackupRequest) (*RestoreBackupResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method RestoreBackup not implemented") +} +func (*UnimplementedMilvusBackupServiceServer) GetRestore(ctx context.Context, req *GetRestoreStateRequest) (*RestoreBackupResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetRestore not implemented") +} +func (*UnimplementedMilvusBackupServiceServer) Check(ctx context.Context, req *CheckRequest) (*CheckResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Check not implemented") +} + +func RegisterMilvusBackupServiceServer(s *grpc.Server, srv MilvusBackupServiceServer) { + s.RegisterService(&_MilvusBackupService_serviceDesc, srv) +} + +func _MilvusBackupService_CreateBackup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateBackupRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MilvusBackupServiceServer).CreateBackup(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/milvus.proto.backup.MilvusBackupService/CreateBackup", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MilvusBackupServiceServer).CreateBackup(ctx, req.(*CreateBackupRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _MilvusBackupService_GetBackup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetBackupRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MilvusBackupServiceServer).GetBackup(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/milvus.proto.backup.MilvusBackupService/GetBackup", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MilvusBackupServiceServer).GetBackup(ctx, req.(*GetBackupRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _MilvusBackupService_ListBackups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListBackupsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MilvusBackupServiceServer).ListBackups(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/milvus.proto.backup.MilvusBackupService/ListBackups", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MilvusBackupServiceServer).ListBackups(ctx, req.(*ListBackupsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _MilvusBackupService_DeleteBackup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeleteBackupRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MilvusBackupServiceServer).DeleteBackup(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/milvus.proto.backup.MilvusBackupService/DeleteBackup", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MilvusBackupServiceServer).DeleteBackup(ctx, req.(*DeleteBackupRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _MilvusBackupService_RestoreBackup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(RestoreBackupRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MilvusBackupServiceServer).RestoreBackup(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/milvus.proto.backup.MilvusBackupService/RestoreBackup", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MilvusBackupServiceServer).RestoreBackup(ctx, req.(*RestoreBackupRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _MilvusBackupService_GetRestore_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetRestoreStateRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MilvusBackupServiceServer).GetRestore(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/milvus.proto.backup.MilvusBackupService/GetRestore", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MilvusBackupServiceServer).GetRestore(ctx, req.(*GetRestoreStateRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _MilvusBackupService_Check_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CheckRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MilvusBackupServiceServer).Check(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/milvus.proto.backup.MilvusBackupService/Check", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MilvusBackupServiceServer).Check(ctx, req.(*CheckRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _MilvusBackupService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "milvus.proto.backup.MilvusBackupService", + HandlerType: (*MilvusBackupServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "CreateBackup", + Handler: _MilvusBackupService_CreateBackup_Handler, + }, + { + MethodName: "GetBackup", + Handler: _MilvusBackupService_GetBackup_Handler, + }, + { + MethodName: "ListBackups", + Handler: _MilvusBackupService_ListBackups_Handler, + }, + { + MethodName: "DeleteBackup", + Handler: _MilvusBackupService_DeleteBackup_Handler, + }, + { + MethodName: "RestoreBackup", + Handler: _MilvusBackupService_RestoreBackup_Handler, + }, + { + MethodName: "GetRestore", + Handler: _MilvusBackupService_GetRestore_Handler, + }, + { + MethodName: "Check", + Handler: _MilvusBackupService_Check_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "backup.proto", +}