milvus/internal/proto/commonpb/common.pb.go
xige-16 6f8ea8cc7b
Fix querycoord panic at getRecoveryInfo (#12983)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-12-13 10:29:27 +08:00

940 lines
33 KiB
Go

// Code generated by protoc-gen-go. DO NOT EDIT.
// source: common.proto
package commonpb
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
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 ErrorCode int32
const (
ErrorCode_Success ErrorCode = 0
ErrorCode_UnexpectedError ErrorCode = 1
ErrorCode_ConnectFailed ErrorCode = 2
ErrorCode_PermissionDenied ErrorCode = 3
ErrorCode_CollectionNotExists ErrorCode = 4
ErrorCode_IllegalArgument ErrorCode = 5
ErrorCode_IllegalDimension ErrorCode = 7
ErrorCode_IllegalIndexType ErrorCode = 8
ErrorCode_IllegalCollectionName ErrorCode = 9
ErrorCode_IllegalTOPK ErrorCode = 10
ErrorCode_IllegalRowRecord ErrorCode = 11
ErrorCode_IllegalVectorID ErrorCode = 12
ErrorCode_IllegalSearchResult ErrorCode = 13
ErrorCode_FileNotFound ErrorCode = 14
ErrorCode_MetaFailed ErrorCode = 15
ErrorCode_CacheFailed ErrorCode = 16
ErrorCode_CannotCreateFolder ErrorCode = 17
ErrorCode_CannotCreateFile ErrorCode = 18
ErrorCode_CannotDeleteFolder ErrorCode = 19
ErrorCode_CannotDeleteFile ErrorCode = 20
ErrorCode_BuildIndexError ErrorCode = 21
ErrorCode_IllegalNLIST ErrorCode = 22
ErrorCode_IllegalMetricType ErrorCode = 23
ErrorCode_OutOfMemory ErrorCode = 24
ErrorCode_IndexNotExist ErrorCode = 25
ErrorCode_EmptyCollection ErrorCode = 26
// internal error code.
ErrorCode_DDRequestRace ErrorCode = 1000
)
var ErrorCode_name = map[int32]string{
0: "Success",
1: "UnexpectedError",
2: "ConnectFailed",
3: "PermissionDenied",
4: "CollectionNotExists",
5: "IllegalArgument",
7: "IllegalDimension",
8: "IllegalIndexType",
9: "IllegalCollectionName",
10: "IllegalTOPK",
11: "IllegalRowRecord",
12: "IllegalVectorID",
13: "IllegalSearchResult",
14: "FileNotFound",
15: "MetaFailed",
16: "CacheFailed",
17: "CannotCreateFolder",
18: "CannotCreateFile",
19: "CannotDeleteFolder",
20: "CannotDeleteFile",
21: "BuildIndexError",
22: "IllegalNLIST",
23: "IllegalMetricType",
24: "OutOfMemory",
25: "IndexNotExist",
26: "EmptyCollection",
1000: "DDRequestRace",
}
var ErrorCode_value = map[string]int32{
"Success": 0,
"UnexpectedError": 1,
"ConnectFailed": 2,
"PermissionDenied": 3,
"CollectionNotExists": 4,
"IllegalArgument": 5,
"IllegalDimension": 7,
"IllegalIndexType": 8,
"IllegalCollectionName": 9,
"IllegalTOPK": 10,
"IllegalRowRecord": 11,
"IllegalVectorID": 12,
"IllegalSearchResult": 13,
"FileNotFound": 14,
"MetaFailed": 15,
"CacheFailed": 16,
"CannotCreateFolder": 17,
"CannotCreateFile": 18,
"CannotDeleteFolder": 19,
"CannotDeleteFile": 20,
"BuildIndexError": 21,
"IllegalNLIST": 22,
"IllegalMetricType": 23,
"OutOfMemory": 24,
"IndexNotExist": 25,
"EmptyCollection": 26,
"DDRequestRace": 1000,
}
func (x ErrorCode) String() string {
return proto.EnumName(ErrorCode_name, int32(x))
}
func (ErrorCode) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_555bd8c177793206, []int{0}
}
type IndexState int32
const (
IndexState_IndexStateNone IndexState = 0
IndexState_Unissued IndexState = 1
IndexState_InProgress IndexState = 2
IndexState_Finished IndexState = 3
IndexState_Failed IndexState = 4
)
var IndexState_name = map[int32]string{
0: "IndexStateNone",
1: "Unissued",
2: "InProgress",
3: "Finished",
4: "Failed",
}
var IndexState_value = map[string]int32{
"IndexStateNone": 0,
"Unissued": 1,
"InProgress": 2,
"Finished": 3,
"Failed": 4,
}
func (x IndexState) String() string {
return proto.EnumName(IndexState_name, int32(x))
}
func (IndexState) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_555bd8c177793206, []int{1}
}
type SegmentState int32
const (
SegmentState_SegmentStateNone SegmentState = 0
SegmentState_NotExist SegmentState = 1
SegmentState_Growing SegmentState = 2
SegmentState_Sealed SegmentState = 3
SegmentState_Flushed SegmentState = 4
SegmentState_Flushing SegmentState = 5
SegmentState_Dropped SegmentState = 6
)
var SegmentState_name = map[int32]string{
0: "SegmentStateNone",
1: "NotExist",
2: "Growing",
3: "Sealed",
4: "Flushed",
5: "Flushing",
6: "Dropped",
}
var SegmentState_value = map[string]int32{
"SegmentStateNone": 0,
"NotExist": 1,
"Growing": 2,
"Sealed": 3,
"Flushed": 4,
"Flushing": 5,
"Dropped": 6,
}
func (x SegmentState) String() string {
return proto.EnumName(SegmentState_name, int32(x))
}
func (SegmentState) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_555bd8c177793206, []int{2}
}
type MsgType int32
const (
MsgType_Undefined MsgType = 0
// DEFINITION REQUESTS: COLLECTION
MsgType_CreateCollection MsgType = 100
MsgType_DropCollection MsgType = 101
MsgType_HasCollection MsgType = 102
MsgType_DescribeCollection MsgType = 103
MsgType_ShowCollections MsgType = 104
MsgType_GetSystemConfigs MsgType = 105
MsgType_LoadCollection MsgType = 106
MsgType_ReleaseCollection MsgType = 107
MsgType_CreateAlias MsgType = 108
MsgType_DropAlias MsgType = 109
MsgType_AlterAlias MsgType = 110
// DEFINITION REQUESTS: PARTITION
MsgType_CreatePartition MsgType = 200
MsgType_DropPartition MsgType = 201
MsgType_HasPartition MsgType = 202
MsgType_DescribePartition MsgType = 203
MsgType_ShowPartitions MsgType = 204
MsgType_LoadPartitions MsgType = 205
MsgType_ReleasePartitions MsgType = 206
// DEFINE REQUESTS: SEGMENT
MsgType_ShowSegments MsgType = 250
MsgType_DescribeSegment MsgType = 251
MsgType_LoadSegments MsgType = 252
MsgType_ReleaseSegments MsgType = 253
MsgType_HandoffSegments MsgType = 254
MsgType_LoadBalanceSegments MsgType = 255
// DEFINITION REQUESTS: INDEX
MsgType_CreateIndex MsgType = 300
MsgType_DescribeIndex MsgType = 301
MsgType_DropIndex MsgType = 302
// MANIPULATION REQUESTS
MsgType_Insert MsgType = 400
MsgType_Delete MsgType = 401
MsgType_Flush MsgType = 402
// QUERY
MsgType_Search MsgType = 500
MsgType_SearchResult MsgType = 501
MsgType_GetIndexState MsgType = 502
MsgType_GetIndexBuildProgress MsgType = 503
MsgType_GetCollectionStatistics MsgType = 504
MsgType_GetPartitionStatistics MsgType = 505
MsgType_Retrieve MsgType = 506
MsgType_RetrieveResult MsgType = 507
MsgType_WatchDmChannels MsgType = 508
MsgType_RemoveDmChannels MsgType = 509
MsgType_WatchQueryChannels MsgType = 510
MsgType_RemoveQueryChannels MsgType = 511
MsgType_SealedSegmentsChangeInfo MsgType = 512
MsgType_WatchDeltaChannels MsgType = 513
// DATA SERVICE
MsgType_SegmentInfo MsgType = 600
MsgType_SystemInfo MsgType = 601
MsgType_GetRecoveryInfo MsgType = 602
// SYSTEM CONTROL
MsgType_TimeTick MsgType = 1200
MsgType_QueryNodeStats MsgType = 1201
MsgType_LoadIndex MsgType = 1202
MsgType_RequestID MsgType = 1203
MsgType_RequestTSO MsgType = 1204
MsgType_AllocateSegment MsgType = 1205
MsgType_SegmentStatistics MsgType = 1206
MsgType_SegmentFlushDone MsgType = 1207
MsgType_DataNodeTt MsgType = 1208
)
var MsgType_name = map[int32]string{
0: "Undefined",
100: "CreateCollection",
101: "DropCollection",
102: "HasCollection",
103: "DescribeCollection",
104: "ShowCollections",
105: "GetSystemConfigs",
106: "LoadCollection",
107: "ReleaseCollection",
108: "CreateAlias",
109: "DropAlias",
110: "AlterAlias",
200: "CreatePartition",
201: "DropPartition",
202: "HasPartition",
203: "DescribePartition",
204: "ShowPartitions",
205: "LoadPartitions",
206: "ReleasePartitions",
250: "ShowSegments",
251: "DescribeSegment",
252: "LoadSegments",
253: "ReleaseSegments",
254: "HandoffSegments",
255: "LoadBalanceSegments",
300: "CreateIndex",
301: "DescribeIndex",
302: "DropIndex",
400: "Insert",
401: "Delete",
402: "Flush",
500: "Search",
501: "SearchResult",
502: "GetIndexState",
503: "GetIndexBuildProgress",
504: "GetCollectionStatistics",
505: "GetPartitionStatistics",
506: "Retrieve",
507: "RetrieveResult",
508: "WatchDmChannels",
509: "RemoveDmChannels",
510: "WatchQueryChannels",
511: "RemoveQueryChannels",
512: "SealedSegmentsChangeInfo",
513: "WatchDeltaChannels",
600: "SegmentInfo",
601: "SystemInfo",
602: "GetRecoveryInfo",
1200: "TimeTick",
1201: "QueryNodeStats",
1202: "LoadIndex",
1203: "RequestID",
1204: "RequestTSO",
1205: "AllocateSegment",
1206: "SegmentStatistics",
1207: "SegmentFlushDone",
1208: "DataNodeTt",
}
var MsgType_value = map[string]int32{
"Undefined": 0,
"CreateCollection": 100,
"DropCollection": 101,
"HasCollection": 102,
"DescribeCollection": 103,
"ShowCollections": 104,
"GetSystemConfigs": 105,
"LoadCollection": 106,
"ReleaseCollection": 107,
"CreateAlias": 108,
"DropAlias": 109,
"AlterAlias": 110,
"CreatePartition": 200,
"DropPartition": 201,
"HasPartition": 202,
"DescribePartition": 203,
"ShowPartitions": 204,
"LoadPartitions": 205,
"ReleasePartitions": 206,
"ShowSegments": 250,
"DescribeSegment": 251,
"LoadSegments": 252,
"ReleaseSegments": 253,
"HandoffSegments": 254,
"LoadBalanceSegments": 255,
"CreateIndex": 300,
"DescribeIndex": 301,
"DropIndex": 302,
"Insert": 400,
"Delete": 401,
"Flush": 402,
"Search": 500,
"SearchResult": 501,
"GetIndexState": 502,
"GetIndexBuildProgress": 503,
"GetCollectionStatistics": 504,
"GetPartitionStatistics": 505,
"Retrieve": 506,
"RetrieveResult": 507,
"WatchDmChannels": 508,
"RemoveDmChannels": 509,
"WatchQueryChannels": 510,
"RemoveQueryChannels": 511,
"SealedSegmentsChangeInfo": 512,
"WatchDeltaChannels": 513,
"SegmentInfo": 600,
"SystemInfo": 601,
"GetRecoveryInfo": 602,
"TimeTick": 1200,
"QueryNodeStats": 1201,
"LoadIndex": 1202,
"RequestID": 1203,
"RequestTSO": 1204,
"AllocateSegment": 1205,
"SegmentStatistics": 1206,
"SegmentFlushDone": 1207,
"DataNodeTt": 1208,
}
func (x MsgType) String() string {
return proto.EnumName(MsgType_name, int32(x))
}
func (MsgType) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_555bd8c177793206, []int{3}
}
type DslType int32
const (
DslType_Dsl DslType = 0
DslType_BoolExprV1 DslType = 1
)
var DslType_name = map[int32]string{
0: "Dsl",
1: "BoolExprV1",
}
var DslType_value = map[string]int32{
"Dsl": 0,
"BoolExprV1": 1,
}
func (x DslType) String() string {
return proto.EnumName(DslType_name, int32(x))
}
func (DslType) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_555bd8c177793206, []int{4}
}
type CompactionState int32
const (
CompactionState_UndefiedState CompactionState = 0
CompactionState_Executing CompactionState = 1
CompactionState_Completed CompactionState = 2
)
var CompactionState_name = map[int32]string{
0: "UndefiedState",
1: "Executing",
2: "Completed",
}
var CompactionState_value = map[string]int32{
"UndefiedState": 0,
"Executing": 1,
"Completed": 2,
}
func (x CompactionState) String() string {
return proto.EnumName(CompactionState_name, int32(x))
}
func (CompactionState) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_555bd8c177793206, []int{5}
}
type Status struct {
ErrorCode ErrorCode `protobuf:"varint,1,opt,name=error_code,json=errorCode,proto3,enum=milvus.proto.common.ErrorCode" json:"error_code,omitempty"`
Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Status) Reset() { *m = Status{} }
func (m *Status) String() string { return proto.CompactTextString(m) }
func (*Status) ProtoMessage() {}
func (*Status) Descriptor() ([]byte, []int) {
return fileDescriptor_555bd8c177793206, []int{0}
}
func (m *Status) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Status.Unmarshal(m, b)
}
func (m *Status) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Status.Marshal(b, m, deterministic)
}
func (m *Status) XXX_Merge(src proto.Message) {
xxx_messageInfo_Status.Merge(m, src)
}
func (m *Status) XXX_Size() int {
return xxx_messageInfo_Status.Size(m)
}
func (m *Status) XXX_DiscardUnknown() {
xxx_messageInfo_Status.DiscardUnknown(m)
}
var xxx_messageInfo_Status proto.InternalMessageInfo
func (m *Status) GetErrorCode() ErrorCode {
if m != nil {
return m.ErrorCode
}
return ErrorCode_Success
}
func (m *Status) GetReason() string {
if m != nil {
return m.Reason
}
return ""
}
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_555bd8c177793206, []int{1}
}
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 KeyDataPair struct {
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *KeyDataPair) Reset() { *m = KeyDataPair{} }
func (m *KeyDataPair) String() string { return proto.CompactTextString(m) }
func (*KeyDataPair) ProtoMessage() {}
func (*KeyDataPair) Descriptor() ([]byte, []int) {
return fileDescriptor_555bd8c177793206, []int{2}
}
func (m *KeyDataPair) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_KeyDataPair.Unmarshal(m, b)
}
func (m *KeyDataPair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_KeyDataPair.Marshal(b, m, deterministic)
}
func (m *KeyDataPair) XXX_Merge(src proto.Message) {
xxx_messageInfo_KeyDataPair.Merge(m, src)
}
func (m *KeyDataPair) XXX_Size() int {
return xxx_messageInfo_KeyDataPair.Size(m)
}
func (m *KeyDataPair) XXX_DiscardUnknown() {
xxx_messageInfo_KeyDataPair.DiscardUnknown(m)
}
var xxx_messageInfo_KeyDataPair proto.InternalMessageInfo
func (m *KeyDataPair) GetKey() string {
if m != nil {
return m.Key
}
return ""
}
func (m *KeyDataPair) GetData() []byte {
if m != nil {
return m.Data
}
return nil
}
type Blob struct {
Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Blob) Reset() { *m = Blob{} }
func (m *Blob) String() string { return proto.CompactTextString(m) }
func (*Blob) ProtoMessage() {}
func (*Blob) Descriptor() ([]byte, []int) {
return fileDescriptor_555bd8c177793206, []int{3}
}
func (m *Blob) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Blob.Unmarshal(m, b)
}
func (m *Blob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Blob.Marshal(b, m, deterministic)
}
func (m *Blob) XXX_Merge(src proto.Message) {
xxx_messageInfo_Blob.Merge(m, src)
}
func (m *Blob) XXX_Size() int {
return xxx_messageInfo_Blob.Size(m)
}
func (m *Blob) XXX_DiscardUnknown() {
xxx_messageInfo_Blob.DiscardUnknown(m)
}
var xxx_messageInfo_Blob proto.InternalMessageInfo
func (m *Blob) GetValue() []byte {
if m != nil {
return m.Value
}
return nil
}
type Address struct {
Ip string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"`
Port int64 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Address) Reset() { *m = Address{} }
func (m *Address) String() string { return proto.CompactTextString(m) }
func (*Address) ProtoMessage() {}
func (*Address) Descriptor() ([]byte, []int) {
return fileDescriptor_555bd8c177793206, []int{4}
}
func (m *Address) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Address.Unmarshal(m, b)
}
func (m *Address) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Address.Marshal(b, m, deterministic)
}
func (m *Address) XXX_Merge(src proto.Message) {
xxx_messageInfo_Address.Merge(m, src)
}
func (m *Address) XXX_Size() int {
return xxx_messageInfo_Address.Size(m)
}
func (m *Address) XXX_DiscardUnknown() {
xxx_messageInfo_Address.DiscardUnknown(m)
}
var xxx_messageInfo_Address proto.InternalMessageInfo
func (m *Address) GetIp() string {
if m != nil {
return m.Ip
}
return ""
}
func (m *Address) GetPort() int64 {
if m != nil {
return m.Port
}
return 0
}
type MsgBase struct {
MsgType MsgType `protobuf:"varint,1,opt,name=msg_type,json=msgType,proto3,enum=milvus.proto.common.MsgType" json:"msg_type,omitempty"`
MsgID int64 `protobuf:"varint,2,opt,name=msgID,proto3" json:"msgID,omitempty"`
Timestamp uint64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
SourceID int64 `protobuf:"varint,4,opt,name=sourceID,proto3" json:"sourceID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *MsgBase) Reset() { *m = MsgBase{} }
func (m *MsgBase) String() string { return proto.CompactTextString(m) }
func (*MsgBase) ProtoMessage() {}
func (*MsgBase) Descriptor() ([]byte, []int) {
return fileDescriptor_555bd8c177793206, []int{5}
}
func (m *MsgBase) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_MsgBase.Unmarshal(m, b)
}
func (m *MsgBase) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_MsgBase.Marshal(b, m, deterministic)
}
func (m *MsgBase) XXX_Merge(src proto.Message) {
xxx_messageInfo_MsgBase.Merge(m, src)
}
func (m *MsgBase) XXX_Size() int {
return xxx_messageInfo_MsgBase.Size(m)
}
func (m *MsgBase) XXX_DiscardUnknown() {
xxx_messageInfo_MsgBase.DiscardUnknown(m)
}
var xxx_messageInfo_MsgBase proto.InternalMessageInfo
func (m *MsgBase) GetMsgType() MsgType {
if m != nil {
return m.MsgType
}
return MsgType_Undefined
}
func (m *MsgBase) GetMsgID() int64 {
if m != nil {
return m.MsgID
}
return 0
}
func (m *MsgBase) GetTimestamp() uint64 {
if m != nil {
return m.Timestamp
}
return 0
}
func (m *MsgBase) GetSourceID() int64 {
if m != nil {
return m.SourceID
}
return 0
}
// Don't Modify This. @czs
type MsgHeader struct {
Base *MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *MsgHeader) Reset() { *m = MsgHeader{} }
func (m *MsgHeader) String() string { return proto.CompactTextString(m) }
func (*MsgHeader) ProtoMessage() {}
func (*MsgHeader) Descriptor() ([]byte, []int) {
return fileDescriptor_555bd8c177793206, []int{6}
}
func (m *MsgHeader) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_MsgHeader.Unmarshal(m, b)
}
func (m *MsgHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_MsgHeader.Marshal(b, m, deterministic)
}
func (m *MsgHeader) XXX_Merge(src proto.Message) {
xxx_messageInfo_MsgHeader.Merge(m, src)
}
func (m *MsgHeader) XXX_Size() int {
return xxx_messageInfo_MsgHeader.Size(m)
}
func (m *MsgHeader) XXX_DiscardUnknown() {
xxx_messageInfo_MsgHeader.DiscardUnknown(m)
}
var xxx_messageInfo_MsgHeader proto.InternalMessageInfo
func (m *MsgHeader) GetBase() *MsgBase {
if m != nil {
return m.Base
}
return nil
}
// Don't Modify This. @czs
type DMLMsgHeader struct {
Base *MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
ShardName string `protobuf:"bytes,2,opt,name=shardName,proto3" json:"shardName,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DMLMsgHeader) Reset() { *m = DMLMsgHeader{} }
func (m *DMLMsgHeader) String() string { return proto.CompactTextString(m) }
func (*DMLMsgHeader) ProtoMessage() {}
func (*DMLMsgHeader) Descriptor() ([]byte, []int) {
return fileDescriptor_555bd8c177793206, []int{7}
}
func (m *DMLMsgHeader) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DMLMsgHeader.Unmarshal(m, b)
}
func (m *DMLMsgHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_DMLMsgHeader.Marshal(b, m, deterministic)
}
func (m *DMLMsgHeader) XXX_Merge(src proto.Message) {
xxx_messageInfo_DMLMsgHeader.Merge(m, src)
}
func (m *DMLMsgHeader) XXX_Size() int {
return xxx_messageInfo_DMLMsgHeader.Size(m)
}
func (m *DMLMsgHeader) XXX_DiscardUnknown() {
xxx_messageInfo_DMLMsgHeader.DiscardUnknown(m)
}
var xxx_messageInfo_DMLMsgHeader proto.InternalMessageInfo
func (m *DMLMsgHeader) GetBase() *MsgBase {
if m != nil {
return m.Base
}
return nil
}
func (m *DMLMsgHeader) GetShardName() string {
if m != nil {
return m.ShardName
}
return ""
}
func init() {
proto.RegisterEnum("milvus.proto.common.ErrorCode", ErrorCode_name, ErrorCode_value)
proto.RegisterEnum("milvus.proto.common.IndexState", IndexState_name, IndexState_value)
proto.RegisterEnum("milvus.proto.common.SegmentState", SegmentState_name, SegmentState_value)
proto.RegisterEnum("milvus.proto.common.MsgType", MsgType_name, MsgType_value)
proto.RegisterEnum("milvus.proto.common.DslType", DslType_name, DslType_value)
proto.RegisterEnum("milvus.proto.common.CompactionState", CompactionState_name, CompactionState_value)
proto.RegisterType((*Status)(nil), "milvus.proto.common.Status")
proto.RegisterType((*KeyValuePair)(nil), "milvus.proto.common.KeyValuePair")
proto.RegisterType((*KeyDataPair)(nil), "milvus.proto.common.KeyDataPair")
proto.RegisterType((*Blob)(nil), "milvus.proto.common.Blob")
proto.RegisterType((*Address)(nil), "milvus.proto.common.Address")
proto.RegisterType((*MsgBase)(nil), "milvus.proto.common.MsgBase")
proto.RegisterType((*MsgHeader)(nil), "milvus.proto.common.MsgHeader")
proto.RegisterType((*DMLMsgHeader)(nil), "milvus.proto.common.DMLMsgHeader")
}
func init() { proto.RegisterFile("common.proto", fileDescriptor_555bd8c177793206) }
var fileDescriptor_555bd8c177793206 = []byte{
// 1446 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0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