milvus/internal/proto/commonpb/common.pb.go

747 lines
28 KiB
Go
Raw Normal View History

// 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_ERROR_CODE_SUCCESS ErrorCode = 0
ErrorCode_ERROR_CODE_UNEXPECTED_ERROR ErrorCode = 1
ErrorCode_ERROR_CODE_CONNECT_FAILED ErrorCode = 2
ErrorCode_ERROR_CODE_PERMISSION_DENIED ErrorCode = 3
ErrorCode_ERROR_CODE_COLLECTION_NOT_EXISTS ErrorCode = 4
ErrorCode_ERROR_CODE_ILLEGAL_ARGUMENT ErrorCode = 5
ErrorCode_ERROR_CODE_ILLEGAL_DIMENSION ErrorCode = 7
ErrorCode_ERROR_CODE_ILLEGAL_INDEX_TYPE ErrorCode = 8
ErrorCode_ERROR_CODE_ILLEGAL_COLLECTION_NAME ErrorCode = 9
ErrorCode_ERROR_CODE_ILLEGAL_TOPK ErrorCode = 10
ErrorCode_ERROR_CODE_ILLEGAL_ROWRECORD ErrorCode = 11
ErrorCode_ERROR_CODE_ILLEGAL_VECTOR_ID ErrorCode = 12
ErrorCode_ERROR_CODE_ILLEGAL_SEARCH_RESULT ErrorCode = 13
ErrorCode_ERROR_CODE_FILE_NOT_FOUND ErrorCode = 14
ErrorCode_ERROR_CODE_META_FAILED ErrorCode = 15
ErrorCode_ERROR_CODE_CACHE_FAILED ErrorCode = 16
ErrorCode_ERROR_CODE_CANNOT_CREATE_FOLDER ErrorCode = 17
ErrorCode_ERROR_CODE_CANNOT_CREATE_FILE ErrorCode = 18
ErrorCode_ERROR_CODE_CANNOT_DELETE_FOLDER ErrorCode = 19
ErrorCode_ERROR_CODE_CANNOT_DELETE_FILE ErrorCode = 20
ErrorCode_ERROR_CODE_BUILD_INDEX_ERROR ErrorCode = 21
ErrorCode_ERROR_CODE_ILLEGAL_NLIST ErrorCode = 22
ErrorCode_ERROR_CODE_ILLEGAL_METRIC_TYPE ErrorCode = 23
ErrorCode_ERROR_CODE_OUT_OF_MEMORY ErrorCode = 24
ErrorCode_ERROR_CODE_INDEX_NOT_EXIST ErrorCode = 25
// internal error code.
ErrorCode_ERROR_CODE_DD_REQUEST_RACE ErrorCode = 1000
)
var ErrorCode_name = map[int32]string{
0: "ERROR_CODE_SUCCESS",
1: "ERROR_CODE_UNEXPECTED_ERROR",
2: "ERROR_CODE_CONNECT_FAILED",
3: "ERROR_CODE_PERMISSION_DENIED",
4: "ERROR_CODE_COLLECTION_NOT_EXISTS",
5: "ERROR_CODE_ILLEGAL_ARGUMENT",
7: "ERROR_CODE_ILLEGAL_DIMENSION",
8: "ERROR_CODE_ILLEGAL_INDEX_TYPE",
9: "ERROR_CODE_ILLEGAL_COLLECTION_NAME",
10: "ERROR_CODE_ILLEGAL_TOPK",
11: "ERROR_CODE_ILLEGAL_ROWRECORD",
12: "ERROR_CODE_ILLEGAL_VECTOR_ID",
13: "ERROR_CODE_ILLEGAL_SEARCH_RESULT",
14: "ERROR_CODE_FILE_NOT_FOUND",
15: "ERROR_CODE_META_FAILED",
16: "ERROR_CODE_CACHE_FAILED",
17: "ERROR_CODE_CANNOT_CREATE_FOLDER",
18: "ERROR_CODE_CANNOT_CREATE_FILE",
19: "ERROR_CODE_CANNOT_DELETE_FOLDER",
20: "ERROR_CODE_CANNOT_DELETE_FILE",
21: "ERROR_CODE_BUILD_INDEX_ERROR",
22: "ERROR_CODE_ILLEGAL_NLIST",
23: "ERROR_CODE_ILLEGAL_METRIC_TYPE",
24: "ERROR_CODE_OUT_OF_MEMORY",
25: "ERROR_CODE_INDEX_NOT_EXIST",
1000: "ERROR_CODE_DD_REQUEST_RACE",
}
var ErrorCode_value = map[string]int32{
"ERROR_CODE_SUCCESS": 0,
"ERROR_CODE_UNEXPECTED_ERROR": 1,
"ERROR_CODE_CONNECT_FAILED": 2,
"ERROR_CODE_PERMISSION_DENIED": 3,
"ERROR_CODE_COLLECTION_NOT_EXISTS": 4,
"ERROR_CODE_ILLEGAL_ARGUMENT": 5,
"ERROR_CODE_ILLEGAL_DIMENSION": 7,
"ERROR_CODE_ILLEGAL_INDEX_TYPE": 8,
"ERROR_CODE_ILLEGAL_COLLECTION_NAME": 9,
"ERROR_CODE_ILLEGAL_TOPK": 10,
"ERROR_CODE_ILLEGAL_ROWRECORD": 11,
"ERROR_CODE_ILLEGAL_VECTOR_ID": 12,
"ERROR_CODE_ILLEGAL_SEARCH_RESULT": 13,
"ERROR_CODE_FILE_NOT_FOUND": 14,
"ERROR_CODE_META_FAILED": 15,
"ERROR_CODE_CACHE_FAILED": 16,
"ERROR_CODE_CANNOT_CREATE_FOLDER": 17,
"ERROR_CODE_CANNOT_CREATE_FILE": 18,
"ERROR_CODE_CANNOT_DELETE_FOLDER": 19,
"ERROR_CODE_CANNOT_DELETE_FILE": 20,
"ERROR_CODE_BUILD_INDEX_ERROR": 21,
"ERROR_CODE_ILLEGAL_NLIST": 22,
"ERROR_CODE_ILLEGAL_METRIC_TYPE": 23,
"ERROR_CODE_OUT_OF_MEMORY": 24,
"ERROR_CODE_INDEX_NOT_EXIST": 25,
"ERROR_CODE_DD_REQUEST_RACE": 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_INDEX_STATE_NONE IndexState = 0
IndexState_INDEX_STATE_UNISSUED IndexState = 1
IndexState_INDEX_STATE_IN_PROGRESS IndexState = 2
IndexState_INDEX_STATE_FINISHED IndexState = 3
IndexState_INDEX_STATE_FAILED IndexState = 4
IndexState_INDEX_STATE_DELETED IndexState = 5
)
var IndexState_name = map[int32]string{
0: "INDEX_STATE_NONE",
1: "INDEX_STATE_UNISSUED",
2: "INDEX_STATE_IN_PROGRESS",
3: "INDEX_STATE_FINISHED",
4: "INDEX_STATE_FAILED",
5: "INDEX_STATE_DELETED",
}
var IndexState_value = map[string]int32{
"INDEX_STATE_NONE": 0,
"INDEX_STATE_UNISSUED": 1,
"INDEX_STATE_IN_PROGRESS": 2,
"INDEX_STATE_FINISHED": 3,
"INDEX_STATE_FAILED": 4,
"INDEX_STATE_DELETED": 5,
}
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_SegmentNone SegmentState = 0
SegmentState_SegmentNotExist SegmentState = 1
SegmentState_SegmentGrowing SegmentState = 2
SegmentState_SegmentSealed SegmentState = 3
SegmentState_SegmentFlushed SegmentState = 4
)
var SegmentState_name = map[int32]string{
0: "SegmentNone",
1: "SegmentNotExist",
2: "SegmentGrowing",
3: "SegmentSealed",
4: "SegmentFlushed",
}
var SegmentState_value = map[string]int32{
"SegmentNone": 0,
"SegmentNotExist": 1,
"SegmentGrowing": 2,
"SegmentSealed": 3,
"SegmentFlushed": 4,
}
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_kNone MsgType = 0
// Definition Requests: collection
MsgType_kCreateCollection MsgType = 100
MsgType_kDropCollection MsgType = 101
MsgType_kHasCollection MsgType = 102
MsgType_kDescribeCollection MsgType = 103
MsgType_kShowCollections MsgType = 104
MsgType_kGetSysConfigs MsgType = 105
MsgType_kLoadCollection MsgType = 106
MsgType_kReleaseCollection MsgType = 107
// Definition Requests: partition
MsgType_kCreatePartition MsgType = 200
MsgType_kDropPartition MsgType = 201
MsgType_kHasPartition MsgType = 202
MsgType_kDescribePartition MsgType = 203
MsgType_kShowPartitions MsgType = 204
MsgType_kLoadPartition MsgType = 205
MsgType_kReleasePartition MsgType = 206
// Define Requests: segment
MsgType_kShowSegment MsgType = 250
MsgType_kDescribeSegment MsgType = 251
// Definition Requests: Index
MsgType_kCreateIndex MsgType = 300
MsgType_kDescribeIndex MsgType = 301
MsgType_kDropIndex MsgType = 302
// Manipulation Requests
MsgType_kInsert MsgType = 400
MsgType_kDelete MsgType = 401
MsgType_kFlush MsgType = 402
// Query
MsgType_kSearch MsgType = 500
MsgType_kSearchResult MsgType = 501
MsgType_kGetIndexState MsgType = 502
MsgType_kGetCollectionStatistics MsgType = 503
MsgType_kGetPartitionStatistics MsgType = 504
// Data Service
MsgType_kSegmentInfo MsgType = 600
// System Control
MsgType_kTimeTick MsgType = 1200
MsgType_kQueryNodeStats MsgType = 1201
MsgType_kLoadIndex MsgType = 1202
MsgType_kRequestID MsgType = 1203
MsgType_kRequestTSO MsgType = 1204
MsgType_kAllocateSegment MsgType = 1205
MsgType_kSegmentStatistics MsgType = 1206
MsgType_kSegmentFlushDone MsgType = 1207
)
var MsgType_name = map[int32]string{
0: "kNone",
100: "kCreateCollection",
101: "kDropCollection",
102: "kHasCollection",
103: "kDescribeCollection",
104: "kShowCollections",
105: "kGetSysConfigs",
106: "kLoadCollection",
107: "kReleaseCollection",
200: "kCreatePartition",
201: "kDropPartition",
202: "kHasPartition",
203: "kDescribePartition",
204: "kShowPartitions",
205: "kLoadPartition",
206: "kReleasePartition",
250: "kShowSegment",
251: "kDescribeSegment",
300: "kCreateIndex",
301: "kDescribeIndex",
302: "kDropIndex",
400: "kInsert",
401: "kDelete",
402: "kFlush",
500: "kSearch",
501: "kSearchResult",
502: "kGetIndexState",
503: "kGetCollectionStatistics",
504: "kGetPartitionStatistics",
600: "kSegmentInfo",
1200: "kTimeTick",
1201: "kQueryNodeStats",
1202: "kLoadIndex",
1203: "kRequestID",
1204: "kRequestTSO",
1205: "kAllocateSegment",
1206: "kSegmentStatistics",
1207: "kSegmentFlushDone",
}
var MsgType_value = map[string]int32{
"kNone": 0,
"kCreateCollection": 100,
"kDropCollection": 101,
"kHasCollection": 102,
"kDescribeCollection": 103,
"kShowCollections": 104,
"kGetSysConfigs": 105,
"kLoadCollection": 106,
"kReleaseCollection": 107,
"kCreatePartition": 200,
"kDropPartition": 201,
"kHasPartition": 202,
"kDescribePartition": 203,
"kShowPartitions": 204,
"kLoadPartition": 205,
"kReleasePartition": 206,
"kShowSegment": 250,
"kDescribeSegment": 251,
"kCreateIndex": 300,
"kDescribeIndex": 301,
"kDropIndex": 302,
"kInsert": 400,
"kDelete": 401,
"kFlush": 402,
"kSearch": 500,
"kSearchResult": 501,
"kGetIndexState": 502,
"kGetCollectionStatistics": 503,
"kGetPartitionStatistics": 504,
"kSegmentInfo": 600,
"kTimeTick": 1200,
"kQueryNodeStats": 1201,
"kLoadIndex": 1202,
"kRequestID": 1203,
"kRequestTSO": 1204,
"kAllocateSegment": 1205,
"kSegmentStatistics": 1206,
"kSegmentFlushDone": 1207,
}
func (x MsgType) String() string {
return proto.EnumName(MsgType_name, int32(x))
}
func (MsgType) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_555bd8c177793206, []int{3}
}
type Empty struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Empty) Reset() { *m = Empty{} }
func (m *Empty) String() string { return proto.CompactTextString(m) }
func (*Empty) ProtoMessage() {}
func (*Empty) Descriptor() ([]byte, []int) {
return fileDescriptor_555bd8c177793206, []int{0}
}
func (m *Empty) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Empty.Unmarshal(m, b)
}
func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Empty.Marshal(b, m, deterministic)
}
func (m *Empty) XXX_Merge(src proto.Message) {
xxx_messageInfo_Empty.Merge(m, src)
}
func (m *Empty) XXX_Size() int {
return xxx_messageInfo_Empty.Size(m)
}
func (m *Empty) XXX_DiscardUnknown() {
xxx_messageInfo_Empty.DiscardUnknown(m)
}
var xxx_messageInfo_Empty proto.InternalMessageInfo
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{1}
}
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_ERROR_CODE_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{2}
}
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 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_kNone
}
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
}
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.RegisterType((*Empty)(nil), "milvus.proto.common.Empty")
proto.RegisterType((*Status)(nil), "milvus.proto.common.Status")
proto.RegisterType((*KeyValuePair)(nil), "milvus.proto.common.KeyValuePair")
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")
}
func init() { proto.RegisterFile("common.proto", fileDescriptor_555bd8c177793206) }
var fileDescriptor_555bd8c177793206 = []byte{
// 1285 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x55, 0xcb, 0x6e, 0xdb, 0x46,
0x1b, 0x0d, 0x25, 0xd9, 0x0a, 0x3f, 0x2b, 0xf6, 0x78, 0xec, 0xd8, 0x4a, 0xe2, 0x24, 0xfe, 0xf5,
0x17, 0x45, 0x60, 0x20, 0x76, 0xd1, 0x02, 0xed, 0x2a, 0x40, 0x65, 0x72, 0x64, 0x13, 0xa1, 0x48,
0x65, 0x48, 0xa5, 0x49, 0x37, 0x04, 0x25, 0x4d,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