milvus/internal/proto/commonpb/common.pb.go
bigsheeper 3a4df03b70
Add SealedSegmentsChangeInfo and changeInfoMsg (#9479)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-10-09 14:45:00 +08:00

894 lines
32 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
)
var SegmentState_name = map[int32]string{
0: "SegmentStateNone",
1: "NotExist",
2: "Growing",
3: "Sealed",
4: "Flushed",
5: "Flushing",
}
var SegmentState_value = map[string]int32{
"SegmentStateNone": 0,
"NotExist": 1,
"Growing": 2,
"Sealed": 3,
"Flushed": 4,
"Flushing": 5,
}
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
// DATA SERVICE
MsgType_SegmentInfo MsgType = 600
// 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",
600: "SegmentInfo",
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,
"SegmentInfo": 600,
"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 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.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{
// 1371 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x56, 0x4b, 0x73, 0x1b, 0x37,
0x12, 0xd6, 0x70, 0x28, 0x51, 0x84, 0x28, 0x09, 0x82, 0x1e, 0x96, 0xbd, 0xda, 0x2d, 0x17, 0x4f,
0x2e, 0x55, 0x59, 0xda, 0x5d, 0xd7, 0x6e, 0x4e, 0x3e, 0x48, 0x1c, 0x3d, 0x58, 0xb6, 0x1e, 0x19,
0xca, 0x4e, 0x2a, 0x87, 0xb8, 0xa0, 0x99, 0x26, 0x89, 0x78, 0x06, 0x60, 0x00, 0x50, 0x16, 0x6f,
0xf9, 0x09, 0x89, 0x7f, 0x47, 0x92, 0xca, 0x3b, 0xa9, 0xfc, 0x82, 0xbc, 0x2f, 0xb9, 0xe4, 0x27,
0xe4, 0x07, 0xe4, 0xe9, 0x67, 0xaa, 0x31, 0x43, 0x72, 0x5c, 0x65, 0x9f, 0x72, 0x43, 0x7f, 0xdd,
0xf8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