From ed0e29aa5f786d43f36d89e8cd8a4a5ca4c7fade Mon Sep 17 00:00:00 2001
From: liuxiaolong <736321739@qq.com>
Date: 星期四, 25 七月 2019 20:44:44 +0800
Subject: [PATCH] extend CompareArgs

---
 sdk.pb.go |  386 ++++++++++++++++++++++++++++++++++++++++--------------
 1 files changed, 283 insertions(+), 103 deletions(-)

diff --git a/sdk.pb.go b/sdk.pb.go
index a071d71..96b9780 100644
--- a/sdk.pb.go
+++ b/sdk.pb.go
@@ -29,6 +29,7 @@
 	Data      []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
 	Timestamp string `protobuf:"bytes,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
 	Id        int64  `protobuf:"varint,5,opt,name=id,proto3" json:"id,omitempty"`
+	Cid       string `protobuf:"bytes,6,opt,name=cid,proto3" json:"cid,omitempty"`
 }
 
 func (m *Image) Reset()         { *m = Image{} }
@@ -97,6 +98,13 @@
 		return m.Id
 	}
 	return 0
+}
+
+func (m *Image) GetCid() string {
+	if m != nil {
+		return m.Cid
+	}
+	return ""
 }
 
 type FaceAngle struct {
@@ -252,6 +260,7 @@
 	FAngle     *FaceAngle `protobuf:"bytes,6,opt,name=fAngle,proto3" json:"fAngle,omitempty"`
 	Quality    int32      `protobuf:"varint,7,opt,name=quality,proto3" json:"quality,omitempty"`
 	FacialData []byte     `protobuf:"bytes,8,opt,name=facialData,proto3" json:"facialData,omitempty"`
+	FaceID     uint64     `protobuf:"varint,9,opt,name=faceID,proto3" json:"faceID,omitempty"`
 }
 
 func (m *FacePos) Reset()         { *m = FacePos{} }
@@ -341,6 +350,13 @@
 		return m.FacialData
 	}
 	return nil
+}
+
+func (m *FacePos) GetFaceID() uint64 {
+	if m != nil {
+		return m.FaceID
+	}
+	return 0
 }
 
 type FaceInfo struct {
@@ -455,6 +471,7 @@
 	RcObj *Rect   `protobuf:"bytes,1,opt,name=rcObj,proto3" json:"rcObj,omitempty"`
 	Typ   int32   `protobuf:"varint,2,opt,name=typ,proto3" json:"typ,omitempty"`
 	Prob  float32 `protobuf:"fixed32,3,opt,name=prob,proto3" json:"prob,omitempty"`
+	ObjID uint64  `protobuf:"varint,4,opt,name=objID,proto3" json:"objID,omitempty"`
 }
 
 func (m *ObjInfo) Reset()         { *m = ObjInfo{} }
@@ -511,10 +528,18 @@
 	return 0
 }
 
+func (m *ObjInfo) GetObjID() uint64 {
+	if m != nil {
+		return m.ObjID
+	}
+	return 0
+}
+
 // sdk face property
 type ResultFaceDetect struct {
 	Pos    *FacePos    `protobuf:"bytes,1,opt,name=pos,proto3" json:"pos,omitempty"`
 	Result *ThftResult `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"`
+	Feats  []byte      `protobuf:"bytes,3,opt,name=feats,proto3" json:"feats,omitempty"`
 }
 
 func (m *ResultFaceDetect) Reset()         { *m = ResultFaceDetect{} }
@@ -564,6 +589,13 @@
 	return nil
 }
 
+func (m *ResultFaceDetect) GetFeats() []byte {
+	if m != nil {
+		return m.Feats
+	}
+	return nil
+}
+
 type ParamFacePos struct {
 	Faces []*ResultFaceDetect `protobuf:"bytes,1,rep,name=faces,proto3" json:"faces,omitempty"`
 }
@@ -609,9 +641,9 @@
 }
 
 type ResultFaceExtCom struct {
-	Pos   []byte `protobuf:"bytes,1,opt,name=pos,proto3" json:"pos,omitempty"`
-	Feats []byte `protobuf:"bytes,2,opt,name=feats,proto3" json:"feats,omitempty"`
-	Comp  []byte `protobuf:"bytes,3,opt,name=comp,proto3" json:"comp,omitempty"`
+	Feats []byte            `protobuf:"bytes,1,opt,name=feats,proto3" json:"feats,omitempty"`
+	Comp  []byte            `protobuf:"bytes,2,opt,name=comp,proto3" json:"comp,omitempty"`
+	Pos   *ResultFaceDetect `protobuf:"bytes,3,opt,name=pos,proto3" json:"pos,omitempty"`
 }
 
 func (m *ResultFaceExtCom) Reset()         { *m = ResultFaceExtCom{} }
@@ -647,13 +679,6 @@
 
 var xxx_messageInfo_ResultFaceExtCom proto.InternalMessageInfo
 
-func (m *ResultFaceExtCom) GetPos() []byte {
-	if m != nil {
-		return m.Pos
-	}
-	return nil
-}
-
 func (m *ResultFaceExtCom) GetFeats() []byte {
 	if m != nil {
 		return m.Feats
@@ -668,8 +693,15 @@
 	return nil
 }
 
+func (m *ResultFaceExtCom) GetPos() *ResultFaceDetect {
+	if m != nil {
+		return m.Pos
+	}
+	return nil
+}
+
 type ParamFaceFeature struct {
-	ExtComp []*ResultFaceExtCom `protobuf:"bytes,1,rep,name=extComp,proto3" json:"extComp,omitempty"`
+	ExtComp []*ResultFaceExtCom `protobuf:"bytes,2,rep,name=extComp,proto3" json:"extComp,omitempty"`
 }
 
 func (m *ParamFaceFeature) Reset()         { *m = ParamFaceFeature{} }
@@ -774,49 +806,51 @@
 func init() { proto.RegisterFile("sdk.proto", fileDescriptor_70decb0fb6f436df) }
 
 var fileDescriptor_70decb0fb6f436df = []byte{
-	// 665 bytes of a gzipped FileDescriptorProto
-	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x54, 0x4d, 0x6f, 0xd3, 0x40,
-	0x10, 0xad, 0x9d, 0xda, 0x69, 0xa6, 0x51, 0x29, 0x4b, 0x85, 0xac, 0x0a, 0x59, 0x91, 0x41, 0x34,
-	0x08, 0x28, 0xa8, 0x20, 0x71, 0xe5, 0xa3, 0xad, 0xa8, 0x04, 0x6d, 0xb4, 0x82, 0x03, 0xc7, 0x8d,
-	0xbd, 0x76, 0x5c, 0x6c, 0xaf, 0xb1, 0x27, 0x6a, 0xf3, 0x2f, 0xf8, 0x59, 0x1c, 0x38, 0xf4, 0xc8,
-	0x11, 0xb5, 0xe2, 0x7f, 0xa0, 0x59, 0xaf, 0x9b, 0x54, 0x2a, 0x5c, 0xb8, 0x72, 0xca, 0xcc, 0xce,
-	0xf3, 0xbe, 0xf7, 0x66, 0x76, 0x02, 0xbd, 0x3a, 0xfa, 0xbc, 0x5d, 0x56, 0x0a, 0x15, 0x5b, 0xd1,
-	0x3f, 0x79, 0x9d, 0x6c, 0xc2, 0x58, 0xd4, 0xb2, 0x39, 0x0d, 0x4e, 0xc0, 0x39, 0xc8, 0x45, 0x22,
-	0xd9, 0x06, 0x38, 0x27, 0x69, 0x84, 0x13, 0xcf, 0x1a, 0x58, 0x43, 0x87, 0x37, 0x09, 0xbb, 0x0d,
-	0xee, 0x44, 0xa6, 0xc9, 0x04, 0x3d, 0x5b, 0x1f, 0x9b, 0x8c, 0x31, 0x58, 0x8e, 0x04, 0x0a, 0xaf,
-	0x33, 0xb0, 0x86, 0x7d, 0xae, 0x63, 0x76, 0x07, 0x7a, 0x98, 0xe6, 0xb2, 0x46, 0x91, 0x97, 0xde,
-	0xf2, 0xc0, 0x1a, 0xf6, 0xf8, 0xfc, 0x80, 0xad, 0x81, 0x9d, 0x46, 0x9e, 0x33, 0xb0, 0x86, 0x1d,
-	0x6e, 0xa7, 0x51, 0x90, 0x40, 0x6f, 0x5f, 0x84, 0xf2, 0x55, 0x91, 0x64, 0x92, 0xad, 0x43, 0x67,
-	0x26, 0x4e, 0x0c, 0x35, 0x85, 0x24, 0xa7, 0x4c, 0x31, 0x9c, 0x18, 0xde, 0x26, 0x21, 0xda, 0x4a,
-	0x65, 0x99, 0xa6, 0x75, 0xb8, 0x8e, 0x99, 0x0f, 0x10, 0xaa, 0x22, 0x4e, 0x23, 0x59, 0x84, 0x52,
-	0xf3, 0xda, 0x7c, 0xe1, 0x24, 0x38, 0x05, 0xf8, 0x30, 0x89, 0x91, 0xcb, 0x7a, 0x9a, 0x21, 0x19,
-	0x4a, 0x64, 0x11, 0xc9, 0xca, 0x90, 0x99, 0x8c, 0x14, 0x88, 0x44, 0x1a, 0x36, 0x0a, 0x35, 0x97,
-	0x08, 0xe5, 0x25, 0x97, 0x08, 0x25, 0x7d, 0x3d, 0x96, 0x62, 0x8a, 0x33, 0xcd, 0xe3, 0x70, 0x93,
-	0x91, 0xda, 0x3a, 0x4f, 0x33, 0xa9, 0x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, 0xfe, 0xd2, 0xd9,
-	0x85, 0xbf, 0xf4, 0xe3, 0xc2, 0x5f, 0x1a, 0xbb, 0xfa, 0x93, 0x67, 0xbf, 0x03, 0x00, 0x00, 0xff,
-	0xff, 0x82, 0x5c, 0xa6, 0x5e, 0x29, 0x06, 0x00, 0x00,
+	// 704 bytes of a gzipped FileDescriptorProto
+	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x54, 0xcf, 0x6f, 0xd3, 0x4a,
+	0x10, 0xae, 0x93, 0x38, 0x69, 0x26, 0x55, 0x5f, 0xdf, 0xbe, 0xea, 0xc9, 0xaa, 0x9e, 0xa2, 0xc8,
+	0x0f, 0xd1, 0x20, 0x4a, 0x41, 0x01, 0x89, 0x2b, 0x3f, 0xd2, 0x8a, 0x48, 0x40, 0xa3, 0x15, 0x17,
+	0x8e, 0x9b, 0xf5, 0x3a, 0x71, 0x6a, 0x67, 0x8d, 0xbd, 0x51, 0x1b, 0xf1, 0x17, 0x70, 0xe3, 0xcf,
+	0xe2, 0xd8, 0x23, 0x47, 0xd4, 0xc2, 0xff, 0x81, 0x66, 0x77, 0x1d, 0xbb, 0x52, 0xcb, 0x89, 0x23,
+	0xa7, 0xcc, 0xec, 0x7c, 0x9b, 0xef, 0x9b, 0x6f, 0x76, 0x0c, 0xed, 0x3c, 0x38, 0x3d, 0x4c, 0x33,
+	0xa9, 0x24, 0xd9, 0xd4, 0x3f, 0x49, 0x3e, 0xdd, 0x83, 0x09, 0xcb, 0x85, 0x39, 0xf5, 0x3f, 0x39,
+	0xe0, 0x8e, 0x12, 0x36, 0x15, 0x64, 0x17, 0xdc, 0xb3, 0x28, 0x50, 0x33, 0xcf, 0xe9, 0x39, 0x7d,
+	0x97, 0x9a, 0x84, 0xfc, 0x0b, 0xcd, 0x99, 0x88, 0xa6, 0x33, 0xe5, 0xd5, 0xf4, 0xb1, 0xcd, 0x08,
+	0x81, 0x46, 0xc0, 0x14, 0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x8f, 0x7f, 0x06, 0x00, 0x00, 0xff, 0xff, 0xb6, 0x6a, 0xf8, 0x9f, 0x9c, 0x06, 0x00, 0x00,
 }
 
 func (m *Image) Marshal() (dAtA []byte, err error) {
@@ -860,6 +894,12 @@
 		dAtA[i] = 0x28
 		i++
 		i = encodeVarintSdk(dAtA, i, uint64(m.Id))
+	}
+	if len(m.Cid) > 0 {
+		dAtA[i] = 0x32
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(len(m.Cid)))
+		i += copy(dAtA[i:], m.Cid)
 	}
 	return i, nil
 }
@@ -1032,6 +1072,11 @@
 		i = encodeVarintSdk(dAtA, i, uint64(len(m.FacialData)))
 		i += copy(dAtA[i:], m.FacialData)
 	}
+	if m.FaceID != 0 {
+		dAtA[i] = 0x48
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(m.FaceID))
+	}
 	return i, nil
 }
 
@@ -1165,6 +1210,11 @@
 		encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.Prob))))
 		i += 4
 	}
+	if m.ObjID != 0 {
+		dAtA[i] = 0x20
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(m.ObjID))
+	}
 	return i, nil
 }
 
@@ -1202,6 +1252,12 @@
 			return 0, err15
 		}
 		i += n15
+	}
+	if len(m.Feats) > 0 {
+		dAtA[i] = 0x1a
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(len(m.Feats)))
+		i += copy(dAtA[i:], m.Feats)
 	}
 	return i, nil
 }
@@ -1251,23 +1307,27 @@
 	_ = i
 	var l int
 	_ = l
-	if len(m.Pos) > 0 {
-		dAtA[i] = 0xa
-		i++
-		i = encodeVarintSdk(dAtA, i, uint64(len(m.Pos)))
-		i += copy(dAtA[i:], m.Pos)
-	}
 	if len(m.Feats) > 0 {
-		dAtA[i] = 0x12
+		dAtA[i] = 0xa
 		i++
 		i = encodeVarintSdk(dAtA, i, uint64(len(m.Feats)))
 		i += copy(dAtA[i:], m.Feats)
 	}
 	if len(m.Comp) > 0 {
-		dAtA[i] = 0x1a
+		dAtA[i] = 0x12
 		i++
 		i = encodeVarintSdk(dAtA, i, uint64(len(m.Comp)))
 		i += copy(dAtA[i:], m.Comp)
+	}
+	if m.Pos != nil {
+		dAtA[i] = 0x1a
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(m.Pos.Size()))
+		n16, err16 := m.Pos.MarshalTo(dAtA[i:])
+		if err16 != nil {
+			return 0, err16
+		}
+		i += n16
 	}
 	return i, nil
 }
@@ -1289,7 +1349,7 @@
 	_ = l
 	if len(m.ExtComp) > 0 {
 		for _, msg := range m.ExtComp {
-			dAtA[i] = 0xa
+			dAtA[i] = 0x12
 			i++
 			i = encodeVarintSdk(dAtA, i, uint64(msg.Size()))
 			n, err := msg.MarshalTo(dAtA[i:])
@@ -1363,6 +1423,10 @@
 	}
 	if m.Id != 0 {
 		n += 1 + sovSdk(uint64(m.Id))
+	}
+	l = len(m.Cid)
+	if l > 0 {
+		n += 1 + l + sovSdk(uint64(l))
 	}
 	return n
 }
@@ -1449,6 +1513,9 @@
 	if l > 0 {
 		n += 1 + l + sovSdk(uint64(l))
 	}
+	if m.FaceID != 0 {
+		n += 1 + sovSdk(uint64(m.FaceID))
+	}
 	return n
 }
 
@@ -1511,6 +1578,9 @@
 	if m.Prob != 0 {
 		n += 5
 	}
+	if m.ObjID != 0 {
+		n += 1 + sovSdk(uint64(m.ObjID))
+	}
 	return n
 }
 
@@ -1526,6 +1596,10 @@
 	}
 	if m.Result != nil {
 		l = m.Result.Size()
+		n += 1 + l + sovSdk(uint64(l))
+	}
+	l = len(m.Feats)
+	if l > 0 {
 		n += 1 + l + sovSdk(uint64(l))
 	}
 	return n
@@ -1552,16 +1626,16 @@
 	}
 	var l int
 	_ = l
-	l = len(m.Pos)
-	if l > 0 {
-		n += 1 + l + sovSdk(uint64(l))
-	}
 	l = len(m.Feats)
 	if l > 0 {
 		n += 1 + l + sovSdk(uint64(l))
 	}
 	l = len(m.Comp)
 	if l > 0 {
+		n += 1 + l + sovSdk(uint64(l))
+	}
+	if m.Pos != nil {
+		l = m.Pos.Size()
 		n += 1 + l + sovSdk(uint64(l))
 	}
 	return n
@@ -1762,6 +1836,38 @@
 					break
 				}
 			}
+		case 6:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Cid", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowSdk
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= uint64(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthSdk
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex < 0 {
+				return ErrInvalidLengthSdk
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.Cid = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
 		default:
 			iNdEx = preIndex
 			skippy, err := skipSdk(dAtA[iNdEx:])
@@ -2353,6 +2459,25 @@
 				m.FacialData = []byte{}
 			}
 			iNdEx = postIndex
+		case 9:
+			if wireType != 0 {
+				return fmt.Errorf("proto: wrong wireType = %d for field FaceID", wireType)
+			}
+			m.FaceID = 0
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowSdk
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				m.FaceID |= uint64(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
 		default:
 			iNdEx = preIndex
 			skippy, err := skipSdk(dAtA[iNdEx:])
@@ -2813,6 +2938,25 @@
 			v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:]))
 			iNdEx += 4
 			m.Prob = float32(math.Float32frombits(v))
+		case 4:
+			if wireType != 0 {
+				return fmt.Errorf("proto: wrong wireType = %d for field ObjID", wireType)
+			}
+			m.ObjID = 0
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowSdk
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				m.ObjID |= uint64(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
 		default:
 			iNdEx = preIndex
 			skippy, err := skipSdk(dAtA[iNdEx:])
@@ -2936,6 +3080,40 @@
 			}
 			if err := m.Result.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 				return err
+			}
+			iNdEx = postIndex
+		case 3:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Feats", wireType)
+			}
+			var byteLen int
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowSdk
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				byteLen |= int(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			if byteLen < 0 {
+				return ErrInvalidLengthSdk
+			}
+			postIndex := iNdEx + byteLen
+			if postIndex < 0 {
+				return ErrInvalidLengthSdk
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.Feats = append(m.Feats[:0], dAtA[iNdEx:postIndex]...)
+			if m.Feats == nil {
+				m.Feats = []byte{}
 			}
 			iNdEx = postIndex
 		default:
@@ -3080,40 +3258,6 @@
 		switch fieldNum {
 		case 1:
 			if wireType != 2 {
-				return fmt.Errorf("proto: wrong wireType = %d for field Pos", wireType)
-			}
-			var byteLen int
-			for shift := uint(0); ; shift += 7 {
-				if shift >= 64 {
-					return ErrIntOverflowSdk
-				}
-				if iNdEx >= l {
-					return io.ErrUnexpectedEOF
-				}
-				b := dAtA[iNdEx]
-				iNdEx++
-				byteLen |= int(b&0x7F) << shift
-				if b < 0x80 {
-					break
-				}
-			}
-			if byteLen < 0 {
-				return ErrInvalidLengthSdk
-			}
-			postIndex := iNdEx + byteLen
-			if postIndex < 0 {
-				return ErrInvalidLengthSdk
-			}
-			if postIndex > l {
-				return io.ErrUnexpectedEOF
-			}
-			m.Pos = append(m.Pos[:0], dAtA[iNdEx:postIndex]...)
-			if m.Pos == nil {
-				m.Pos = []byte{}
-			}
-			iNdEx = postIndex
-		case 2:
-			if wireType != 2 {
 				return fmt.Errorf("proto: wrong wireType = %d for field Feats", wireType)
 			}
 			var byteLen int
@@ -3146,7 +3290,7 @@
 				m.Feats = []byte{}
 			}
 			iNdEx = postIndex
-		case 3:
+		case 2:
 			if wireType != 2 {
 				return fmt.Errorf("proto: wrong wireType = %d for field Comp", wireType)
 			}
@@ -3178,6 +3322,42 @@
 			m.Comp = append(m.Comp[:0], dAtA[iNdEx:postIndex]...)
 			if m.Comp == nil {
 				m.Comp = []byte{}
+			}
+			iNdEx = postIndex
+		case 3:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Pos", wireType)
+			}
+			var msglen int
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowSdk
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				msglen |= int(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			if msglen < 0 {
+				return ErrInvalidLengthSdk
+			}
+			postIndex := iNdEx + msglen
+			if postIndex < 0 {
+				return ErrInvalidLengthSdk
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			if m.Pos == nil {
+				m.Pos = &ResultFaceDetect{}
+			}
+			if err := m.Pos.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+				return err
 			}
 			iNdEx = postIndex
 		default:
@@ -3233,7 +3413,7 @@
 			return fmt.Errorf("proto: ParamFaceFeature: illegal tag %d (wire type %d)", fieldNum, wire)
 		}
 		switch fieldNum {
-		case 1:
+		case 2:
 			if wireType != 2 {
 				return fmt.Errorf("proto: wrong wireType = %d for field ExtComp", wireType)
 			}

--
Gitblit v1.8.0