From 4922436eb78c6e6735c7fb6ce4920c67a449cbf0 Mon Sep 17 00:00:00 2001
From: liuxiaolong <liuxiaolong@aiotlink.com>
Date: 星期一, 13 七月 2020 18:19:18 +0800
Subject: [PATCH] add operator_type

---
 sdk.pb.go | 2997 +++++++++++++++++++++++++++++++++++++++--------------------
 1 files changed, 1,986 insertions(+), 1,011 deletions(-)

diff --git a/sdk.pb.go b/sdk.pb.go
index ba6a228..ffc1ff6 100644
--- a/sdk.pb.go
+++ b/sdk.pb.go
@@ -9,7 +9,6 @@
 	proto "github.com/gogo/protobuf/proto"
 	io "io"
 	math "math"
-	math_bits "math/bits"
 )
 
 // Reference imports to suppress errors if they are not otherwise used.
@@ -21,7 +20,7 @@
 // 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.GoGoProtoPackageIsVersion3 // please upgrade the proto package
+const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
 
 // Image ipc struct
 type Image struct {
@@ -31,6 +30,7 @@
 	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"`
+	Cname     string `protobuf:"bytes,7,opt,name=cname,proto3" json:"cname,omitempty"`
 }
 
 func (m *Image) Reset()         { *m = Image{} }
@@ -47,7 +47,7 @@
 		return xxx_messageInfo_Image.Marshal(b, m, deterministic)
 	} else {
 		b = b[:cap(b)]
-		n, err := m.MarshalToSizedBuffer(b)
+		n, err := m.MarshalTo(b)
 		if err != nil {
 			return nil, err
 		}
@@ -108,6 +108,233 @@
 	return ""
 }
 
+func (m *Image) GetCname() string {
+	if m != nil {
+		return m.Cname
+	}
+	return ""
+}
+
+type Target struct {
+	Id         uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
+	Type       string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
+	Confidence int32  `protobuf:"varint,3,opt,name=confidence,proto3" json:"confidence,omitempty"`
+	Rect       *Rect  `protobuf:"bytes,4,opt,name=rect,proto3" json:"rect,omitempty"`
+	Feature    []byte `protobuf:"bytes,5,opt,name=feature,proto3" json:"feature,omitempty"`
+	Attribute  []byte `protobuf:"bytes,6,opt,name=attribute,proto3" json:"attribute,omitempty"`
+}
+
+func (m *Target) Reset()         { *m = Target{} }
+func (m *Target) String() string { return proto.CompactTextString(m) }
+func (*Target) ProtoMessage()    {}
+func (*Target) Descriptor() ([]byte, []int) {
+	return fileDescriptor_70decb0fb6f436df, []int{1}
+}
+func (m *Target) XXX_Unmarshal(b []byte) error {
+	return m.Unmarshal(b)
+}
+func (m *Target) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+	if deterministic {
+		return xxx_messageInfo_Target.Marshal(b, m, deterministic)
+	} else {
+		b = b[:cap(b)]
+		n, err := m.MarshalTo(b)
+		if err != nil {
+			return nil, err
+		}
+		return b[:n], nil
+	}
+}
+func (m *Target) XXX_Merge(src proto.Message) {
+	xxx_messageInfo_Target.Merge(m, src)
+}
+func (m *Target) XXX_Size() int {
+	return m.Size()
+}
+func (m *Target) XXX_DiscardUnknown() {
+	xxx_messageInfo_Target.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_Target proto.InternalMessageInfo
+
+func (m *Target) GetId() uint64 {
+	if m != nil {
+		return m.Id
+	}
+	return 0
+}
+
+func (m *Target) GetType() string {
+	if m != nil {
+		return m.Type
+	}
+	return ""
+}
+
+func (m *Target) GetConfidence() int32 {
+	if m != nil {
+		return m.Confidence
+	}
+	return 0
+}
+
+func (m *Target) GetRect() *Rect {
+	if m != nil {
+		return m.Rect
+	}
+	return nil
+}
+
+func (m *Target) GetFeature() []byte {
+	if m != nil {
+		return m.Feature
+	}
+	return nil
+}
+
+func (m *Target) GetAttribute() []byte {
+	if m != nil {
+		return m.Attribute
+	}
+	return nil
+}
+
+type NewSDKMessage struct {
+	SdkID     string    `protobuf:"bytes,1,opt,name=sdkID,proto3" json:"sdkID,omitempty"`
+	SdkType   string    `protobuf:"bytes,2,opt,name=sdkType,proto3" json:"sdkType,omitempty"`
+	SdkName   string    `protobuf:"bytes,3,opt,name=sdkName,proto3" json:"sdkName,omitempty"`
+	Target    []*Target `protobuf:"bytes,4,rep,name=target,proto3" json:"target,omitempty"`
+	Timestamp string    `protobuf:"bytes,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
+}
+
+func (m *NewSDKMessage) Reset()         { *m = NewSDKMessage{} }
+func (m *NewSDKMessage) String() string { return proto.CompactTextString(m) }
+func (*NewSDKMessage) ProtoMessage()    {}
+func (*NewSDKMessage) Descriptor() ([]byte, []int) {
+	return fileDescriptor_70decb0fb6f436df, []int{2}
+}
+func (m *NewSDKMessage) XXX_Unmarshal(b []byte) error {
+	return m.Unmarshal(b)
+}
+func (m *NewSDKMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+	if deterministic {
+		return xxx_messageInfo_NewSDKMessage.Marshal(b, m, deterministic)
+	} else {
+		b = b[:cap(b)]
+		n, err := m.MarshalTo(b)
+		if err != nil {
+			return nil, err
+		}
+		return b[:n], nil
+	}
+}
+func (m *NewSDKMessage) XXX_Merge(src proto.Message) {
+	xxx_messageInfo_NewSDKMessage.Merge(m, src)
+}
+func (m *NewSDKMessage) XXX_Size() int {
+	return m.Size()
+}
+func (m *NewSDKMessage) XXX_DiscardUnknown() {
+	xxx_messageInfo_NewSDKMessage.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_NewSDKMessage proto.InternalMessageInfo
+
+func (m *NewSDKMessage) GetSdkID() string {
+	if m != nil {
+		return m.SdkID
+	}
+	return ""
+}
+
+func (m *NewSDKMessage) GetSdkType() string {
+	if m != nil {
+		return m.SdkType
+	}
+	return ""
+}
+
+func (m *NewSDKMessage) GetSdkName() string {
+	if m != nil {
+		return m.SdkName
+	}
+	return ""
+}
+
+func (m *NewSDKMessage) GetTarget() []*Target {
+	if m != nil {
+		return m.Target
+	}
+	return nil
+}
+
+func (m *NewSDKMessage) GetTimestamp() string {
+	if m != nil {
+		return m.Timestamp
+	}
+	return ""
+}
+
+type NewRuleMessage struct {
+	DataType    string           `protobuf:"bytes,1,opt,name=dataType,proto3" json:"dataType,omitempty"`
+	HandleTrack string           `protobuf:"bytes,2,opt,name=handleTrack,proto3" json:"handleTrack,omitempty"`
+	Message     []*NewSDKMessage `protobuf:"bytes,3,rep,name=message,proto3" json:"message,omitempty"`
+}
+
+func (m *NewRuleMessage) Reset()         { *m = NewRuleMessage{} }
+func (m *NewRuleMessage) String() string { return proto.CompactTextString(m) }
+func (*NewRuleMessage) ProtoMessage()    {}
+func (*NewRuleMessage) Descriptor() ([]byte, []int) {
+	return fileDescriptor_70decb0fb6f436df, []int{3}
+}
+func (m *NewRuleMessage) XXX_Unmarshal(b []byte) error {
+	return m.Unmarshal(b)
+}
+func (m *NewRuleMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+	if deterministic {
+		return xxx_messageInfo_NewRuleMessage.Marshal(b, m, deterministic)
+	} else {
+		b = b[:cap(b)]
+		n, err := m.MarshalTo(b)
+		if err != nil {
+			return nil, err
+		}
+		return b[:n], nil
+	}
+}
+func (m *NewRuleMessage) XXX_Merge(src proto.Message) {
+	xxx_messageInfo_NewRuleMessage.Merge(m, src)
+}
+func (m *NewRuleMessage) XXX_Size() int {
+	return m.Size()
+}
+func (m *NewRuleMessage) XXX_DiscardUnknown() {
+	xxx_messageInfo_NewRuleMessage.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_NewRuleMessage proto.InternalMessageInfo
+
+func (m *NewRuleMessage) GetDataType() string {
+	if m != nil {
+		return m.DataType
+	}
+	return ""
+}
+
+func (m *NewRuleMessage) GetHandleTrack() string {
+	if m != nil {
+		return m.HandleTrack
+	}
+	return ""
+}
+
+func (m *NewRuleMessage) GetMessage() []*NewSDKMessage {
+	if m != nil {
+		return m.Message
+	}
+	return nil
+}
+
 type FaceAngle struct {
 	Yaw        int32   `protobuf:"varint,1,opt,name=yaw,proto3" json:"yaw,omitempty"`
 	Pitch      int32   `protobuf:"varint,2,opt,name=pitch,proto3" json:"pitch,omitempty"`
@@ -119,7 +346,7 @@
 func (m *FaceAngle) String() string { return proto.CompactTextString(m) }
 func (*FaceAngle) ProtoMessage()    {}
 func (*FaceAngle) Descriptor() ([]byte, []int) {
-	return fileDescriptor_70decb0fb6f436df, []int{1}
+	return fileDescriptor_70decb0fb6f436df, []int{4}
 }
 func (m *FaceAngle) XXX_Unmarshal(b []byte) error {
 	return m.Unmarshal(b)
@@ -129,7 +356,7 @@
 		return xxx_messageInfo_FaceAngle.Marshal(b, m, deterministic)
 	} else {
 		b = b[:cap(b)]
-		n, err := m.MarshalToSizedBuffer(b)
+		n, err := m.MarshalTo(b)
 		if err != nil {
 			return nil, err
 		}
@@ -188,7 +415,7 @@
 func (m *ThftResult) String() string { return proto.CompactTextString(m) }
 func (*ThftResult) ProtoMessage()    {}
 func (*ThftResult) Descriptor() ([]byte, []int) {
-	return fileDescriptor_70decb0fb6f436df, []int{2}
+	return fileDescriptor_70decb0fb6f436df, []int{5}
 }
 func (m *ThftResult) XXX_Unmarshal(b []byte) error {
 	return m.Unmarshal(b)
@@ -198,7 +425,7 @@
 		return xxx_messageInfo_ThftResult.Marshal(b, m, deterministic)
 	} else {
 		b = b[:cap(b)]
-		n, err := m.MarshalToSizedBuffer(b)
+		n, err := m.MarshalTo(b)
 		if err != nil {
 			return nil, err
 		}
@@ -268,7 +495,7 @@
 func (m *FacePos) String() string { return proto.CompactTextString(m) }
 func (*FacePos) ProtoMessage()    {}
 func (*FacePos) Descriptor() ([]byte, []int) {
-	return fileDescriptor_70decb0fb6f436df, []int{3}
+	return fileDescriptor_70decb0fb6f436df, []int{6}
 }
 func (m *FacePos) XXX_Unmarshal(b []byte) error {
 	return m.Unmarshal(b)
@@ -278,7 +505,7 @@
 		return xxx_messageInfo_FacePos.Marshal(b, m, deterministic)
 	} else {
 		b = b[:cap(b)]
-		n, err := m.MarshalToSizedBuffer(b)
+		n, err := m.MarshalTo(b)
 		if err != nil {
 			return nil, err
 		}
@@ -376,7 +603,7 @@
 func (m *FaceInfo) String() string { return proto.CompactTextString(m) }
 func (*FaceInfo) ProtoMessage()    {}
 func (*FaceInfo) Descriptor() ([]byte, []int) {
-	return fileDescriptor_70decb0fb6f436df, []int{4}
+	return fileDescriptor_70decb0fb6f436df, []int{7}
 }
 func (m *FaceInfo) XXX_Unmarshal(b []byte) error {
 	return m.Unmarshal(b)
@@ -386,7 +613,7 @@
 		return xxx_messageInfo_FaceInfo.Marshal(b, m, deterministic)
 	} else {
 		b = b[:cap(b)]
-		n, err := m.MarshalToSizedBuffer(b)
+		n, err := m.MarshalTo(b)
 		if err != nil {
 			return nil, err
 		}
@@ -479,7 +706,7 @@
 func (m *ObjInfo) String() string { return proto.CompactTextString(m) }
 func (*ObjInfo) ProtoMessage()    {}
 func (*ObjInfo) Descriptor() ([]byte, []int) {
-	return fileDescriptor_70decb0fb6f436df, []int{5}
+	return fileDescriptor_70decb0fb6f436df, []int{8}
 }
 func (m *ObjInfo) XXX_Unmarshal(b []byte) error {
 	return m.Unmarshal(b)
@@ -489,7 +716,7 @@
 		return xxx_messageInfo_ObjInfo.Marshal(b, m, deterministic)
 	} else {
 		b = b[:cap(b)]
-		n, err := m.MarshalToSizedBuffer(b)
+		n, err := m.MarshalTo(b)
 		if err != nil {
 			return nil, err
 		}
@@ -547,7 +774,7 @@
 func (m *ResultFaceDetect) String() string { return proto.CompactTextString(m) }
 func (*ResultFaceDetect) ProtoMessage()    {}
 func (*ResultFaceDetect) Descriptor() ([]byte, []int) {
-	return fileDescriptor_70decb0fb6f436df, []int{6}
+	return fileDescriptor_70decb0fb6f436df, []int{9}
 }
 func (m *ResultFaceDetect) XXX_Unmarshal(b []byte) error {
 	return m.Unmarshal(b)
@@ -557,7 +784,7 @@
 		return xxx_messageInfo_ResultFaceDetect.Marshal(b, m, deterministic)
 	} else {
 		b = b[:cap(b)]
-		n, err := m.MarshalToSizedBuffer(b)
+		n, err := m.MarshalTo(b)
 		if err != nil {
 			return nil, err
 		}
@@ -605,7 +832,7 @@
 func (m *ParamFacePos) String() string { return proto.CompactTextString(m) }
 func (*ParamFacePos) ProtoMessage()    {}
 func (*ParamFacePos) Descriptor() ([]byte, []int) {
-	return fileDescriptor_70decb0fb6f436df, []int{7}
+	return fileDescriptor_70decb0fb6f436df, []int{10}
 }
 func (m *ParamFacePos) XXX_Unmarshal(b []byte) error {
 	return m.Unmarshal(b)
@@ -615,7 +842,7 @@
 		return xxx_messageInfo_ParamFacePos.Marshal(b, m, deterministic)
 	} else {
 		b = b[:cap(b)]
-		n, err := m.MarshalToSizedBuffer(b)
+		n, err := m.MarshalTo(b)
 		if err != nil {
 			return nil, err
 		}
@@ -651,7 +878,7 @@
 func (m *ResultFaceExtCom) String() string { return proto.CompactTextString(m) }
 func (*ResultFaceExtCom) ProtoMessage()    {}
 func (*ResultFaceExtCom) Descriptor() ([]byte, []int) {
-	return fileDescriptor_70decb0fb6f436df, []int{8}
+	return fileDescriptor_70decb0fb6f436df, []int{11}
 }
 func (m *ResultFaceExtCom) XXX_Unmarshal(b []byte) error {
 	return m.Unmarshal(b)
@@ -661,7 +888,7 @@
 		return xxx_messageInfo_ResultFaceExtCom.Marshal(b, m, deterministic)
 	} else {
 		b = b[:cap(b)]
-		n, err := m.MarshalToSizedBuffer(b)
+		n, err := m.MarshalTo(b)
 		if err != nil {
 			return nil, err
 		}
@@ -709,7 +936,7 @@
 func (m *ParamFaceFeature) String() string { return proto.CompactTextString(m) }
 func (*ParamFaceFeature) ProtoMessage()    {}
 func (*ParamFaceFeature) Descriptor() ([]byte, []int) {
-	return fileDescriptor_70decb0fb6f436df, []int{9}
+	return fileDescriptor_70decb0fb6f436df, []int{12}
 }
 func (m *ParamFaceFeature) XXX_Unmarshal(b []byte) error {
 	return m.Unmarshal(b)
@@ -719,7 +946,7 @@
 		return xxx_messageInfo_ParamFaceFeature.Marshal(b, m, deterministic)
 	} else {
 		b = b[:cap(b)]
-		n, err := m.MarshalToSizedBuffer(b)
+		n, err := m.MarshalTo(b)
 		if err != nil {
 			return nil, err
 		}
@@ -754,7 +981,7 @@
 func (m *ParamYoloObj) String() string { return proto.CompactTextString(m) }
 func (*ParamYoloObj) ProtoMessage()    {}
 func (*ParamYoloObj) Descriptor() ([]byte, []int) {
-	return fileDescriptor_70decb0fb6f436df, []int{10}
+	return fileDescriptor_70decb0fb6f436df, []int{13}
 }
 func (m *ParamYoloObj) XXX_Unmarshal(b []byte) error {
 	return m.Unmarshal(b)
@@ -764,7 +991,7 @@
 		return xxx_messageInfo_ParamYoloObj.Marshal(b, m, deterministic)
 	} else {
 		b = b[:cap(b)]
-		n, err := m.MarshalToSizedBuffer(b)
+		n, err := m.MarshalTo(b)
 		if err != nil {
 			return nil, err
 		}
@@ -800,7 +1027,7 @@
 func (m *SoInfo) String() string { return proto.CompactTextString(m) }
 func (*SoInfo) ProtoMessage()    {}
 func (*SoInfo) Descriptor() ([]byte, []int) {
-	return fileDescriptor_70decb0fb6f436df, []int{11}
+	return fileDescriptor_70decb0fb6f436df, []int{14}
 }
 func (m *SoInfo) XXX_Unmarshal(b []byte) error {
 	return m.Unmarshal(b)
@@ -810,7 +1037,7 @@
 		return xxx_messageInfo_SoInfo.Marshal(b, m, deterministic)
 	} else {
 		b = b[:cap(b)]
-		n, err := m.MarshalToSizedBuffer(b)
+		n, err := m.MarshalTo(b)
 		if err != nil {
 			return nil, err
 		}
@@ -877,7 +1104,7 @@
 func (m *PlateID) String() string { return proto.CompactTextString(m) }
 func (*PlateID) ProtoMessage()    {}
 func (*PlateID) Descriptor() ([]byte, []int) {
-	return fileDescriptor_70decb0fb6f436df, []int{12}
+	return fileDescriptor_70decb0fb6f436df, []int{15}
 }
 func (m *PlateID) XXX_Unmarshal(b []byte) error {
 	return m.Unmarshal(b)
@@ -887,7 +1114,7 @@
 		return xxx_messageInfo_PlateID.Marshal(b, m, deterministic)
 	} else {
 		b = b[:cap(b)]
-		n, err := m.MarshalToSizedBuffer(b)
+		n, err := m.MarshalTo(b)
 		if err != nil {
 			return nil, err
 		}
@@ -1060,7 +1287,7 @@
 func (m *PlateIDCloud) String() string { return proto.CompactTextString(m) }
 func (*PlateIDCloud) ProtoMessage()    {}
 func (*PlateIDCloud) Descriptor() ([]byte, []int) {
-	return fileDescriptor_70decb0fb6f436df, []int{13}
+	return fileDescriptor_70decb0fb6f436df, []int{16}
 }
 func (m *PlateIDCloud) XXX_Unmarshal(b []byte) error {
 	return m.Unmarshal(b)
@@ -1070,7 +1297,7 @@
 		return xxx_messageInfo_PlateIDCloud.Marshal(b, m, deterministic)
 	} else {
 		b = b[:cap(b)]
-		n, err := m.MarshalToSizedBuffer(b)
+		n, err := m.MarshalTo(b)
 		if err != nil {
 			return nil, err
 		}
@@ -1206,7 +1433,7 @@
 func (m *PlateIDVehicle) String() string { return proto.CompactTextString(m) }
 func (*PlateIDVehicle) ProtoMessage()    {}
 func (*PlateIDVehicle) Descriptor() ([]byte, []int) {
-	return fileDescriptor_70decb0fb6f436df, []int{14}
+	return fileDescriptor_70decb0fb6f436df, []int{17}
 }
 func (m *PlateIDVehicle) XXX_Unmarshal(b []byte) error {
 	return m.Unmarshal(b)
@@ -1216,7 +1443,7 @@
 		return xxx_messageInfo_PlateIDVehicle.Marshal(b, m, deterministic)
 	} else {
 		b = b[:cap(b)]
-		n, err := m.MarshalToSizedBuffer(b)
+		n, err := m.MarshalTo(b)
 		if err != nil {
 			return nil, err
 		}
@@ -1378,7 +1605,7 @@
 func (m *PlateIDResult) String() string { return proto.CompactTextString(m) }
 func (*PlateIDResult) ProtoMessage()    {}
 func (*PlateIDResult) Descriptor() ([]byte, []int) {
-	return fileDescriptor_70decb0fb6f436df, []int{15}
+	return fileDescriptor_70decb0fb6f436df, []int{18}
 }
 func (m *PlateIDResult) XXX_Unmarshal(b []byte) error {
 	return m.Unmarshal(b)
@@ -1388,7 +1615,7 @@
 		return xxx_messageInfo_PlateIDResult.Marshal(b, m, deterministic)
 	} else {
 		b = b[:cap(b)]
-		n, err := m.MarshalToSizedBuffer(b)
+		n, err := m.MarshalTo(b)
 		if err != nil {
 			return nil, err
 		}
@@ -1427,7 +1654,7 @@
 func (m *HumanTrack) String() string { return proto.CompactTextString(m) }
 func (*HumanTrack) ProtoMessage()    {}
 func (*HumanTrack) Descriptor() ([]byte, []int) {
-	return fileDescriptor_70decb0fb6f436df, []int{16}
+	return fileDescriptor_70decb0fb6f436df, []int{19}
 }
 func (m *HumanTrack) XXX_Unmarshal(b []byte) error {
 	return m.Unmarshal(b)
@@ -1437,7 +1664,7 @@
 		return xxx_messageInfo_HumanTrack.Marshal(b, m, deterministic)
 	} else {
 		b = b[:cap(b)]
-		n, err := m.MarshalToSizedBuffer(b)
+		n, err := m.MarshalTo(b)
 		if err != nil {
 			return nil, err
 		}
@@ -1506,7 +1733,7 @@
 func (m *HumanTrackResult) String() string { return proto.CompactTextString(m) }
 func (*HumanTrackResult) ProtoMessage()    {}
 func (*HumanTrackResult) Descriptor() ([]byte, []int) {
-	return fileDescriptor_70decb0fb6f436df, []int{17}
+	return fileDescriptor_70decb0fb6f436df, []int{20}
 }
 func (m *HumanTrackResult) XXX_Unmarshal(b []byte) error {
 	return m.Unmarshal(b)
@@ -1516,7 +1743,7 @@
 		return xxx_messageInfo_HumanTrackResult.Marshal(b, m, deterministic)
 	} else {
 		b = b[:cap(b)]
-		n, err := m.MarshalToSizedBuffer(b)
+		n, err := m.MarshalTo(b)
 		if err != nil {
 			return nil, err
 		}
@@ -1544,6 +1771,9 @@
 
 func init() {
 	proto.RegisterType((*Image)(nil), "protomsg.Image")
+	proto.RegisterType((*Target)(nil), "protomsg.Target")
+	proto.RegisterType((*NewSDKMessage)(nil), "protomsg.NewSDKMessage")
+	proto.RegisterType((*NewRuleMessage)(nil), "protomsg.NewRuleMessage")
 	proto.RegisterType((*FaceAngle)(nil), "protomsg.FaceAngle")
 	proto.RegisterType((*ThftResult)(nil), "protomsg.ThftResult")
 	proto.RegisterType((*FacePos)(nil), "protomsg.FacePos")
@@ -1566,100 +1796,111 @@
 func init() { proto.RegisterFile("sdk.proto", fileDescriptor_70decb0fb6f436df) }
 
 var fileDescriptor_70decb0fb6f436df = []byte{
-	// 1379 bytes of a gzipped FileDescriptorProto
-	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x57, 0xcd, 0x6e, 0xdb, 0xc6,
-	0x13, 0x0f, 0x25, 0x53, 0x1f, 0x63, 0xc5, 0x56, 0x36, 0xc1, 0x1f, 0x84, 0xf1, 0x87, 0x20, 0xb0,
-	0x45, 0xa2, 0xb6, 0xa9, 0x9b, 0xb8, 0x41, 0x7b, 0x4d, 0x6c, 0x27, 0x88, 0x81, 0xc4, 0x31, 0x36,
-	0x41, 0x8a, 0x1e, 0x57, 0xe4, 0x4a, 0xa2, 0x4d, 0x72, 0x55, 0x6a, 0x95, 0x58, 0xe8, 0x13, 0xf4,
-	0xd6, 0x07, 0xe8, 0xb1, 0xe7, 0x3e, 0x47, 0x8f, 0x39, 0xf6, 0x58, 0x24, 0xed, 0x23, 0xf4, 0x5e,
-	0xcc, 0xec, 0xf2, 0x43, 0xb2, 0x9c, 0xa0, 0x40, 0x8f, 0x3d, 0x69, 0x7f, 0xb3, 0xa3, 0x9d, 0xaf,
-	0xdf, 0xcc, 0x2e, 0xa1, 0x3d, 0x0b, 0xcf, 0x76, 0xa7, 0x99, 0xd2, 0x8a, 0xb5, 0xe8, 0x27, 0x99,
-	0x8d, 0x77, 0x60, 0x28, 0x66, 0xd2, 0x48, 0xfd, 0x1f, 0x1c, 0x70, 0x8f, 0x12, 0x31, 0x96, 0xec,
-	0x06, 0xb8, 0xaf, 0xa3, 0x50, 0x4f, 0x3c, 0xa7, 0xef, 0x0c, 0x5c, 0x6e, 0x00, 0xfb, 0x1f, 0x34,
-	0x26, 0x32, 0x1a,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, 0x69,
+	0xd9, 0xef, 0x5c, 0x22, 0xca, 0x3f, 0x6a, 0x9c, 0x79, 0xe5, 0x3b, 0xdd, 0xa5, 0x29, 0x5e, 0xf9,
+	0x18, 0x6e, 0xf6, 0xea, 0x94, 0x25, 0x03, 0xfd, 0x07, 0xd0, 0x2d, 0xbd, 0xb3, 0x97, 0xbc, 0xb3,
+	0x74, 0xc9, 0xca, 0x13, 0xac, 0xa2, 0x6b, 0x75, 0xf6, 0xbd, 0x1f, 0xde, 0xec, 0x38, 0xaf, 0xdf,
+	0xec, 0x38, 0x3f, 0xbd, 0xd9, 0x71, 0xbe, 0x7c, 0xbb, 0x73, 0xed, 0xf5, 0xdb, 0x9d, 0x6b, 0x3f,
+	0xbe, 0xdd, 0xb9, 0x36, 0x68, 0xd2, 0xdf, 0xfe, 0xf7, 0x5b, 0x00, 0x00, 0x00, 0xff, 0xff, 0xcc,
+	0xdf, 0xb3, 0x12, 0xc1, 0x10, 0x00, 0x00,
 }
 
 func (m *Image) Marshal() (dAtA []byte, err error) {
 	size := m.Size()
 	dAtA = make([]byte, size)
-	n, err := m.MarshalToSizedBuffer(dAtA[:size])
+	n, err := m.MarshalTo(dAtA)
 	if err != nil {
 		return nil, err
 	}
@@ -1667,58 +1908,208 @@
 }
 
 func (m *Image) MarshalTo(dAtA []byte) (int, error) {
-	size := m.Size()
-	return m.MarshalToSizedBuffer(dAtA[:size])
-}
-
-func (m *Image) MarshalToSizedBuffer(dAtA []byte) (int, error) {
-	i := len(dAtA)
+	var i int
 	_ = i
 	var l int
 	_ = l
-	if len(m.Cid) > 0 {
-		i -= len(m.Cid)
-		copy(dAtA[i:], m.Cid)
-		i = encodeVarintSdk(dAtA, i, uint64(len(m.Cid)))
-		i--
-		dAtA[i] = 0x32
-	}
-	if m.Id != 0 {
-		i = encodeVarintSdk(dAtA, i, uint64(m.Id))
-		i--
-		dAtA[i] = 0x28
-	}
-	if len(m.Timestamp) > 0 {
-		i -= len(m.Timestamp)
-		copy(dAtA[i:], m.Timestamp)
-		i = encodeVarintSdk(dAtA, i, uint64(len(m.Timestamp)))
-		i--
-		dAtA[i] = 0x22
-	}
-	if len(m.Data) > 0 {
-		i -= len(m.Data)
-		copy(dAtA[i:], m.Data)
-		i = encodeVarintSdk(dAtA, i, uint64(len(m.Data)))
-		i--
-		dAtA[i] = 0x1a
+	if m.Width != 0 {
+		dAtA[i] = 0x8
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(m.Width))
 	}
 	if m.Height != 0 {
-		i = encodeVarintSdk(dAtA, i, uint64(m.Height))
-		i--
 		dAtA[i] = 0x10
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(m.Height))
 	}
-	if m.Width != 0 {
-		i = encodeVarintSdk(dAtA, i, uint64(m.Width))
-		i--
+	if len(m.Data) > 0 {
+		dAtA[i] = 0x1a
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(len(m.Data)))
+		i += copy(dAtA[i:], m.Data)
+	}
+	if len(m.Timestamp) > 0 {
+		dAtA[i] = 0x22
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(len(m.Timestamp)))
+		i += copy(dAtA[i:], m.Timestamp)
+	}
+	if m.Id != 0 {
+		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)
+	}
+	if len(m.Cname) > 0 {
+		dAtA[i] = 0x3a
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(len(m.Cname)))
+		i += copy(dAtA[i:], m.Cname)
+	}
+	return i, nil
+}
+
+func (m *Target) Marshal() (dAtA []byte, err error) {
+	size := m.Size()
+	dAtA = make([]byte, size)
+	n, err := m.MarshalTo(dAtA)
+	if err != nil {
+		return nil, err
+	}
+	return dAtA[:n], nil
+}
+
+func (m *Target) MarshalTo(dAtA []byte) (int, error) {
+	var i int
+	_ = i
+	var l int
+	_ = l
+	if m.Id != 0 {
 		dAtA[i] = 0x8
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(m.Id))
 	}
-	return len(dAtA) - i, nil
+	if len(m.Type) > 0 {
+		dAtA[i] = 0x12
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(len(m.Type)))
+		i += copy(dAtA[i:], m.Type)
+	}
+	if m.Confidence != 0 {
+		dAtA[i] = 0x18
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(m.Confidence))
+	}
+	if m.Rect != nil {
+		dAtA[i] = 0x22
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(m.Rect.Size()))
+		n1, err1 := m.Rect.MarshalTo(dAtA[i:])
+		if err1 != nil {
+			return 0, err1
+		}
+		i += n1
+	}
+	if len(m.Feature) > 0 {
+		dAtA[i] = 0x2a
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(len(m.Feature)))
+		i += copy(dAtA[i:], m.Feature)
+	}
+	if len(m.Attribute) > 0 {
+		dAtA[i] = 0x32
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(len(m.Attribute)))
+		i += copy(dAtA[i:], m.Attribute)
+	}
+	return i, nil
+}
+
+func (m *NewSDKMessage) Marshal() (dAtA []byte, err error) {
+	size := m.Size()
+	dAtA = make([]byte, size)
+	n, err := m.MarshalTo(dAtA)
+	if err != nil {
+		return nil, err
+	}
+	return dAtA[:n], nil
+}
+
+func (m *NewSDKMessage) MarshalTo(dAtA []byte) (int, error) {
+	var i int
+	_ = i
+	var l int
+	_ = l
+	if len(m.SdkID) > 0 {
+		dAtA[i] = 0xa
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(len(m.SdkID)))
+		i += copy(dAtA[i:], m.SdkID)
+	}
+	if len(m.SdkType) > 0 {
+		dAtA[i] = 0x12
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(len(m.SdkType)))
+		i += copy(dAtA[i:], m.SdkType)
+	}
+	if len(m.SdkName) > 0 {
+		dAtA[i] = 0x1a
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(len(m.SdkName)))
+		i += copy(dAtA[i:], m.SdkName)
+	}
+	if len(m.Target) > 0 {
+		for _, msg := range m.Target {
+			dAtA[i] = 0x22
+			i++
+			i = encodeVarintSdk(dAtA, i, uint64(msg.Size()))
+			n, err := msg.MarshalTo(dAtA[i:])
+			if err != nil {
+				return 0, err
+			}
+			i += n
+		}
+	}
+	if len(m.Timestamp) > 0 {
+		dAtA[i] = 0x2a
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(len(m.Timestamp)))
+		i += copy(dAtA[i:], m.Timestamp)
+	}
+	return i, nil
+}
+
+func (m *NewRuleMessage) Marshal() (dAtA []byte, err error) {
+	size := m.Size()
+	dAtA = make([]byte, size)
+	n, err := m.MarshalTo(dAtA)
+	if err != nil {
+		return nil, err
+	}
+	return dAtA[:n], nil
+}
+
+func (m *NewRuleMessage) MarshalTo(dAtA []byte) (int, error) {
+	var i int
+	_ = i
+	var l int
+	_ = l
+	if len(m.DataType) > 0 {
+		dAtA[i] = 0xa
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(len(m.DataType)))
+		i += copy(dAtA[i:], m.DataType)
+	}
+	if len(m.HandleTrack) > 0 {
+		dAtA[i] = 0x12
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(len(m.HandleTrack)))
+		i += copy(dAtA[i:], m.HandleTrack)
+	}
+	if len(m.Message) > 0 {
+		for _, msg := range m.Message {
+			dAtA[i] = 0x1a
+			i++
+			i = encodeVarintSdk(dAtA, i, uint64(msg.Size()))
+			n, err := msg.MarshalTo(dAtA[i:])
+			if err != nil {
+				return 0, err
+			}
+			i += n
+		}
+	}
+	return i, nil
 }
 
 func (m *FaceAngle) Marshal() (dAtA []byte, err error) {
 	size := m.Size()
 	dAtA = make([]byte, size)
-	n, err := m.MarshalToSizedBuffer(dAtA[:size])
+	n, err := m.MarshalTo(dAtA)
 	if err != nil {
 		return nil, err
 	}
@@ -1726,43 +2117,38 @@
 }
 
 func (m *FaceAngle) MarshalTo(dAtA []byte) (int, error) {
-	size := m.Size()
-	return m.MarshalToSizedBuffer(dAtA[:size])
-}
-
-func (m *FaceAngle) MarshalToSizedBuffer(dAtA []byte) (int, error) {
-	i := len(dAtA)
+	var i int
 	_ = i
 	var l int
 	_ = l
-	if m.Confidence != 0 {
-		i -= 4
-		encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.Confidence))))
-		i--
-		dAtA[i] = 0x25
-	}
-	if m.Roll != 0 {
-		i = encodeVarintSdk(dAtA, i, uint64(m.Roll))
-		i--
-		dAtA[i] = 0x18
+	if m.Yaw != 0 {
+		dAtA[i] = 0x8
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(m.Yaw))
 	}
 	if m.Pitch != 0 {
-		i = encodeVarintSdk(dAtA, i, uint64(m.Pitch))
-		i--
 		dAtA[i] = 0x10
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(m.Pitch))
 	}
-	if m.Yaw != 0 {
-		i = encodeVarintSdk(dAtA, i, uint64(m.Yaw))
-		i--
-		dAtA[i] = 0x8
+	if m.Roll != 0 {
+		dAtA[i] = 0x18
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(m.Roll))
 	}
-	return len(dAtA) - i, nil
+	if m.Confidence != 0 {
+		dAtA[i] = 0x25
+		i++
+		encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.Confidence))))
+		i += 4
+	}
+	return i, nil
 }
 
 func (m *ThftResult) Marshal() (dAtA []byte, err error) {
 	size := m.Size()
 	dAtA = make([]byte, size)
-	n, err := m.MarshalToSizedBuffer(dAtA[:size])
+	n, err := m.MarshalTo(dAtA)
 	if err != nil {
 		return nil, err
 	}
@@ -1770,47 +2156,42 @@
 }
 
 func (m *ThftResult) MarshalTo(dAtA []byte) (int, error) {
-	size := m.Size()
-	return m.MarshalToSizedBuffer(dAtA[:size])
-}
-
-func (m *ThftResult) MarshalToSizedBuffer(dAtA []byte) (int, error) {
-	i := len(dAtA)
+	var i int
 	_ = i
 	var l int
 	_ = l
-	if m.Smile != 0 {
-		i = encodeVarintSdk(dAtA, i, uint64(m.Smile))
-		i--
-		dAtA[i] = 0x28
-	}
-	if m.Beauty != 0 {
-		i = encodeVarintSdk(dAtA, i, uint64(m.Beauty))
-		i--
-		dAtA[i] = 0x20
-	}
-	if m.Race != 0 {
-		i = encodeVarintSdk(dAtA, i, uint64(m.Race))
-		i--
-		dAtA[i] = 0x18
+	if m.Gender != 0 {
+		dAtA[i] = 0x8
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(m.Gender))
 	}
 	if m.Age != 0 {
-		i = encodeVarintSdk(dAtA, i, uint64(m.Age))
-		i--
 		dAtA[i] = 0x10
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(m.Age))
 	}
-	if m.Gender != 0 {
-		i = encodeVarintSdk(dAtA, i, uint64(m.Gender))
-		i--
-		dAtA[i] = 0x8
+	if m.Race != 0 {
+		dAtA[i] = 0x18
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(m.Race))
 	}
-	return len(dAtA) - i, nil
+	if m.Beauty != 0 {
+		dAtA[i] = 0x20
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(m.Beauty))
+	}
+	if m.Smile != 0 {
+		dAtA[i] = 0x28
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(m.Smile))
+	}
+	return i, nil
 }
 
 func (m *FacePos) Marshal() (dAtA []byte, err error) {
 	size := m.Size()
 	dAtA = make([]byte, size)
-	n, err := m.MarshalToSizedBuffer(dAtA[:size])
+	n, err := m.MarshalTo(dAtA)
 	if err != nil {
 		return nil, err
 	}
@@ -1818,111 +2199,93 @@
 }
 
 func (m *FacePos) MarshalTo(dAtA []byte) (int, error) {
-	size := m.Size()
-	return m.MarshalToSizedBuffer(dAtA[:size])
-}
-
-func (m *FacePos) MarshalToSizedBuffer(dAtA []byte) (int, error) {
-	i := len(dAtA)
+	var i int
 	_ = i
 	var l int
 	_ = l
-	if m.FaceID != 0 {
-		i = encodeVarintSdk(dAtA, i, uint64(m.FaceID))
-		i--
-		dAtA[i] = 0x48
-	}
-	if len(m.FacialData) > 0 {
-		i -= len(m.FacialData)
-		copy(dAtA[i:], m.FacialData)
-		i = encodeVarintSdk(dAtA, i, uint64(len(m.FacialData)))
-		i--
-		dAtA[i] = 0x42
-	}
-	if m.Quality != 0 {
-		i = encodeVarintSdk(dAtA, i, uint64(m.Quality))
-		i--
-		dAtA[i] = 0x38
-	}
-	if m.FAngle != nil {
-		{
-			size, err := m.FAngle.MarshalToSizedBuffer(dAtA[:i])
-			if err != nil {
-				return 0, err
-			}
-			i -= size
-			i = encodeVarintSdk(dAtA, i, uint64(size))
+	if m.RcFace != nil {
+		dAtA[i] = 0xa
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(m.RcFace.Size()))
+		n2, err2 := m.RcFace.MarshalTo(dAtA[i:])
+		if err2 != nil {
+			return 0, err2
 		}
-		i--
-		dAtA[i] = 0x32
-	}
-	if m.PtNose != nil {
-		{
-			size, err := m.PtNose.MarshalToSizedBuffer(dAtA[:i])
-			if err != nil {
-				return 0, err
-			}
-			i -= size
-			i = encodeVarintSdk(dAtA, i, uint64(size))
-		}
-		i--
-		dAtA[i] = 0x2a
-	}
-	if m.PtMouth != nil {
-		{
-			size, err := m.PtMouth.MarshalToSizedBuffer(dAtA[:i])
-			if err != nil {
-				return 0, err
-			}
-			i -= size
-			i = encodeVarintSdk(dAtA, i, uint64(size))
-		}
-		i--
-		dAtA[i] = 0x22
-	}
-	if m.PtRightEye != nil {
-		{
-			size, err := m.PtRightEye.MarshalToSizedBuffer(dAtA[:i])
-			if err != nil {
-				return 0, err
-			}
-			i -= size
-			i = encodeVarintSdk(dAtA, i, uint64(size))
-		}
-		i--
-		dAtA[i] = 0x1a
+		i += n2
 	}
 	if m.PtLeftEye != nil {
-		{
-			size, err := m.PtLeftEye.MarshalToSizedBuffer(dAtA[:i])
-			if err != nil {
-				return 0, err
-			}
-			i -= size
-			i = encodeVarintSdk(dAtA, i, uint64(size))
-		}
-		i--
 		dAtA[i] = 0x12
-	}
-	if m.RcFace != nil {
-		{
-			size, err := m.RcFace.MarshalToSizedBuffer(dAtA[:i])
-			if err != nil {
-				return 0, err
-			}
-			i -= size
-			i = encodeVarintSdk(dAtA, i, uint64(size))
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(m.PtLeftEye.Size()))
+		n3, err3 := m.PtLeftEye.MarshalTo(dAtA[i:])
+		if err3 != nil {
+			return 0, err3
 		}
-		i--
-		dAtA[i] = 0xa
+		i += n3
 	}
-	return len(dAtA) - i, nil
+	if m.PtRightEye != nil {
+		dAtA[i] = 0x1a
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(m.PtRightEye.Size()))
+		n4, err4 := m.PtRightEye.MarshalTo(dAtA[i:])
+		if err4 != nil {
+			return 0, err4
+		}
+		i += n4
+	}
+	if m.PtMouth != nil {
+		dAtA[i] = 0x22
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(m.PtMouth.Size()))
+		n5, err5 := m.PtMouth.MarshalTo(dAtA[i:])
+		if err5 != nil {
+			return 0, err5
+		}
+		i += n5
+	}
+	if m.PtNose != nil {
+		dAtA[i] = 0x2a
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(m.PtNose.Size()))
+		n6, err6 := m.PtNose.MarshalTo(dAtA[i:])
+		if err6 != nil {
+			return 0, err6
+		}
+		i += n6
+	}
+	if m.FAngle != nil {
+		dAtA[i] = 0x32
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(m.FAngle.Size()))
+		n7, err7 := m.FAngle.MarshalTo(dAtA[i:])
+		if err7 != nil {
+			return 0, err7
+		}
+		i += n7
+	}
+	if m.Quality != 0 {
+		dAtA[i] = 0x38
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(m.Quality))
+	}
+	if len(m.FacialData) > 0 {
+		dAtA[i] = 0x42
+		i++
+		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
 }
 
 func (m *FaceInfo) Marshal() (dAtA []byte, err error) {
 	size := m.Size()
 	dAtA = make([]byte, size)
-	n, err := m.MarshalToSizedBuffer(dAtA[:size])
+	n, err := m.MarshalTo(dAtA)
 	if err != nil {
 		return nil, err
 	}
@@ -1930,111 +2293,93 @@
 }
 
 func (m *FaceInfo) MarshalTo(dAtA []byte) (int, error) {
-	size := m.Size()
-	return m.MarshalToSizedBuffer(dAtA[:size])
-}
-
-func (m *FaceInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) {
-	i := len(dAtA)
+	var i int
 	_ = i
 	var l int
 	_ = l
-	if m.FaceID != 0 {
-		i = encodeVarintSdk(dAtA, i, uint64(m.FaceID))
-		i--
-		dAtA[i] = 0x48
-	}
-	if len(m.FacialData) > 0 {
-		i -= len(m.FacialData)
-		copy(dAtA[i:], m.FacialData)
-		i = encodeVarintSdk(dAtA, i, uint64(len(m.FacialData)))
-		i--
-		dAtA[i] = 0x42
-	}
-	if m.Quality != 0 {
-		i = encodeVarintSdk(dAtA, i, uint64(m.Quality))
-		i--
-		dAtA[i] = 0x38
-	}
-	if m.FAngle != nil {
-		{
-			size, err := m.FAngle.MarshalToSizedBuffer(dAtA[:i])
-			if err != nil {
-				return 0, err
-			}
-			i -= size
-			i = encodeVarintSdk(dAtA, i, uint64(size))
+	if m.RcFace != nil {
+		dAtA[i] = 0xa
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(m.RcFace.Size()))
+		n8, err8 := m.RcFace.MarshalTo(dAtA[i:])
+		if err8 != nil {
+			return 0, err8
 		}
-		i--
-		dAtA[i] = 0x32
-	}
-	if m.PtNose != nil {
-		{
-			size, err := m.PtNose.MarshalToSizedBuffer(dAtA[:i])
-			if err != nil {
-				return 0, err
-			}
-			i -= size
-			i = encodeVarintSdk(dAtA, i, uint64(size))
-		}
-		i--
-		dAtA[i] = 0x2a
-	}
-	if m.PtMouth != nil {
-		{
-			size, err := m.PtMouth.MarshalToSizedBuffer(dAtA[:i])
-			if err != nil {
-				return 0, err
-			}
-			i -= size
-			i = encodeVarintSdk(dAtA, i, uint64(size))
-		}
-		i--
-		dAtA[i] = 0x22
-	}
-	if m.PtRightEye != nil {
-		{
-			size, err := m.PtRightEye.MarshalToSizedBuffer(dAtA[:i])
-			if err != nil {
-				return 0, err
-			}
-			i -= size
-			i = encodeVarintSdk(dAtA, i, uint64(size))
-		}
-		i--
-		dAtA[i] = 0x1a
+		i += n8
 	}
 	if m.PtLeftEye != nil {
-		{
-			size, err := m.PtLeftEye.MarshalToSizedBuffer(dAtA[:i])
-			if err != nil {
-				return 0, err
-			}
-			i -= size
-			i = encodeVarintSdk(dAtA, i, uint64(size))
-		}
-		i--
 		dAtA[i] = 0x12
-	}
-	if m.RcFace != nil {
-		{
-			size, err := m.RcFace.MarshalToSizedBuffer(dAtA[:i])
-			if err != nil {
-				return 0, err
-			}
-			i -= size
-			i = encodeVarintSdk(dAtA, i, uint64(size))
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(m.PtLeftEye.Size()))
+		n9, err9 := m.PtLeftEye.MarshalTo(dAtA[i:])
+		if err9 != nil {
+			return 0, err9
 		}
-		i--
-		dAtA[i] = 0xa
+		i += n9
 	}
-	return len(dAtA) - i, nil
+	if m.PtRightEye != nil {
+		dAtA[i] = 0x1a
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(m.PtRightEye.Size()))
+		n10, err10 := m.PtRightEye.MarshalTo(dAtA[i:])
+		if err10 != nil {
+			return 0, err10
+		}
+		i += n10
+	}
+	if m.PtMouth != nil {
+		dAtA[i] = 0x22
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(m.PtMouth.Size()))
+		n11, err11 := m.PtMouth.MarshalTo(dAtA[i:])
+		if err11 != nil {
+			return 0, err11
+		}
+		i += n11
+	}
+	if m.PtNose != nil {
+		dAtA[i] = 0x2a
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(m.PtNose.Size()))
+		n12, err12 := m.PtNose.MarshalTo(dAtA[i:])
+		if err12 != nil {
+			return 0, err12
+		}
+		i += n12
+	}
+	if m.FAngle != nil {
+		dAtA[i] = 0x32
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(m.FAngle.Size()))
+		n13, err13 := m.FAngle.MarshalTo(dAtA[i:])
+		if err13 != nil {
+			return 0, err13
+		}
+		i += n13
+	}
+	if m.Quality != 0 {
+		dAtA[i] = 0x38
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(m.Quality))
+	}
+	if len(m.FacialData) > 0 {
+		dAtA[i] = 0x42
+		i++
+		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
 }
 
 func (m *ObjInfo) Marshal() (dAtA []byte, err error) {
 	size := m.Size()
 	dAtA = make([]byte, size)
-	n, err := m.MarshalToSizedBuffer(dAtA[:size])
+	n, err := m.MarshalTo(dAtA)
 	if err != nil {
 		return nil, err
 	}
@@ -2042,50 +2387,43 @@
 }
 
 func (m *ObjInfo) MarshalTo(dAtA []byte) (int, error) {
-	size := m.Size()
-	return m.MarshalToSizedBuffer(dAtA[:size])
-}
-
-func (m *ObjInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) {
-	i := len(dAtA)
+	var i int
 	_ = i
 	var l int
 	_ = l
-	if m.ObjID != 0 {
-		i = encodeVarintSdk(dAtA, i, uint64(m.ObjID))
-		i--
-		dAtA[i] = 0x20
-	}
-	if m.Prob != 0 {
-		i -= 4
-		encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.Prob))))
-		i--
-		dAtA[i] = 0x1d
+	if m.RcObj != nil {
+		dAtA[i] = 0xa
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(m.RcObj.Size()))
+		n14, err14 := m.RcObj.MarshalTo(dAtA[i:])
+		if err14 != nil {
+			return 0, err14
+		}
+		i += n14
 	}
 	if m.Typ != 0 {
-		i = encodeVarintSdk(dAtA, i, uint64(m.Typ))
-		i--
 		dAtA[i] = 0x10
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(m.Typ))
 	}
-	if m.RcObj != nil {
-		{
-			size, err := m.RcObj.MarshalToSizedBuffer(dAtA[:i])
-			if err != nil {
-				return 0, err
-			}
-			i -= size
-			i = encodeVarintSdk(dAtA, i, uint64(size))
-		}
-		i--
-		dAtA[i] = 0xa
+	if m.Prob != 0 {
+		dAtA[i] = 0x1d
+		i++
+		encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.Prob))))
+		i += 4
 	}
-	return len(dAtA) - i, nil
+	if m.ObjID != 0 {
+		dAtA[i] = 0x20
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(m.ObjID))
+	}
+	return i, nil
 }
 
 func (m *ResultFaceDetect) Marshal() (dAtA []byte, err error) {
 	size := m.Size()
 	dAtA = make([]byte, size)
-	n, err := m.MarshalToSizedBuffer(dAtA[:size])
+	n, err := m.MarshalTo(dAtA)
 	if err != nil {
 		return nil, err
 	}
@@ -2093,53 +2431,43 @@
 }
 
 func (m *ResultFaceDetect) MarshalTo(dAtA []byte) (int, error) {
-	size := m.Size()
-	return m.MarshalToSizedBuffer(dAtA[:size])
-}
-
-func (m *ResultFaceDetect) MarshalToSizedBuffer(dAtA []byte) (int, error) {
-	i := len(dAtA)
+	var i int
 	_ = i
 	var l int
 	_ = l
-	if len(m.Feats) > 0 {
-		i -= len(m.Feats)
-		copy(dAtA[i:], m.Feats)
-		i = encodeVarintSdk(dAtA, i, uint64(len(m.Feats)))
-		i--
-		dAtA[i] = 0x1a
+	if m.Pos != nil {
+		dAtA[i] = 0xa
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(m.Pos.Size()))
+		n15, err15 := m.Pos.MarshalTo(dAtA[i:])
+		if err15 != nil {
+			return 0, err15
+		}
+		i += n15
 	}
 	if m.Result != nil {
-		{
-			size, err := m.Result.MarshalToSizedBuffer(dAtA[:i])
-			if err != nil {
-				return 0, err
-			}
-			i -= size
-			i = encodeVarintSdk(dAtA, i, uint64(size))
-		}
-		i--
 		dAtA[i] = 0x12
-	}
-	if m.Pos != nil {
-		{
-			size, err := m.Pos.MarshalToSizedBuffer(dAtA[:i])
-			if err != nil {
-				return 0, err
-			}
-			i -= size
-			i = encodeVarintSdk(dAtA, i, uint64(size))
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(m.Result.Size()))
+		n16, err16 := m.Result.MarshalTo(dAtA[i:])
+		if err16 != nil {
+			return 0, err16
 		}
-		i--
-		dAtA[i] = 0xa
+		i += n16
 	}
-	return len(dAtA) - i, nil
+	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
 }
 
 func (m *ParamFacePos) Marshal() (dAtA []byte, err error) {
 	size := m.Size()
 	dAtA = make([]byte, size)
-	n, err := m.MarshalToSizedBuffer(dAtA[:size])
+	n, err := m.MarshalTo(dAtA)
 	if err != nil {
 		return nil, err
 	}
@@ -2147,36 +2475,29 @@
 }
 
 func (m *ParamFacePos) MarshalTo(dAtA []byte) (int, error) {
-	size := m.Size()
-	return m.MarshalToSizedBuffer(dAtA[:size])
-}
-
-func (m *ParamFacePos) MarshalToSizedBuffer(dAtA []byte) (int, error) {
-	i := len(dAtA)
+	var i int
 	_ = i
 	var l int
 	_ = l
 	if len(m.Faces) > 0 {
-		for iNdEx := len(m.Faces) - 1; iNdEx >= 0; iNdEx-- {
-			{
-				size, err := m.Faces[iNdEx].MarshalToSizedBuffer(dAtA[:i])
-				if err != nil {
-					return 0, err
-				}
-				i -= size
-				i = encodeVarintSdk(dAtA, i, uint64(size))
-			}
-			i--
+		for _, msg := range m.Faces {
 			dAtA[i] = 0xa
+			i++
+			i = encodeVarintSdk(dAtA, i, uint64(msg.Size()))
+			n, err := msg.MarshalTo(dAtA[i:])
+			if err != nil {
+				return 0, err
+			}
+			i += n
 		}
 	}
-	return len(dAtA) - i, nil
+	return i, nil
 }
 
 func (m *ResultFaceExtCom) Marshal() (dAtA []byte, err error) {
 	size := m.Size()
 	dAtA = make([]byte, size)
-	n, err := m.MarshalToSizedBuffer(dAtA[:size])
+	n, err := m.MarshalTo(dAtA)
 	if err != nil {
 		return nil, err
 	}
@@ -2184,48 +2505,39 @@
 }
 
 func (m *ResultFaceExtCom) MarshalTo(dAtA []byte) (int, error) {
-	size := m.Size()
-	return m.MarshalToSizedBuffer(dAtA[:size])
-}
-
-func (m *ResultFaceExtCom) MarshalToSizedBuffer(dAtA []byte) (int, error) {
-	i := len(dAtA)
+	var i int
 	_ = i
 	var l int
 	_ = l
-	if m.Pos != nil {
-		{
-			size, err := m.Pos.MarshalToSizedBuffer(dAtA[:i])
-			if err != nil {
-				return 0, err
-			}
-			i -= size
-			i = encodeVarintSdk(dAtA, i, uint64(size))
-		}
-		i--
-		dAtA[i] = 0x1a
+	if len(m.Feats) > 0 {
+		dAtA[i] = 0xa
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(len(m.Feats)))
+		i += copy(dAtA[i:], m.Feats)
 	}
 	if len(m.Comp) > 0 {
-		i -= len(m.Comp)
-		copy(dAtA[i:], m.Comp)
-		i = encodeVarintSdk(dAtA, i, uint64(len(m.Comp)))
-		i--
 		dAtA[i] = 0x12
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(len(m.Comp)))
+		i += copy(dAtA[i:], m.Comp)
 	}
-	if len(m.Feats) > 0 {
-		i -= len(m.Feats)
-		copy(dAtA[i:], m.Feats)
-		i = encodeVarintSdk(dAtA, i, uint64(len(m.Feats)))
-		i--
-		dAtA[i] = 0xa
+	if m.Pos != nil {
+		dAtA[i] = 0x1a
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(m.Pos.Size()))
+		n17, err17 := m.Pos.MarshalTo(dAtA[i:])
+		if err17 != nil {
+			return 0, err17
+		}
+		i += n17
 	}
-	return len(dAtA) - i, nil
+	return i, nil
 }
 
 func (m *ParamFaceFeature) Marshal() (dAtA []byte, err error) {
 	size := m.Size()
 	dAtA = make([]byte, size)
-	n, err := m.MarshalToSizedBuffer(dAtA[:size])
+	n, err := m.MarshalTo(dAtA)
 	if err != nil {
 		return nil, err
 	}
@@ -2233,36 +2545,29 @@
 }
 
 func (m *ParamFaceFeature) MarshalTo(dAtA []byte) (int, error) {
-	size := m.Size()
-	return m.MarshalToSizedBuffer(dAtA[:size])
-}
-
-func (m *ParamFaceFeature) MarshalToSizedBuffer(dAtA []byte) (int, error) {
-	i := len(dAtA)
+	var i int
 	_ = i
 	var l int
 	_ = l
 	if len(m.ExtComp) > 0 {
-		for iNdEx := len(m.ExtComp) - 1; iNdEx >= 0; iNdEx-- {
-			{
-				size, err := m.ExtComp[iNdEx].MarshalToSizedBuffer(dAtA[:i])
-				if err != nil {
-					return 0, err
-				}
-				i -= size
-				i = encodeVarintSdk(dAtA, i, uint64(size))
-			}
-			i--
+		for _, msg := range m.ExtComp {
 			dAtA[i] = 0x12
+			i++
+			i = encodeVarintSdk(dAtA, i, uint64(msg.Size()))
+			n, err := msg.MarshalTo(dAtA[i:])
+			if err != nil {
+				return 0, err
+			}
+			i += n
 		}
 	}
-	return len(dAtA) - i, nil
+	return i, nil
 }
 
 func (m *ParamYoloObj) Marshal() (dAtA []byte, err error) {
 	size := m.Size()
 	dAtA = make([]byte, size)
-	n, err := m.MarshalToSizedBuffer(dAtA[:size])
+	n, err := m.MarshalTo(dAtA)
 	if err != nil {
 		return nil, err
 	}
@@ -2270,36 +2575,29 @@
 }
 
 func (m *ParamYoloObj) MarshalTo(dAtA []byte) (int, error) {
-	size := m.Size()
-	return m.MarshalToSizedBuffer(dAtA[:size])
-}
-
-func (m *ParamYoloObj) MarshalToSizedBuffer(dAtA []byte) (int, error) {
-	i := len(dAtA)
+	var i int
 	_ = i
 	var l int
 	_ = l
 	if len(m.Infos) > 0 {
-		for iNdEx := len(m.Infos) - 1; iNdEx >= 0; iNdEx-- {
-			{
-				size, err := m.Infos[iNdEx].MarshalToSizedBuffer(dAtA[:i])
-				if err != nil {
-					return 0, err
-				}
-				i -= size
-				i = encodeVarintSdk(dAtA, i, uint64(size))
-			}
-			i--
+		for _, msg := range m.Infos {
 			dAtA[i] = 0xa
+			i++
+			i = encodeVarintSdk(dAtA, i, uint64(msg.Size()))
+			n, err := msg.MarshalTo(dAtA[i:])
+			if err != nil {
+				return 0, err
+			}
+			i += n
 		}
 	}
-	return len(dAtA) - i, nil
+	return i, nil
 }
 
 func (m *SoInfo) Marshal() (dAtA []byte, err error) {
 	size := m.Size()
 	dAtA = make([]byte, size)
-	n, err := m.MarshalToSizedBuffer(dAtA[:size])
+	n, err := m.MarshalTo(dAtA)
 	if err != nil {
 		return nil, err
 	}
@@ -2307,43 +2605,35 @@
 }
 
 func (m *SoInfo) MarshalTo(dAtA []byte) (int, error) {
-	size := m.Size()
-	return m.MarshalToSizedBuffer(dAtA[:size])
-}
-
-func (m *SoInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) {
-	i := len(dAtA)
+	var i int
 	_ = i
 	var l int
 	_ = l
-	if len(m.SoName) > 0 {
-		i -= len(m.SoName)
-		copy(dAtA[i:], m.SoName)
-		i = encodeVarintSdk(dAtA, i, uint64(len(m.SoName)))
-		i--
-		dAtA[i] = 0x1a
+	if len(m.Id) > 0 {
+		dAtA[i] = 0xa
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(len(m.Id)))
+		i += copy(dAtA[i:], m.Id)
 	}
 	if len(m.SdkId) > 0 {
-		i -= len(m.SdkId)
-		copy(dAtA[i:], m.SdkId)
-		i = encodeVarintSdk(dAtA, i, uint64(len(m.SdkId)))
-		i--
 		dAtA[i] = 0x12
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(len(m.SdkId)))
+		i += copy(dAtA[i:], m.SdkId)
 	}
-	if len(m.Id) > 0 {
-		i -= len(m.Id)
-		copy(dAtA[i:], m.Id)
-		i = encodeVarintSdk(dAtA, i, uint64(len(m.Id)))
-		i--
-		dAtA[i] = 0xa
+	if len(m.SoName) > 0 {
+		dAtA[i] = 0x1a
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(len(m.SoName)))
+		i += copy(dAtA[i:], m.SoName)
 	}
-	return len(dAtA) - i, nil
+	return i, nil
 }
 
 func (m *PlateID) Marshal() (dAtA []byte, err error) {
 	size := m.Size()
 	dAtA = make([]byte, size)
-	n, err := m.MarshalToSizedBuffer(dAtA[:size])
+	n, err := m.MarshalTo(dAtA)
 	if err != nil {
 		return nil, err
 	}
@@ -2351,153 +2641,137 @@
 }
 
 func (m *PlateID) MarshalTo(dAtA []byte) (int, error) {
-	size := m.Size()
-	return m.MarshalToSizedBuffer(dAtA[:size])
-}
-
-func (m *PlateID) MarshalToSizedBuffer(dAtA []byte) (int, error) {
-	i := len(dAtA)
+	var i int
 	_ = i
 	var l int
 	_ = l
-	if len(m.NCarModelConfidence) > 0 {
-		i -= len(m.NCarModelConfidence)
-		copy(dAtA[i:], m.NCarModelConfidence)
-		i = encodeVarintSdk(dAtA, i, uint64(len(m.NCarModelConfidence)))
-		i--
-		dAtA[i] = 0x1
-		i--
-		dAtA[i] = 0x9a
-	}
-	if len(m.NCarModel) > 0 {
-		i -= len(m.NCarModel)
-		copy(dAtA[i:], m.NCarModel)
-		i = encodeVarintSdk(dAtA, i, uint64(len(m.NCarModel)))
-		i--
-		dAtA[i] = 0x1
-		i--
-		dAtA[i] = 0x92
-	}
-	if m.RcLogoLocation != nil {
-		{
-			size, err := m.RcLogoLocation.MarshalToSizedBuffer(dAtA[:i])
-			if err != nil {
-				return 0, err
-			}
-			i -= size
-			i = encodeVarintSdk(dAtA, i, uint64(size))
-		}
-		i--
-		dAtA[i] = 0x1
-		i--
-		dAtA[i] = 0x8a
-	}
-	if len(m.NBinPlateHeight) > 0 {
-		i -= len(m.NBinPlateHeight)
-		copy(dAtA[i:], m.NBinPlateHeight)
-		i = encodeVarintSdk(dAtA, i, uint64(len(m.NBinPlateHeight)))
-		i--
-		dAtA[i] = 0x1
-		i--
-		dAtA[i] = 0x82
-	}
-	if len(m.NBinPlateWidth) > 0 {
-		i -= len(m.NBinPlateWidth)
-		copy(dAtA[i:], m.NBinPlateWidth)
-		i = encodeVarintSdk(dAtA, i, uint64(len(m.NBinPlateWidth)))
-		i--
-		dAtA[i] = 0x7a
-	}
-	if len(m.PlateBin) > 0 {
-		i -= len(m.PlateBin)
-		copy(dAtA[i:], m.PlateBin)
-		i = encodeVarintSdk(dAtA, i, uint64(len(m.PlateBin)))
-		i--
-		dAtA[i] = 0x72
-	}
-	if m.NCarType != 0 {
-		i = encodeVarintSdk(dAtA, i, uint64(m.NCarType))
-		i--
-		dAtA[i] = 0x68
-	}
-	if m.NCarLogo != 0 {
-		i = encodeVarintSdk(dAtA, i, uint64(m.NCarLogo))
-		i--
-		dAtA[i] = 0x60
-	}
-	if m.NCarColor != 0 {
-		i = encodeVarintSdk(dAtA, i, uint64(m.NCarColor))
-		i--
-		dAtA[i] = 0x58
-	}
-	if m.NCarBright != 0 {
-		i = encodeVarintSdk(dAtA, i, uint64(m.NCarBright))
-		i--
-		dAtA[i] = 0x50
-	}
-	if m.NTime != 0 {
-		i = encodeVarintSdk(dAtA, i, uint64(m.NTime))
-		i--
-		dAtA[i] = 0x48
-	}
-	if m.RcLocation != nil {
-		{
-			size, err := m.RcLocation.MarshalToSizedBuffer(dAtA[:i])
-			if err != nil {
-				return 0, err
-			}
-			i -= size
-			i = encodeVarintSdk(dAtA, i, uint64(size))
-		}
-		i--
-		dAtA[i] = 0x42
-	}
-	if m.NDirection != 0 {
-		i = encodeVarintSdk(dAtA, i, uint64(m.NDirection))
-		i--
-		dAtA[i] = 0x38
-	}
-	if m.NBright != 0 {
-		i = encodeVarintSdk(dAtA, i, uint64(m.NBright))
-		i--
-		dAtA[i] = 0x30
-	}
-	if m.NConfidence != 0 {
-		i = encodeVarintSdk(dAtA, i, uint64(m.NConfidence))
-		i--
-		dAtA[i] = 0x28
-	}
-	if m.NType != 0 {
-		i = encodeVarintSdk(dAtA, i, uint64(m.NType))
-		i--
-		dAtA[i] = 0x20
-	}
-	if m.NColor != 0 {
-		i = encodeVarintSdk(dAtA, i, uint64(m.NColor))
-		i--
-		dAtA[i] = 0x18
+	if len(m.License) > 0 {
+		dAtA[i] = 0xa
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(len(m.License)))
+		i += copy(dAtA[i:], m.License)
 	}
 	if len(m.Color) > 0 {
-		i -= len(m.Color)
-		copy(dAtA[i:], m.Color)
-		i = encodeVarintSdk(dAtA, i, uint64(len(m.Color)))
-		i--
 		dAtA[i] = 0x12
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(len(m.Color)))
+		i += copy(dAtA[i:], m.Color)
 	}
-	if len(m.License) > 0 {
-		i -= len(m.License)
-		copy(dAtA[i:], m.License)
-		i = encodeVarintSdk(dAtA, i, uint64(len(m.License)))
-		i--
-		dAtA[i] = 0xa
+	if m.NColor != 0 {
+		dAtA[i] = 0x18
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(m.NColor))
 	}
-	return len(dAtA) - i, nil
+	if m.NType != 0 {
+		dAtA[i] = 0x20
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(m.NType))
+	}
+	if m.NConfidence != 0 {
+		dAtA[i] = 0x28
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(m.NConfidence))
+	}
+	if m.NBright != 0 {
+		dAtA[i] = 0x30
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(m.NBright))
+	}
+	if m.NDirection != 0 {
+		dAtA[i] = 0x38
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(m.NDirection))
+	}
+	if m.RcLocation != nil {
+		dAtA[i] = 0x42
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(m.RcLocation.Size()))
+		n18, err18 := m.RcLocation.MarshalTo(dAtA[i:])
+		if err18 != nil {
+			return 0, err18
+		}
+		i += n18
+	}
+	if m.NTime != 0 {
+		dAtA[i] = 0x48
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(m.NTime))
+	}
+	if m.NCarBright != 0 {
+		dAtA[i] = 0x50
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(m.NCarBright))
+	}
+	if m.NCarColor != 0 {
+		dAtA[i] = 0x58
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(m.NCarColor))
+	}
+	if m.NCarLogo != 0 {
+		dAtA[i] = 0x60
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(m.NCarLogo))
+	}
+	if m.NCarType != 0 {
+		dAtA[i] = 0x68
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(m.NCarType))
+	}
+	if len(m.PlateBin) > 0 {
+		dAtA[i] = 0x72
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(len(m.PlateBin)))
+		i += copy(dAtA[i:], m.PlateBin)
+	}
+	if len(m.NBinPlateWidth) > 0 {
+		dAtA[i] = 0x7a
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(len(m.NBinPlateWidth)))
+		i += copy(dAtA[i:], m.NBinPlateWidth)
+	}
+	if len(m.NBinPlateHeight) > 0 {
+		dAtA[i] = 0x82
+		i++
+		dAtA[i] = 0x1
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(len(m.NBinPlateHeight)))
+		i += copy(dAtA[i:], m.NBinPlateHeight)
+	}
+	if m.RcLogoLocation != nil {
+		dAtA[i] = 0x8a
+		i++
+		dAtA[i] = 0x1
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(m.RcLogoLocation.Size()))
+		n19, err19 := m.RcLogoLocation.MarshalTo(dAtA[i:])
+		if err19 != nil {
+			return 0, err19
+		}
+		i += n19
+	}
+	if len(m.NCarModel) > 0 {
+		dAtA[i] = 0x92
+		i++
+		dAtA[i] = 0x1
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(len(m.NCarModel)))
+		i += copy(dAtA[i:], m.NCarModel)
+	}
+	if len(m.NCarModelConfidence) > 0 {
+		dAtA[i] = 0x9a
+		i++
+		dAtA[i] = 0x1
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(len(m.NCarModelConfidence)))
+		i += copy(dAtA[i:], m.NCarModelConfidence)
+	}
+	return i, nil
 }
 
 func (m *PlateIDCloud) Marshal() (dAtA []byte, err error) {
 	size := m.Size()
 	dAtA = make([]byte, size)
-	n, err := m.MarshalToSizedBuffer(dAtA[:size])
+	n, err := m.MarshalTo(dAtA)
 	if err != nil {
 		return nil, err
 	}
@@ -2505,96 +2779,88 @@
 }
 
 func (m *PlateIDCloud) MarshalTo(dAtA []byte) (int, error) {
-	size := m.Size()
-	return m.MarshalToSizedBuffer(dAtA[:size])
-}
-
-func (m *PlateIDCloud) MarshalToSizedBuffer(dAtA []byte) (int, error) {
-	i := len(dAtA)
+	var i int
 	_ = i
 	var l int
 	_ = l
-	if m.CharNum != 0 {
-		i = encodeVarintSdk(dAtA, i, uint64(m.CharNum))
-		i--
-		dAtA[i] = 0x68
-	}
-	if m.GrayFaceFlag != 0 {
-		i = encodeVarintSdk(dAtA, i, uint64(m.GrayFaceFlag))
-		i--
-		dAtA[i] = 0x60
-	}
-	if m.FaceHeight != 0 {
-		i = encodeVarintSdk(dAtA, i, uint64(m.FaceHeight))
-		i--
-		dAtA[i] = 0x58
-	}
-	if m.FaceWidth != 0 {
-		i = encodeVarintSdk(dAtA, i, uint64(m.FaceWidth))
-		i--
-		dAtA[i] = 0x50
-	}
-	if m.FrameNo != 0 {
-		i = encodeVarintSdk(dAtA, i, uint64(m.FrameNo))
-		i--
-		dAtA[i] = 0x48
-	}
-	if m.NCarBright != 0 {
-		i = encodeVarintSdk(dAtA, i, uint64(m.NCarBright))
-		i--
-		dAtA[i] = 0x40
-	}
-	if m.NCarColor1 != 0 {
-		i = encodeVarintSdk(dAtA, i, uint64(m.NCarColor1))
-		i--
-		dAtA[i] = 0x38
-	}
-	if m.NCarColor != 0 {
-		i = encodeVarintSdk(dAtA, i, uint64(m.NCarColor))
-		i--
-		dAtA[i] = 0x30
-	}
-	if m.NDirection != 0 {
-		i = encodeVarintSdk(dAtA, i, uint64(m.NDirection))
-		i--
-		dAtA[i] = 0x28
-	}
-	if m.NType != 0 {
-		i = encodeVarintSdk(dAtA, i, uint64(m.NType))
-		i--
-		dAtA[i] = 0x20
-	}
-	if m.NConfidence != 0 {
-		i = encodeVarintSdk(dAtA, i, uint64(m.NConfidence))
-		i--
-		dAtA[i] = 0x18
+	if len(m.License) > 0 {
+		dAtA[i] = 0xa
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(len(m.License)))
+		i += copy(dAtA[i:], m.License)
 	}
 	if m.RcLocation != nil {
-		{
-			size, err := m.RcLocation.MarshalToSizedBuffer(dAtA[:i])
-			if err != nil {
-				return 0, err
-			}
-			i -= size
-			i = encodeVarintSdk(dAtA, i, uint64(size))
-		}
-		i--
 		dAtA[i] = 0x12
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(m.RcLocation.Size()))
+		n20, err20 := m.RcLocation.MarshalTo(dAtA[i:])
+		if err20 != nil {
+			return 0, err20
+		}
+		i += n20
 	}
-	if len(m.License) > 0 {
-		i -= len(m.License)
-		copy(dAtA[i:], m.License)
-		i = encodeVarintSdk(dAtA, i, uint64(len(m.License)))
-		i--
-		dAtA[i] = 0xa
+	if m.NConfidence != 0 {
+		dAtA[i] = 0x18
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(m.NConfidence))
 	}
-	return len(dAtA) - i, nil
+	if m.NType != 0 {
+		dAtA[i] = 0x20
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(m.NType))
+	}
+	if m.NDirection != 0 {
+		dAtA[i] = 0x28
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(m.NDirection))
+	}
+	if m.NCarColor != 0 {
+		dAtA[i] = 0x30
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(m.NCarColor))
+	}
+	if m.NCarColor1 != 0 {
+		dAtA[i] = 0x38
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(m.NCarColor1))
+	}
+	if m.NCarBright != 0 {
+		dAtA[i] = 0x40
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(m.NCarBright))
+	}
+	if m.FrameNo != 0 {
+		dAtA[i] = 0x48
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(m.FrameNo))
+	}
+	if m.FaceWidth != 0 {
+		dAtA[i] = 0x50
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(m.FaceWidth))
+	}
+	if m.FaceHeight != 0 {
+		dAtA[i] = 0x58
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(m.FaceHeight))
+	}
+	if m.GrayFaceFlag != 0 {
+		dAtA[i] = 0x60
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(m.GrayFaceFlag))
+	}
+	if m.CharNum != 0 {
+		dAtA[i] = 0x68
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(m.CharNum))
+	}
+	return i, nil
 }
 
 func (m *PlateIDVehicle) Marshal() (dAtA []byte, err error) {
 	size := m.Size()
 	dAtA = make([]byte, size)
-	n, err := m.MarshalToSizedBuffer(dAtA[:size])
+	n, err := m.MarshalTo(dAtA)
 	if err != nil {
 		return nil, err
 	}
@@ -2602,165 +2868,150 @@
 }
 
 func (m *PlateIDVehicle) MarshalTo(dAtA []byte) (int, error) {
-	size := m.Size()
-	return m.MarshalToSizedBuffer(dAtA[:size])
-}
-
-func (m *PlateIDVehicle) MarshalToSizedBuffer(dAtA []byte) (int, error) {
-	i := len(dAtA)
+	var i int
 	_ = i
 	var l int
 	_ = l
-	if m.NVehicleColor2 != 0 {
-		i = encodeVarintSdk(dAtA, i, uint64(m.NVehicleColor2))
-		i--
-		dAtA[i] = 0x1
-		i--
-		dAtA[i] = 0x98
+	if m.NPlateFlag != 0 {
+		dAtA[i] = 0x8
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(m.NPlateFlag))
 	}
-	if m.NVehicleColor1 != 0 {
-		i = encodeVarintSdk(dAtA, i, uint64(m.NVehicleColor1))
-		i--
-		dAtA[i] = 0x1
-		i--
-		dAtA[i] = 0x90
+	if m.NColor != 0 {
+		dAtA[i] = 0x10
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(m.NColor))
 	}
-	if m.NVehicleBright != 0 {
-		i = encodeVarintSdk(dAtA, i, uint64(m.NVehicleBright))
-		i--
-		dAtA[i] = 0x1
-		i--
-		dAtA[i] = 0x88
+	if m.NType != 0 {
+		dAtA[i] = 0x18
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(m.NType))
 	}
-	if m.NVehicleSubModel != 0 {
-		i = encodeVarintSdk(dAtA, i, uint64(m.NVehicleSubModel))
-		i--
-		dAtA[i] = 0x1
-		i--
-		dAtA[i] = 0x80
+	if len(m.License) > 0 {
+		dAtA[i] = 0x22
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(len(m.License)))
+		i += copy(dAtA[i:], m.License)
 	}
-	if m.FConfdence != 0 {
-		i -= 4
-		encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.FConfdence))))
-		i--
-		dAtA[i] = 0x7d
+	if m.NConfidence != 0 {
+		dAtA[i] = 0x28
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(m.NConfidence))
 	}
-	if m.FvdConf != 0 {
-		i -= 4
-		encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.FvdConf))))
-		i--
-		dAtA[i] = 0x75
-	}
-	if len(m.VehicleType1) > 0 {
-		i -= len(m.VehicleType1)
-		copy(dAtA[i:], m.VehicleType1)
-		i = encodeVarintSdk(dAtA, i, uint64(len(m.VehicleType1)))
-		i--
-		dAtA[i] = 0x6a
-	}
-	if len(m.VehicleSub) > 0 {
-		i -= len(m.VehicleSub)
-		copy(dAtA[i:], m.VehicleSub)
-		i = encodeVarintSdk(dAtA, i, uint64(len(m.VehicleSub)))
-		i--
-		dAtA[i] = 0x62
-	}
-	if len(m.VehicleBrand) > 0 {
-		i -= len(m.VehicleBrand)
-		copy(dAtA[i:], m.VehicleBrand)
-		i = encodeVarintSdk(dAtA, i, uint64(len(m.VehicleBrand)))
-		i--
-		dAtA[i] = 0x5a
-	}
-	if len(m.VehicleType) > 0 {
-		i -= len(m.VehicleType)
-		copy(dAtA[i:], m.VehicleType)
-		i = encodeVarintSdk(dAtA, i, uint64(len(m.VehicleType)))
-		i--
-		dAtA[i] = 0x52
-	}
-	if m.RcCarLocation != nil {
-		{
-			size, err := m.RcCarLocation.MarshalToSizedBuffer(dAtA[:i])
-			if err != nil {
-				return 0, err
-			}
-			i -= size
-			i = encodeVarintSdk(dAtA, i, uint64(size))
-		}
-		i--
-		dAtA[i] = 0x4a
-	}
-	if m.RcLocation != nil {
-		{
-			size, err := m.RcLocation.MarshalToSizedBuffer(dAtA[:i])
-			if err != nil {
-				return 0, err
-			}
-			i -= size
-			i = encodeVarintSdk(dAtA, i, uint64(size))
-		}
-		i--
-		dAtA[i] = 0x42
+	if m.NCharNum != 0 {
+		dAtA[i] = 0x30
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(m.NCharNum))
 	}
 	if len(m.NCharConfidence) > 0 {
-		dAtA23 := make([]byte, len(m.NCharConfidence)*10)
-		var j22 int
+		dAtA22 := make([]byte, len(m.NCharConfidence)*10)
+		var j21 int
 		for _, num1 := range m.NCharConfidence {
 			num := uint64(num1)
 			for num >= 1<<7 {
-				dAtA23[j22] = uint8(uint64(num)&0x7f | 0x80)
+				dAtA22[j21] = uint8(uint64(num)&0x7f | 0x80)
 				num >>= 7
-				j22++
+				j21++
 			}
-			dAtA23[j22] = uint8(num)
-			j22++
+			dAtA22[j21] = uint8(num)
+			j21++
 		}
-		i -= j22
-		copy(dAtA[i:], dAtA23[:j22])
-		i = encodeVarintSdk(dAtA, i, uint64(j22))
-		i--
 		dAtA[i] = 0x3a
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(j21))
+		i += copy(dAtA[i:], dAtA22[:j21])
 	}
-	if m.NCharNum != 0 {
-		i = encodeVarintSdk(dAtA, i, uint64(m.NCharNum))
-		i--
-		dAtA[i] = 0x30
+	if m.RcLocation != nil {
+		dAtA[i] = 0x42
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(m.RcLocation.Size()))
+		n23, err23 := m.RcLocation.MarshalTo(dAtA[i:])
+		if err23 != nil {
+			return 0, err23
+		}
+		i += n23
 	}
-	if m.NConfidence != 0 {
-		i = encodeVarintSdk(dAtA, i, uint64(m.NConfidence))
-		i--
-		dAtA[i] = 0x28
+	if m.RcCarLocation != nil {
+		dAtA[i] = 0x4a
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(m.RcCarLocation.Size()))
+		n24, err24 := m.RcCarLocation.MarshalTo(dAtA[i:])
+		if err24 != nil {
+			return 0, err24
+		}
+		i += n24
 	}
-	if len(m.License) > 0 {
-		i -= len(m.License)
-		copy(dAtA[i:], m.License)
-		i = encodeVarintSdk(dAtA, i, uint64(len(m.License)))
-		i--
-		dAtA[i] = 0x22
+	if len(m.VehicleType) > 0 {
+		dAtA[i] = 0x52
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(len(m.VehicleType)))
+		i += copy(dAtA[i:], m.VehicleType)
 	}
-	if m.NType != 0 {
-		i = encodeVarintSdk(dAtA, i, uint64(m.NType))
-		i--
-		dAtA[i] = 0x18
+	if len(m.VehicleBrand) > 0 {
+		dAtA[i] = 0x5a
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(len(m.VehicleBrand)))
+		i += copy(dAtA[i:], m.VehicleBrand)
 	}
-	if m.NColor != 0 {
-		i = encodeVarintSdk(dAtA, i, uint64(m.NColor))
-		i--
-		dAtA[i] = 0x10
+	if len(m.VehicleSub) > 0 {
+		dAtA[i] = 0x62
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(len(m.VehicleSub)))
+		i += copy(dAtA[i:], m.VehicleSub)
 	}
-	if m.NPlateFlag != 0 {
-		i = encodeVarintSdk(dAtA, i, uint64(m.NPlateFlag))
-		i--
-		dAtA[i] = 0x8
+	if len(m.VehicleType1) > 0 {
+		dAtA[i] = 0x6a
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(len(m.VehicleType1)))
+		i += copy(dAtA[i:], m.VehicleType1)
 	}
-	return len(dAtA) - i, nil
+	if m.FvdConf != 0 {
+		dAtA[i] = 0x75
+		i++
+		encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.FvdConf))))
+		i += 4
+	}
+	if m.FConfdence != 0 {
+		dAtA[i] = 0x7d
+		i++
+		encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.FConfdence))))
+		i += 4
+	}
+	if m.NVehicleSubModel != 0 {
+		dAtA[i] = 0x80
+		i++
+		dAtA[i] = 0x1
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(m.NVehicleSubModel))
+	}
+	if m.NVehicleBright != 0 {
+		dAtA[i] = 0x88
+		i++
+		dAtA[i] = 0x1
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(m.NVehicleBright))
+	}
+	if m.NVehicleColor1 != 0 {
+		dAtA[i] = 0x90
+		i++
+		dAtA[i] = 0x1
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(m.NVehicleColor1))
+	}
+	if m.NVehicleColor2 != 0 {
+		dAtA[i] = 0x98
+		i++
+		dAtA[i] = 0x1
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(m.NVehicleColor2))
+	}
+	return i, nil
 }
 
 func (m *PlateIDResult) Marshal() (dAtA []byte, err error) {
 	size := m.Size()
 	dAtA = make([]byte, size)
-	n, err := m.MarshalToSizedBuffer(dAtA[:size])
+	n, err := m.MarshalTo(dAtA)
 	if err != nil {
 		return nil, err
 	}
@@ -2768,36 +3019,29 @@
 }
 
 func (m *PlateIDResult) MarshalTo(dAtA []byte) (int, error) {
-	size := m.Size()
-	return m.MarshalToSizedBuffer(dAtA[:size])
-}
-
-func (m *PlateIDResult) MarshalToSizedBuffer(dAtA []byte) (int, error) {
-	i := len(dAtA)
+	var i int
 	_ = i
 	var l int
 	_ = l
 	if len(m.Result) > 0 {
-		for iNdEx := len(m.Result) - 1; iNdEx >= 0; iNdEx-- {
-			{
-				size, err := m.Result[iNdEx].MarshalToSizedBuffer(dAtA[:i])
-				if err != nil {
-					return 0, err
-				}
-				i -= size
-				i = encodeVarintSdk(dAtA, i, uint64(size))
-			}
-			i--
+		for _, msg := range m.Result {
 			dAtA[i] = 0xa
+			i++
+			i = encodeVarintSdk(dAtA, i, uint64(msg.Size()))
+			n, err := msg.MarshalTo(dAtA[i:])
+			if err != nil {
+				return 0, err
+			}
+			i += n
 		}
 	}
-	return len(dAtA) - i, nil
+	return i, nil
 }
 
 func (m *HumanTrack) Marshal() (dAtA []byte, err error) {
 	size := m.Size()
 	dAtA = make([]byte, size)
-	n, err := m.MarshalToSizedBuffer(dAtA[:size])
+	n, err := m.MarshalTo(dAtA)
 	if err != nil {
 		return nil, err
 	}
@@ -2805,65 +3049,58 @@
 }
 
 func (m *HumanTrack) MarshalTo(dAtA []byte) (int, error) {
-	size := m.Size()
-	return m.MarshalToSizedBuffer(dAtA[:size])
-}
-
-func (m *HumanTrack) MarshalToSizedBuffer(dAtA []byte) (int, error) {
-	i := len(dAtA)
+	var i int
 	_ = i
 	var l int
 	_ = l
-	if len(m.Feature) > 0 {
-		for iNdEx := len(m.Feature) - 1; iNdEx >= 0; iNdEx-- {
-			f24 := math.Float32bits(float32(m.Feature[iNdEx]))
-			i -= 4
-			encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(f24))
+	if m.RcHuman != nil {
+		dAtA[i] = 0xa
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(m.RcHuman.Size()))
+		n25, err25 := m.RcHuman.MarshalTo(dAtA[i:])
+		if err25 != nil {
+			return 0, err25
 		}
-		i = encodeVarintSdk(dAtA, i, uint64(len(m.Feature)*4))
-		i--
-		dAtA[i] = 0x32
-	}
-	if m.Id != 0 {
-		i = encodeVarintSdk(dAtA, i, uint64(m.Id))
-		i--
-		dAtA[i] = 0x28
-	}
-	if m.Y != 0 {
-		i = encodeVarintSdk(dAtA, i, uint64(m.Y))
-		i--
-		dAtA[i] = 0x20
-	}
-	if m.X != 0 {
-		i = encodeVarintSdk(dAtA, i, uint64(m.X))
-		i--
-		dAtA[i] = 0x18
+		i += n25
 	}
 	if m.Confidence != 0 {
-		i -= 4
-		encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.Confidence))))
-		i--
 		dAtA[i] = 0x15
+		i++
+		encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.Confidence))))
+		i += 4
 	}
-	if m.RcHuman != nil {
-		{
-			size, err := m.RcHuman.MarshalToSizedBuffer(dAtA[:i])
-			if err != nil {
-				return 0, err
-			}
-			i -= size
-			i = encodeVarintSdk(dAtA, i, uint64(size))
+	if m.X != 0 {
+		dAtA[i] = 0x18
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(m.X))
+	}
+	if m.Y != 0 {
+		dAtA[i] = 0x20
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(m.Y))
+	}
+	if m.Id != 0 {
+		dAtA[i] = 0x28
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(m.Id))
+	}
+	if len(m.Feature) > 0 {
+		dAtA[i] = 0x32
+		i++
+		i = encodeVarintSdk(dAtA, i, uint64(len(m.Feature)*4))
+		for _, num := range m.Feature {
+			f26 := math.Float32bits(float32(num))
+			encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(f26))
+			i += 4
 		}
-		i--
-		dAtA[i] = 0xa
 	}
-	return len(dAtA) - i, nil
+	return i, nil
 }
 
 func (m *HumanTrackResult) Marshal() (dAtA []byte, err error) {
 	size := m.Size()
 	dAtA = make([]byte, size)
-	n, err := m.MarshalToSizedBuffer(dAtA[:size])
+	n, err := m.MarshalTo(dAtA)
 	if err != nil {
 		return nil, err
 	}
@@ -2871,42 +3108,33 @@
 }
 
 func (m *HumanTrackResult) MarshalTo(dAtA []byte) (int, error) {
-	size := m.Size()
-	return m.MarshalToSizedBuffer(dAtA[:size])
-}
-
-func (m *HumanTrackResult) MarshalToSizedBuffer(dAtA []byte) (int, error) {
-	i := len(dAtA)
+	var i int
 	_ = i
 	var l int
 	_ = l
 	if len(m.Result) > 0 {
-		for iNdEx := len(m.Result) - 1; iNdEx >= 0; iNdEx-- {
-			{
-				size, err := m.Result[iNdEx].MarshalToSizedBuffer(dAtA[:i])
-				if err != nil {
-					return 0, err
-				}
-				i -= size
-				i = encodeVarintSdk(dAtA, i, uint64(size))
-			}
-			i--
+		for _, msg := range m.Result {
 			dAtA[i] = 0xa
+			i++
+			i = encodeVarintSdk(dAtA, i, uint64(msg.Size()))
+			n, err := msg.MarshalTo(dAtA[i:])
+			if err != nil {
+				return 0, err
+			}
+			i += n
 		}
 	}
-	return len(dAtA) - i, nil
+	return i, nil
 }
 
 func encodeVarintSdk(dAtA []byte, offset int, v uint64) int {
-	offset -= sovSdk(v)
-	base := offset
 	for v >= 1<<7 {
 		dAtA[offset] = uint8(v&0x7f | 0x80)
 		v >>= 7
 		offset++
 	}
 	dAtA[offset] = uint8(v)
-	return base
+	return offset + 1
 }
 func (m *Image) Size() (n int) {
 	if m == nil {
@@ -2934,6 +3162,95 @@
 	l = len(m.Cid)
 	if l > 0 {
 		n += 1 + l + sovSdk(uint64(l))
+	}
+	l = len(m.Cname)
+	if l > 0 {
+		n += 1 + l + sovSdk(uint64(l))
+	}
+	return n
+}
+
+func (m *Target) Size() (n int) {
+	if m == nil {
+		return 0
+	}
+	var l int
+	_ = l
+	if m.Id != 0 {
+		n += 1 + sovSdk(uint64(m.Id))
+	}
+	l = len(m.Type)
+	if l > 0 {
+		n += 1 + l + sovSdk(uint64(l))
+	}
+	if m.Confidence != 0 {
+		n += 1 + sovSdk(uint64(m.Confidence))
+	}
+	if m.Rect != nil {
+		l = m.Rect.Size()
+		n += 1 + l + sovSdk(uint64(l))
+	}
+	l = len(m.Feature)
+	if l > 0 {
+		n += 1 + l + sovSdk(uint64(l))
+	}
+	l = len(m.Attribute)
+	if l > 0 {
+		n += 1 + l + sovSdk(uint64(l))
+	}
+	return n
+}
+
+func (m *NewSDKMessage) Size() (n int) {
+	if m == nil {
+		return 0
+	}
+	var l int
+	_ = l
+	l = len(m.SdkID)
+	if l > 0 {
+		n += 1 + l + sovSdk(uint64(l))
+	}
+	l = len(m.SdkType)
+	if l > 0 {
+		n += 1 + l + sovSdk(uint64(l))
+	}
+	l = len(m.SdkName)
+	if l > 0 {
+		n += 1 + l + sovSdk(uint64(l))
+	}
+	if len(m.Target) > 0 {
+		for _, e := range m.Target {
+			l = e.Size()
+			n += 1 + l + sovSdk(uint64(l))
+		}
+	}
+	l = len(m.Timestamp)
+	if l > 0 {
+		n += 1 + l + sovSdk(uint64(l))
+	}
+	return n
+}
+
+func (m *NewRuleMessage) Size() (n int) {
+	if m == nil {
+		return 0
+	}
+	var l int
+	_ = l
+	l = len(m.DataType)
+	if l > 0 {
+		n += 1 + l + sovSdk(uint64(l))
+	}
+	l = len(m.HandleTrack)
+	if l > 0 {
+		n += 1 + l + sovSdk(uint64(l))
+	}
+	if len(m.Message) > 0 {
+		for _, e := range m.Message {
+			l = e.Size()
+			n += 1 + l + sovSdk(uint64(l))
+		}
 	}
 	return n
 }
@@ -3460,7 +3777,14 @@
 }
 
 func sovSdk(x uint64) (n int) {
-	return (math_bits.Len64(x|1) + 6) / 7
+	for {
+		n++
+		x >>= 7
+		if x == 0 {
+			break
+		}
+	}
+	return n
 }
 func sozSdk(x uint64) (n int) {
 	return sovSdk(uint64((x << 1) ^ uint64((int64(x) >> 63))))
@@ -3648,6 +3972,631 @@
 				return io.ErrUnexpectedEOF
 			}
 			m.Cid = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 7:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Cname", 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.Cname = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		default:
+			iNdEx = preIndex
+			skippy, err := skipSdk(dAtA[iNdEx:])
+			if err != nil {
+				return err
+			}
+			if skippy < 0 {
+				return ErrInvalidLengthSdk
+			}
+			if (iNdEx + skippy) < 0 {
+				return ErrInvalidLengthSdk
+			}
+			if (iNdEx + skippy) > l {
+				return io.ErrUnexpectedEOF
+			}
+			iNdEx += skippy
+		}
+	}
+
+	if iNdEx > l {
+		return io.ErrUnexpectedEOF
+	}
+	return nil
+}
+func (m *Target) Unmarshal(dAtA []byte) error {
+	l := len(dAtA)
+	iNdEx := 0
+	for iNdEx < l {
+		preIndex := iNdEx
+		var wire uint64
+		for shift := uint(0); ; shift += 7 {
+			if shift >= 64 {
+				return ErrIntOverflowSdk
+			}
+			if iNdEx >= l {
+				return io.ErrUnexpectedEOF
+			}
+			b := dAtA[iNdEx]
+			iNdEx++
+			wire |= uint64(b&0x7F) << shift
+			if b < 0x80 {
+				break
+			}
+		}
+		fieldNum := int32(wire >> 3)
+		wireType := int(wire & 0x7)
+		if wireType == 4 {
+			return fmt.Errorf("proto: Target: wiretype end group for non-group")
+		}
+		if fieldNum <= 0 {
+			return fmt.Errorf("proto: Target: illegal tag %d (wire type %d)", fieldNum, wire)
+		}
+		switch fieldNum {
+		case 1:
+			if wireType != 0 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
+			}
+			m.Id = 0
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowSdk
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				m.Id |= uint64(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+		case 2:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Type", 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.Type = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 3:
+			if wireType != 0 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Confidence", wireType)
+			}
+			m.Confidence = 0
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowSdk
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				m.Confidence |= int32(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+		case 4:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Rect", 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.Rect == nil {
+				m.Rect = &Rect{}
+			}
+			if err := m.Rect.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+				return err
+			}
+			iNdEx = postIndex
+		case 5:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Feature", 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.Feature = append(m.Feature[:0], dAtA[iNdEx:postIndex]...)
+			if m.Feature == nil {
+				m.Feature = []byte{}
+			}
+			iNdEx = postIndex
+		case 6:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Attribute", 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.Attribute = append(m.Attribute[:0], dAtA[iNdEx:postIndex]...)
+			if m.Attribute == nil {
+				m.Attribute = []byte{}
+			}
+			iNdEx = postIndex
+		default:
+			iNdEx = preIndex
+			skippy, err := skipSdk(dAtA[iNdEx:])
+			if err != nil {
+				return err
+			}
+			if skippy < 0 {
+				return ErrInvalidLengthSdk
+			}
+			if (iNdEx + skippy) < 0 {
+				return ErrInvalidLengthSdk
+			}
+			if (iNdEx + skippy) > l {
+				return io.ErrUnexpectedEOF
+			}
+			iNdEx += skippy
+		}
+	}
+
+	if iNdEx > l {
+		return io.ErrUnexpectedEOF
+	}
+	return nil
+}
+func (m *NewSDKMessage) Unmarshal(dAtA []byte) error {
+	l := len(dAtA)
+	iNdEx := 0
+	for iNdEx < l {
+		preIndex := iNdEx
+		var wire uint64
+		for shift := uint(0); ; shift += 7 {
+			if shift >= 64 {
+				return ErrIntOverflowSdk
+			}
+			if iNdEx >= l {
+				return io.ErrUnexpectedEOF
+			}
+			b := dAtA[iNdEx]
+			iNdEx++
+			wire |= uint64(b&0x7F) << shift
+			if b < 0x80 {
+				break
+			}
+		}
+		fieldNum := int32(wire >> 3)
+		wireType := int(wire & 0x7)
+		if wireType == 4 {
+			return fmt.Errorf("proto: NewSDKMessage: wiretype end group for non-group")
+		}
+		if fieldNum <= 0 {
+			return fmt.Errorf("proto: NewSDKMessage: illegal tag %d (wire type %d)", fieldNum, wire)
+		}
+		switch fieldNum {
+		case 1:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field SdkID", 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.SdkID = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 2:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field SdkType", 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.SdkType = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 3:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field SdkName", 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.SdkName = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 4:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Target", 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
+			}
+			m.Target = append(m.Target, &Target{})
+			if err := m.Target[len(m.Target)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+				return err
+			}
+			iNdEx = postIndex
+		case 5:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Timestamp", 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.Timestamp = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		default:
+			iNdEx = preIndex
+			skippy, err := skipSdk(dAtA[iNdEx:])
+			if err != nil {
+				return err
+			}
+			if skippy < 0 {
+				return ErrInvalidLengthSdk
+			}
+			if (iNdEx + skippy) < 0 {
+				return ErrInvalidLengthSdk
+			}
+			if (iNdEx + skippy) > l {
+				return io.ErrUnexpectedEOF
+			}
+			iNdEx += skippy
+		}
+	}
+
+	if iNdEx > l {
+		return io.ErrUnexpectedEOF
+	}
+	return nil
+}
+func (m *NewRuleMessage) Unmarshal(dAtA []byte) error {
+	l := len(dAtA)
+	iNdEx := 0
+	for iNdEx < l {
+		preIndex := iNdEx
+		var wire uint64
+		for shift := uint(0); ; shift += 7 {
+			if shift >= 64 {
+				return ErrIntOverflowSdk
+			}
+			if iNdEx >= l {
+				return io.ErrUnexpectedEOF
+			}
+			b := dAtA[iNdEx]
+			iNdEx++
+			wire |= uint64(b&0x7F) << shift
+			if b < 0x80 {
+				break
+			}
+		}
+		fieldNum := int32(wire >> 3)
+		wireType := int(wire & 0x7)
+		if wireType == 4 {
+			return fmt.Errorf("proto: NewRuleMessage: wiretype end group for non-group")
+		}
+		if fieldNum <= 0 {
+			return fmt.Errorf("proto: NewRuleMessage: illegal tag %d (wire type %d)", fieldNum, wire)
+		}
+		switch fieldNum {
+		case 1:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field DataType", 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.DataType = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 2:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field HandleTrack", 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.HandleTrack = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 3:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Message", 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
+			}
+			m.Message = append(m.Message, &NewSDKMessage{})
+			if err := m.Message[len(m.Message)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+				return err
+			}
 			iNdEx = postIndex
 		default:
 			iNdEx = preIndex
@@ -7309,7 +8258,6 @@
 func skipSdk(dAtA []byte) (n int, err error) {
 	l := len(dAtA)
 	iNdEx := 0
-	depth := 0
 	for iNdEx < l {
 		var wire uint64
 		for shift := uint(0); ; shift += 7 {
@@ -7341,8 +8289,10 @@
 					break
 				}
 			}
+			return iNdEx, nil
 		case 1:
 			iNdEx += 8
+			return iNdEx, nil
 		case 2:
 			var length int
 			for shift := uint(0); ; shift += 7 {
@@ -7363,30 +8313,55 @@
 				return 0, ErrInvalidLengthSdk
 			}
 			iNdEx += length
-		case 3:
-			depth++
-		case 4:
-			if depth == 0 {
-				return 0, ErrUnexpectedEndOfGroupSdk
+			if iNdEx < 0 {
+				return 0, ErrInvalidLengthSdk
 			}
-			depth--
+			return iNdEx, nil
+		case 3:
+			for {
+				var innerWire uint64
+				var start int = iNdEx
+				for shift := uint(0); ; shift += 7 {
+					if shift >= 64 {
+						return 0, ErrIntOverflowSdk
+					}
+					if iNdEx >= l {
+						return 0, io.ErrUnexpectedEOF
+					}
+					b := dAtA[iNdEx]
+					iNdEx++
+					innerWire |= (uint64(b) & 0x7F) << shift
+					if b < 0x80 {
+						break
+					}
+				}
+				innerWireType := int(innerWire & 0x7)
+				if innerWireType == 4 {
+					break
+				}
+				next, err := skipSdk(dAtA[start:])
+				if err != nil {
+					return 0, err
+				}
+				iNdEx = start + next
+				if iNdEx < 0 {
+					return 0, ErrInvalidLengthSdk
+				}
+			}
+			return iNdEx, nil
+		case 4:
+			return iNdEx, nil
 		case 5:
 			iNdEx += 4
+			return iNdEx, nil
 		default:
 			return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
 		}
-		if iNdEx < 0 {
-			return 0, ErrInvalidLengthSdk
-		}
-		if depth == 0 {
-			return iNdEx, nil
-		}
 	}
-	return 0, io.ErrUnexpectedEOF
+	panic("unreachable")
 }
 
 var (
-	ErrInvalidLengthSdk        = fmt.Errorf("proto: negative length found during unmarshaling")
-	ErrIntOverflowSdk          = fmt.Errorf("proto: integer overflow")
-	ErrUnexpectedEndOfGroupSdk = fmt.Errorf("proto: unexpected end of group")
+	ErrInvalidLengthSdk = fmt.Errorf("proto: negative length found during unmarshaling")
+	ErrIntOverflowSdk   = fmt.Errorf("proto: integer overflow")
 )

--
Gitblit v1.8.0