From dc8ca60fc53199251100883b4370de52a6534463 Mon Sep 17 00:00:00 2001
From: panlei <2799247126@qq.com>
Date: 星期四, 22 八月 2019 14:01:53 +0800
Subject: [PATCH] soinfo id change to string
---
es.pb.go | 1895 +++++++++++++++++++++++++++++++++++++++++++++++++++-------
1 files changed, 1,653 insertions(+), 242 deletions(-)
diff --git a/es.pb.go b/es.pb.go
index caf4f07..f03cf49 100644
--- a/es.pb.go
+++ b/es.pb.go
@@ -6,9 +6,10 @@
import (
encoding_binary "encoding/binary"
fmt "fmt"
- proto "github.com/golang/protobuf/proto"
+ 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.
@@ -20,38 +21,28 @@
// 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.ProtoPackageIsVersion2 // please upgrade the proto package
+const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
-type Baseinfo struct {
- FaceFeature string `protobuf:"bytes,1,opt,name=faceFeature,proto3" json:"faceFeature,omitempty"`
- PersonId string `protobuf:"bytes,2,opt,name=personId,proto3" json:"personId,omitempty"`
- TableId string `protobuf:"bytes,3,opt,name=tableId,proto3" json:"tableId,omitempty"`
- TableName string `protobuf:"bytes,4,opt,name=tableName,proto3" json:"tableName,omitempty"`
- CompareScore float32 `protobuf:"fixed32,5,opt,name=compareScore,proto3" json:"compareScore,omitempty"`
- PersonName string `protobuf:"bytes,6,opt,name=personName,proto3" json:"personName,omitempty"`
- PersonPicUrl string `protobuf:"bytes,7,opt,name=personPicUrl,proto3" json:"personPicUrl,omitempty"`
- PhoneNum string `protobuf:"bytes,8,opt,name=phoneNum,proto3" json:"phoneNum,omitempty"`
- Sex string `protobuf:"bytes,9,opt,name=sex,proto3" json:"sex,omitempty"`
- Idcard string `protobuf:"bytes,10,opt,name=idcard,proto3" json:"idcard,omitempty"`
- MonitorLevel string `protobuf:"bytes,11,opt,name=monitorLevel,proto3" json:"monitorLevel,omitempty"`
- Content string `protobuf:"bytes,12,opt,name=content,proto3" json:"content,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
+type Esinfo struct {
+ Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
+ Tableid string `protobuf:"bytes,2,opt,name=tableid,proto3" json:"tableid,omitempty"`
+ FaceFeature string `protobuf:"bytes,3,opt,name=faceFeature,proto3" json:"faceFeature,omitempty"`
+ CompareScore float32 `protobuf:"fixed32,4,opt,name=compareScore,proto3" json:"compareScore,omitempty"`
+ Enable int32 `protobuf:"varint,5,opt,name=enable,proto3" json:"enable,omitempty"`
}
-func (m *Baseinfo) Reset() { *m = Baseinfo{} }
-func (m *Baseinfo) String() string { return proto.CompactTextString(m) }
-func (*Baseinfo) ProtoMessage() {}
-func (*Baseinfo) Descriptor() ([]byte, []int) {
+func (m *Esinfo) Reset() { *m = Esinfo{} }
+func (m *Esinfo) String() string { return proto.CompactTextString(m) }
+func (*Esinfo) ProtoMessage() {}
+func (*Esinfo) Descriptor() ([]byte, []int) {
return fileDescriptor_718db5c20d0f3738, []int{0}
}
-func (m *Baseinfo) XXX_Unmarshal(b []byte) error {
+func (m *Esinfo) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
-func (m *Baseinfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+func (m *Esinfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
- return xxx_messageInfo_Baseinfo.Marshal(b, m, deterministic)
+ return xxx_messageInfo_Esinfo.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalTo(b)
@@ -61,131 +52,426 @@
return b[:n], nil
}
}
-func (m *Baseinfo) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Baseinfo.Merge(m, src)
+func (m *Esinfo) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_Esinfo.Merge(m, src)
}
-func (m *Baseinfo) XXX_Size() int {
+func (m *Esinfo) XXX_Size() int {
return m.Size()
}
-func (m *Baseinfo) XXX_DiscardUnknown() {
- xxx_messageInfo_Baseinfo.DiscardUnknown(m)
+func (m *Esinfo) XXX_DiscardUnknown() {
+ xxx_messageInfo_Esinfo.DiscardUnknown(m)
}
-var xxx_messageInfo_Baseinfo proto.InternalMessageInfo
+var xxx_messageInfo_Esinfo proto.InternalMessageInfo
-func (m *Baseinfo) GetFaceFeature() string {
+func (m *Esinfo) GetId() string {
+ if m != nil {
+ return m.Id
+ }
+ return ""
+}
+
+func (m *Esinfo) GetTableid() string {
+ if m != nil {
+ return m.Tableid
+ }
+ return ""
+}
+
+func (m *Esinfo) GetFaceFeature() string {
if m != nil {
return m.FaceFeature
}
return ""
}
-func (m *Baseinfo) GetPersonId() string {
- if m != nil {
- return m.PersonId
- }
- return ""
-}
-
-func (m *Baseinfo) GetTableId() string {
- if m != nil {
- return m.TableId
- }
- return ""
-}
-
-func (m *Baseinfo) GetTableName() string {
- if m != nil {
- return m.TableName
- }
- return ""
-}
-
-func (m *Baseinfo) GetCompareScore() float32 {
+func (m *Esinfo) GetCompareScore() float32 {
if m != nil {
return m.CompareScore
}
return 0
}
-func (m *Baseinfo) GetPersonName() string {
+func (m *Esinfo) GetEnable() int32 {
if m != nil {
- return m.PersonName
+ return m.Enable
+ }
+ return 0
+}
+
+type Dbperson struct {
+ Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
+ TableId string `protobuf:"bytes,2,opt,name=tableId,proto3" json:"tableId,omitempty"`
+ FaceFeature string `protobuf:"bytes,3,opt,name=faceFeature,proto3" json:"faceFeature,omitempty"`
+ PersonPicUrl string `protobuf:"bytes,4,opt,name=personPicUrl,proto3" json:"personPicUrl,omitempty"`
+ PersonName string `protobuf:"bytes,5,opt,name=personName,proto3" json:"personName,omitempty"`
+ Age string `protobuf:"bytes,6,opt,name=age,proto3" json:"age,omitempty"`
+ Sex string `protobuf:"bytes,7,opt,name=sex,proto3" json:"sex,omitempty"`
+ IdCard string `protobuf:"bytes,8,opt,name=idCard,proto3" json:"idCard,omitempty"`
+ PicDesc string `protobuf:"bytes,9,opt,name=picDesc,proto3" json:"picDesc,omitempty"`
+ PhoneNum string `protobuf:"bytes,10,opt,name=phoneNum,proto3" json:"phoneNum,omitempty"`
+ CreateTime string `protobuf:"bytes,11,opt,name=createTime,proto3" json:"createTime,omitempty"`
+ UpdateTime string `protobuf:"bytes,12,opt,name=updateTime,proto3" json:"updateTime,omitempty"`
+ CreateBy string `protobuf:"bytes,13,opt,name=createBy,proto3" json:"createBy,omitempty"`
+ IsDelete int32 `protobuf:"varint,14,opt,name=isDelete,proto3" json:"isDelete,omitempty"`
+ MonitorLevel string `protobuf:"bytes,15,opt,name=monitorLevel,proto3" json:"monitorLevel,omitempty"`
+ Enable int32 `protobuf:"varint,16,opt,name=enable,proto3" json:"enable,omitempty"`
+ Reserved string `protobuf:"bytes,17,opt,name=reserved,proto3" json:"reserved,omitempty"`
+}
+
+func (m *Dbperson) Reset() { *m = Dbperson{} }
+func (m *Dbperson) String() string { return proto.CompactTextString(m) }
+func (*Dbperson) ProtoMessage() {}
+func (*Dbperson) Descriptor() ([]byte, []int) {
+ return fileDescriptor_718db5c20d0f3738, []int{1}
+}
+func (m *Dbperson) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *Dbperson) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_Dbperson.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 *Dbperson) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_Dbperson.Merge(m, src)
+}
+func (m *Dbperson) XXX_Size() int {
+ return m.Size()
+}
+func (m *Dbperson) XXX_DiscardUnknown() {
+ xxx_messageInfo_Dbperson.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_Dbperson proto.InternalMessageInfo
+
+func (m *Dbperson) GetId() string {
+ if m != nil {
+ return m.Id
}
return ""
}
-func (m *Baseinfo) GetPersonPicUrl() string {
+func (m *Dbperson) GetTableId() string {
+ if m != nil {
+ return m.TableId
+ }
+ return ""
+}
+
+func (m *Dbperson) GetFaceFeature() string {
+ if m != nil {
+ return m.FaceFeature
+ }
+ return ""
+}
+
+func (m *Dbperson) GetPersonPicUrl() string {
if m != nil {
return m.PersonPicUrl
}
return ""
}
-func (m *Baseinfo) GetPhoneNum() string {
+func (m *Dbperson) GetPersonName() string {
if m != nil {
- return m.PhoneNum
+ return m.PersonName
}
return ""
}
-func (m *Baseinfo) GetSex() string {
+func (m *Dbperson) GetAge() string {
+ if m != nil {
+ return m.Age
+ }
+ return ""
+}
+
+func (m *Dbperson) GetSex() string {
if m != nil {
return m.Sex
}
return ""
}
-func (m *Baseinfo) GetIdcard() string {
+func (m *Dbperson) GetIdCard() string {
if m != nil {
- return m.Idcard
+ return m.IdCard
}
return ""
}
-func (m *Baseinfo) GetMonitorLevel() string {
+func (m *Dbperson) GetPicDesc() string {
+ if m != nil {
+ return m.PicDesc
+ }
+ return ""
+}
+
+func (m *Dbperson) GetPhoneNum() string {
+ if m != nil {
+ return m.PhoneNum
+ }
+ return ""
+}
+
+func (m *Dbperson) GetCreateTime() string {
+ if m != nil {
+ return m.CreateTime
+ }
+ return ""
+}
+
+func (m *Dbperson) GetUpdateTime() string {
+ if m != nil {
+ return m.UpdateTime
+ }
+ return ""
+}
+
+func (m *Dbperson) GetCreateBy() string {
+ if m != nil {
+ return m.CreateBy
+ }
+ return ""
+}
+
+func (m *Dbperson) GetIsDelete() int32 {
+ if m != nil {
+ return m.IsDelete
+ }
+ return 0
+}
+
+func (m *Dbperson) GetMonitorLevel() string {
if m != nil {
return m.MonitorLevel
}
return ""
}
-func (m *Baseinfo) GetContent() string {
+func (m *Dbperson) GetEnable() int32 {
if m != nil {
- return m.Content
+ return m.Enable
+ }
+ return 0
+}
+
+func (m *Dbperson) GetReserved() string {
+ if m != nil {
+ return m.Reserved
+ }
+ return ""
+}
+
+type Dbtable struct {
+ Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
+ TableName string `protobuf:"bytes,2,opt,name=tableName,proto3" json:"tableName,omitempty"`
+ TableDesc string `protobuf:"bytes,3,opt,name=tableDesc,proto3" json:"tableDesc,omitempty"`
+ TableType string `protobuf:"bytes,4,opt,name=tableType,proto3" json:"tableType,omitempty"`
+ BwType string `protobuf:"bytes,5,opt,name=bwType,proto3" json:"bwType,omitempty"`
+ StartTime string `protobuf:"bytes,6,opt,name=startTime,proto3" json:"startTime,omitempty"`
+ EndTime string `protobuf:"bytes,7,opt,name=endTime,proto3" json:"endTime,omitempty"`
+ CreateTime string `protobuf:"bytes,8,opt,name=createTime,proto3" json:"createTime,omitempty"`
+ UpdateTime string `protobuf:"bytes,9,opt,name=updateTime,proto3" json:"updateTime,omitempty"`
+ CreateBy string `protobuf:"bytes,10,opt,name=createBy,proto3" json:"createBy,omitempty"`
+ IsDelete int32 `protobuf:"varint,11,opt,name=isDelete,proto3" json:"isDelete,omitempty"`
+ IsForever string `protobuf:"bytes,12,opt,name=isForever,proto3" json:"isForever,omitempty"`
+ Enable int32 `protobuf:"varint,13,opt,name=enable,proto3" json:"enable,omitempty"`
+ IsSync string `protobuf:"bytes,14,opt,name=isSync,proto3" json:"isSync,omitempty"`
+ AnalyServerId string `protobuf:"bytes,15,opt,name=analyServerId,proto3" json:"analyServerId,omitempty"`
+}
+
+func (m *Dbtable) Reset() { *m = Dbtable{} }
+func (m *Dbtable) String() string { return proto.CompactTextString(m) }
+func (*Dbtable) ProtoMessage() {}
+func (*Dbtable) Descriptor() ([]byte, []int) {
+ return fileDescriptor_718db5c20d0f3738, []int{2}
+}
+func (m *Dbtable) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *Dbtable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_Dbtable.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 *Dbtable) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_Dbtable.Merge(m, src)
+}
+func (m *Dbtable) XXX_Size() int {
+ return m.Size()
+}
+func (m *Dbtable) XXX_DiscardUnknown() {
+ xxx_messageInfo_Dbtable.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_Dbtable proto.InternalMessageInfo
+
+func (m *Dbtable) GetId() string {
+ if m != nil {
+ return m.Id
+ }
+ return ""
+}
+
+func (m *Dbtable) GetTableName() string {
+ if m != nil {
+ return m.TableName
+ }
+ return ""
+}
+
+func (m *Dbtable) GetTableDesc() string {
+ if m != nil {
+ return m.TableDesc
+ }
+ return ""
+}
+
+func (m *Dbtable) GetTableType() string {
+ if m != nil {
+ return m.TableType
+ }
+ return ""
+}
+
+func (m *Dbtable) GetBwType() string {
+ if m != nil {
+ return m.BwType
+ }
+ return ""
+}
+
+func (m *Dbtable) GetStartTime() string {
+ if m != nil {
+ return m.StartTime
+ }
+ return ""
+}
+
+func (m *Dbtable) GetEndTime() string {
+ if m != nil {
+ return m.EndTime
+ }
+ return ""
+}
+
+func (m *Dbtable) GetCreateTime() string {
+ if m != nil {
+ return m.CreateTime
+ }
+ return ""
+}
+
+func (m *Dbtable) GetUpdateTime() string {
+ if m != nil {
+ return m.UpdateTime
+ }
+ return ""
+}
+
+func (m *Dbtable) GetCreateBy() string {
+ if m != nil {
+ return m.CreateBy
+ }
+ return ""
+}
+
+func (m *Dbtable) GetIsDelete() int32 {
+ if m != nil {
+ return m.IsDelete
+ }
+ return 0
+}
+
+func (m *Dbtable) GetIsForever() string {
+ if m != nil {
+ return m.IsForever
+ }
+ return ""
+}
+
+func (m *Dbtable) GetEnable() int32 {
+ if m != nil {
+ return m.Enable
+ }
+ return 0
+}
+
+func (m *Dbtable) GetIsSync() string {
+ if m != nil {
+ return m.IsSync
+ }
+ return ""
+}
+
+func (m *Dbtable) GetAnalyServerId() string {
+ if m != nil {
+ return m.AnalyServerId
}
return ""
}
func init() {
- proto.RegisterType((*Baseinfo)(nil), "protomsg.Baseinfo")
+ proto.RegisterType((*Esinfo)(nil), "protomsg.Esinfo")
+ proto.RegisterType((*Dbperson)(nil), "protomsg.Dbperson")
+ proto.RegisterType((*Dbtable)(nil), "protomsg.Dbtable")
}
func init() { proto.RegisterFile("es.proto", fileDescriptor_718db5c20d0f3738) }
var fileDescriptor_718db5c20d0f3738 = []byte{
- // 276 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x91, 0xc1, 0x4a, 0xf3, 0x40,
- 0x10, 0xc7, 0xbf, 0x4d, 0x3f, 0xd3, 0x64, 0xda, 0x43, 0xd9, 0x83, 0x0c, 0x22, 0x21, 0xf4, 0xd4,
- 0x93, 0x17, 0xdf, 0xa0, 0x07, 0xa1, 0x20, 0x45, 0x2a, 0x3e, 0xc0, 0x76, 0x33, 0xd5, 0x40, 0xb2,
- 0x1b, 0x76, 0xb7, 0xe2, 0xa3, 0xf8, 0x48, 0x1e, 0x7d, 0x04, 0x89, 0x57, 0x1f, 0x42, 0x32, 0x89,
- 0x9a, 0x9e, 0x32, 0xbf, 0xdf, 0x84, 0xf9, 0x0f, 0xb3, 0x90, 0x90, 0xbf, 0x6a, 0x9c, 0x0d, 0x56,
- 0x26, 0xfc, 0xa9, 0xfd, 0xe3, 0xf2, 0x2b, 0x82, 0x64, 0xad, 0x3c, 0x95, 0xe6, 0x60, 0x65, 0x0e,
- 0xb3, 0x83, 0xd2, 0x74, 0x43, 0x2a, 0x1c, 0x1d, 0xa1, 0xc8, 0xc5, 0x2a, 0xdd, 0x8d, 0x95, 0xbc,
- 0x80, 0xa4, 0x21, 0xe7, 0xad, 0xd9, 0x14, 0x18, 0x71, 0xfb, 0x97, 0x25, 0xc2, 0x34, 0xa8, 0x7d,
- 0x45, 0x9b, 0x02, 0x27, 0xdc, 0xfa, 0x41, 0x79, 0x09, 0x29, 0x97, 0x5b, 0x55, 0x13, 0xfe, 0xe7,
- 0xde, 0x9f, 0x90, 0x4b, 0x98, 0x6b, 0x5b, 0x37, 0xca, 0xd1, 0xbd, 0xb6, 0x8e, 0xf0, 0x2c, 0x17,
- 0xab, 0x68, 0x77, 0xe2, 0x64, 0x06, 0xd0, 0xe7, 0xf0, 0x88, 0x98, 0x47, 0x8c, 0x4c, 0x37, 0xa3,
- 0xa7, 0xbb, 0x52, 0x3f, 0xb8, 0x0a, 0xa7, 0xfc, 0xc7, 0x89, 0xe3, 0xdd, 0x9f, 0xac, 0xa1, 0xed,
- 0xb1, 0xc6, 0x64, 0xd8, 0x7d, 0x60, 0xb9, 0x80, 0x89, 0xa7, 0x17, 0x4c, 0x59, 0x77, 0xa5, 0x3c,
- 0x87, 0xb8, 0x2c, 0xb4, 0x72, 0x05, 0x02, 0xcb, 0x81, 0xba, 0xa4, 0xda, 0x9a, 0x32, 0x58, 0x77,
- 0x4b, 0xcf, 0x54, 0xe1, 0xac, 0x4f, 0x1a, 0xbb, 0xee, 0x12, 0xda, 0x9a, 0x40, 0x26, 0xe0, 0xbc,
- 0xbf, 0xc4, 0x80, 0xeb, 0xc5, 0x5b, 0x9b, 0x89, 0xf7, 0x36, 0x13, 0x1f, 0x6d, 0x26, 0x5e, 0x3f,
- 0xb3, 0x7f, 0xfb, 0x98, 0x9f, 0xe2, 0xfa, 0x3b, 0x00, 0x00, 0xff, 0xff, 0xbc, 0x67, 0xdb, 0x72,
- 0x9d, 0x01, 0x00, 0x00,
+ // 506 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x94, 0xc1, 0x6e, 0xd3, 0x4c,
+ 0x14, 0x85, 0xe3, 0xf8, 0x6f, 0x62, 0x4f, 0x9a, 0xfe, 0x65, 0x16, 0x68, 0x84, 0x2a, 0x2b, 0x8a,
+ 0x58, 0x64, 0xc5, 0x86, 0x37, 0x28, 0xa1, 0x52, 0x24, 0x54, 0x21, 0xa7, 0x3c, 0xc0, 0xd8, 0x73,
+ 0x5b, 0x46, 0xb2, 0x3d, 0xd6, 0x8c, 0x13, 0x9a, 0xb7, 0xe8, 0x9b, 0xf0, 0x1a, 0x2c, 0xbb, 0x64,
+ 0xc1, 0x02, 0x25, 0x2f, 0x82, 0xe6, 0x8e, 0x1d, 0xdb, 0x45, 0x14, 0x56, 0xc9, 0x39, 0xc7, 0xbe,
+ 0x3e, 0xbe, 0xdf, 0xc8, 0x24, 0x00, 0xf3, 0xa6, 0xd4, 0xaa, 0x52, 0x34, 0xc0, 0x9f, 0xdc, 0xdc,
+ 0xcd, 0x1f, 0x3c, 0x32, 0x7a, 0x6f, 0x64, 0x71, 0xab, 0xe8, 0x19, 0x19, 0x4a, 0xc1, 0xbc, 0x99,
+ 0xb7, 0x08, 0xe3, 0xa1, 0x14, 0x94, 0x91, 0x71, 0xc5, 0x93, 0x0c, 0xa4, 0x60, 0x43, 0x34, 0x1b,
+ 0x49, 0x67, 0x64, 0x72, 0xcb, 0x53, 0xb8, 0x02, 0x5e, 0x6d, 0x34, 0x30, 0x1f, 0xd3, 0xae, 0x45,
+ 0xe7, 0xe4, 0x34, 0x55, 0x79, 0xc9, 0x35, 0xac, 0x53, 0xa5, 0x81, 0xfd, 0x37, 0xf3, 0x16, 0xc3,
+ 0xb8, 0xe7, 0xd1, 0x97, 0x64, 0x04, 0x85, 0x9d, 0xc8, 0x4e, 0x66, 0xde, 0xe2, 0x24, 0xae, 0xd5,
+ 0xfc, 0x87, 0x4f, 0x82, 0x65, 0x52, 0x82, 0x36, 0xaa, 0xf8, 0x63, 0xa9, 0x55, 0xbf, 0xd4, 0xea,
+ 0x1f, 0x4b, 0xb9, 0xa9, 0x1f, 0x65, 0xfa, 0x49, 0x67, 0x58, 0x2a, 0x8c, 0x7b, 0x1e, 0x8d, 0x08,
+ 0x71, 0xfa, 0x9a, 0xe7, 0xae, 0x58, 0x18, 0x77, 0x1c, 0x7a, 0x4e, 0x7c, 0x7e, 0x07, 0x6c, 0x84,
+ 0x81, 0xfd, 0x6b, 0x1d, 0x03, 0xf7, 0x6c, 0xec, 0x1c, 0x03, 0xf7, 0xf6, 0xc5, 0xa4, 0x78, 0xc7,
+ 0xb5, 0x60, 0x01, 0x9a, 0xb5, 0xb2, 0xdd, 0x4b, 0x99, 0x2e, 0xc1, 0xa4, 0x2c, 0x74, 0xdd, 0x6b,
+ 0x49, 0x5f, 0x91, 0xa0, 0xfc, 0xac, 0x0a, 0xb8, 0xde, 0xe4, 0x8c, 0x60, 0x74, 0xd4, 0xb6, 0x51,
+ 0xaa, 0x81, 0x57, 0x70, 0x23, 0x73, 0x60, 0x13, 0xd7, 0xa8, 0x75, 0x6c, 0xbe, 0x29, 0x45, 0x93,
+ 0x9f, 0xba, 0xbc, 0x75, 0xec, 0x6c, 0x77, 0xf5, 0xe5, 0x8e, 0x4d, 0xdd, 0xec, 0x46, 0xdb, 0x4c,
+ 0x9a, 0x25, 0x64, 0x50, 0x01, 0x3b, 0x43, 0x08, 0x47, 0x6d, 0xb7, 0x95, 0xab, 0x42, 0x56, 0x4a,
+ 0x7f, 0x80, 0x2d, 0x64, 0xec, 0x7f, 0xb7, 0xad, 0xae, 0xd7, 0x41, 0x78, 0xde, 0x45, 0x68, 0xe7,
+ 0x6a, 0x30, 0xa0, 0xb7, 0x20, 0xd8, 0x0b, 0xf7, 0xcc, 0x46, 0xcf, 0xbf, 0xfa, 0x64, 0xbc, 0x4c,
+ 0x90, 0xda, 0x6f, 0x74, 0x2f, 0x48, 0x88, 0x01, 0x2e, 0xdf, 0xf1, 0x6d, 0x8d, 0x63, 0x8a, 0x1b,
+ 0xf4, 0x3b, 0x29, 0xee, 0xb0, 0x49, 0x6f, 0x76, 0x25, 0xd4, 0x68, 0x5b, 0xc3, 0x36, 0x4d, 0xbe,
+ 0x60, 0xe4, 0x98, 0xd6, 0xca, 0xde, 0x65, 0x2a, 0xae, 0x2b, 0x5c, 0x9e, 0xa3, 0xda, 0x1a, 0x96,
+ 0x18, 0x14, 0x02, 0x33, 0xc7, 0xb7, 0x91, 0x4f, 0xa8, 0x04, 0x7f, 0xa1, 0x12, 0x3e, 0x4b, 0x85,
+ 0x3c, 0x43, 0x65, 0xf2, 0x84, 0xca, 0x05, 0x09, 0xa5, 0xb9, 0x52, 0x1a, 0xb6, 0xa0, 0x6b, 0xd8,
+ 0xad, 0xd1, 0xe1, 0x31, 0xed, 0xf1, 0xb0, 0x27, 0xd2, 0xac, 0x77, 0x45, 0x8a, 0x94, 0xed, 0x89,
+ 0x44, 0x45, 0x5f, 0x93, 0x29, 0x2f, 0x78, 0xb6, 0x5b, 0x5b, 0x34, 0x7a, 0x25, 0x6a, 0xc8, 0x7d,
+ 0xf3, 0x92, 0x7d, 0xdb, 0x47, 0xde, 0xe3, 0x3e, 0xf2, 0x7e, 0xee, 0x23, 0xef, 0xe1, 0x10, 0x0d,
+ 0x1e, 0x0f, 0xd1, 0xe0, 0xfb, 0x21, 0x1a, 0x24, 0x23, 0xfc, 0x8e, 0xbc, 0xfd, 0x15, 0x00, 0x00,
+ 0xff, 0xff, 0x71, 0xe3, 0x2f, 0x00, 0x5a, 0x04, 0x00, 0x00,
}
-func (m *Baseinfo) Marshal() (dAtA []byte, err error) {
+func (m *Esinfo) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalTo(dAtA)
@@ -195,85 +481,267 @@
return dAtA[:n], nil
}
-func (m *Baseinfo) MarshalTo(dAtA []byte) (int, error) {
+func (m *Esinfo) MarshalTo(dAtA []byte) (int, error) {
var i int
_ = i
var l int
_ = l
- if len(m.FaceFeature) > 0 {
+ if len(m.Id) > 0 {
dAtA[i] = 0xa
+ i++
+ i = encodeVarintEs(dAtA, i, uint64(len(m.Id)))
+ i += copy(dAtA[i:], m.Id)
+ }
+ if len(m.Tableid) > 0 {
+ dAtA[i] = 0x12
+ i++
+ i = encodeVarintEs(dAtA, i, uint64(len(m.Tableid)))
+ i += copy(dAtA[i:], m.Tableid)
+ }
+ if len(m.FaceFeature) > 0 {
+ dAtA[i] = 0x1a
i++
i = encodeVarintEs(dAtA, i, uint64(len(m.FaceFeature)))
i += copy(dAtA[i:], m.FaceFeature)
}
- if len(m.PersonId) > 0 {
- dAtA[i] = 0x12
- i++
- i = encodeVarintEs(dAtA, i, uint64(len(m.PersonId)))
- i += copy(dAtA[i:], m.PersonId)
- }
- if len(m.TableId) > 0 {
- dAtA[i] = 0x1a
- i++
- i = encodeVarintEs(dAtA, i, uint64(len(m.TableId)))
- i += copy(dAtA[i:], m.TableId)
- }
- if len(m.TableName) > 0 {
- dAtA[i] = 0x22
- i++
- i = encodeVarintEs(dAtA, i, uint64(len(m.TableName)))
- i += copy(dAtA[i:], m.TableName)
- }
if m.CompareScore != 0 {
- dAtA[i] = 0x2d
+ dAtA[i] = 0x25
i++
encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.CompareScore))))
i += 4
}
- if len(m.PersonName) > 0 {
- dAtA[i] = 0x32
+ if m.Enable != 0 {
+ dAtA[i] = 0x28
i++
- i = encodeVarintEs(dAtA, i, uint64(len(m.PersonName)))
- i += copy(dAtA[i:], m.PersonName)
+ i = encodeVarintEs(dAtA, i, uint64(m.Enable))
+ }
+ return i, nil
+}
+
+func (m *Dbperson) 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 *Dbperson) MarshalTo(dAtA []byte) (int, error) {
+ var i int
+ _ = i
+ var l int
+ _ = l
+ if len(m.Id) > 0 {
+ dAtA[i] = 0xa
+ i++
+ i = encodeVarintEs(dAtA, i, uint64(len(m.Id)))
+ i += copy(dAtA[i:], m.Id)
+ }
+ if len(m.TableId) > 0 {
+ dAtA[i] = 0x12
+ i++
+ i = encodeVarintEs(dAtA, i, uint64(len(m.TableId)))
+ i += copy(dAtA[i:], m.TableId)
+ }
+ if len(m.FaceFeature) > 0 {
+ dAtA[i] = 0x1a
+ i++
+ i = encodeVarintEs(dAtA, i, uint64(len(m.FaceFeature)))
+ i += copy(dAtA[i:], m.FaceFeature)
}
if len(m.PersonPicUrl) > 0 {
- dAtA[i] = 0x3a
+ dAtA[i] = 0x22
i++
i = encodeVarintEs(dAtA, i, uint64(len(m.PersonPicUrl)))
i += copy(dAtA[i:], m.PersonPicUrl)
}
- if len(m.PhoneNum) > 0 {
- dAtA[i] = 0x42
+ if len(m.PersonName) > 0 {
+ dAtA[i] = 0x2a
i++
- i = encodeVarintEs(dAtA, i, uint64(len(m.PhoneNum)))
- i += copy(dAtA[i:], m.PhoneNum)
+ i = encodeVarintEs(dAtA, i, uint64(len(m.PersonName)))
+ i += copy(dAtA[i:], m.PersonName)
+ }
+ if len(m.Age) > 0 {
+ dAtA[i] = 0x32
+ i++
+ i = encodeVarintEs(dAtA, i, uint64(len(m.Age)))
+ i += copy(dAtA[i:], m.Age)
}
if len(m.Sex) > 0 {
- dAtA[i] = 0x4a
+ dAtA[i] = 0x3a
i++
i = encodeVarintEs(dAtA, i, uint64(len(m.Sex)))
i += copy(dAtA[i:], m.Sex)
}
- if len(m.Idcard) > 0 {
+ if len(m.IdCard) > 0 {
+ dAtA[i] = 0x42
+ i++
+ i = encodeVarintEs(dAtA, i, uint64(len(m.IdCard)))
+ i += copy(dAtA[i:], m.IdCard)
+ }
+ if len(m.PicDesc) > 0 {
+ dAtA[i] = 0x4a
+ i++
+ i = encodeVarintEs(dAtA, i, uint64(len(m.PicDesc)))
+ i += copy(dAtA[i:], m.PicDesc)
+ }
+ if len(m.PhoneNum) > 0 {
dAtA[i] = 0x52
i++
- i = encodeVarintEs(dAtA, i, uint64(len(m.Idcard)))
- i += copy(dAtA[i:], m.Idcard)
+ i = encodeVarintEs(dAtA, i, uint64(len(m.PhoneNum)))
+ i += copy(dAtA[i:], m.PhoneNum)
+ }
+ if len(m.CreateTime) > 0 {
+ dAtA[i] = 0x5a
+ i++
+ i = encodeVarintEs(dAtA, i, uint64(len(m.CreateTime)))
+ i += copy(dAtA[i:], m.CreateTime)
+ }
+ if len(m.UpdateTime) > 0 {
+ dAtA[i] = 0x62
+ i++
+ i = encodeVarintEs(dAtA, i, uint64(len(m.UpdateTime)))
+ i += copy(dAtA[i:], m.UpdateTime)
+ }
+ if len(m.CreateBy) > 0 {
+ dAtA[i] = 0x6a
+ i++
+ i = encodeVarintEs(dAtA, i, uint64(len(m.CreateBy)))
+ i += copy(dAtA[i:], m.CreateBy)
+ }
+ if m.IsDelete != 0 {
+ dAtA[i] = 0x70
+ i++
+ i = encodeVarintEs(dAtA, i, uint64(m.IsDelete))
}
if len(m.MonitorLevel) > 0 {
- dAtA[i] = 0x5a
+ dAtA[i] = 0x7a
i++
i = encodeVarintEs(dAtA, i, uint64(len(m.MonitorLevel)))
i += copy(dAtA[i:], m.MonitorLevel)
}
- if len(m.Content) > 0 {
+ if m.Enable != 0 {
+ dAtA[i] = 0x80
+ i++
+ dAtA[i] = 0x1
+ i++
+ i = encodeVarintEs(dAtA, i, uint64(m.Enable))
+ }
+ if len(m.Reserved) > 0 {
+ dAtA[i] = 0x8a
+ i++
+ dAtA[i] = 0x1
+ i++
+ i = encodeVarintEs(dAtA, i, uint64(len(m.Reserved)))
+ i += copy(dAtA[i:], m.Reserved)
+ }
+ return i, nil
+}
+
+func (m *Dbtable) 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 *Dbtable) MarshalTo(dAtA []byte) (int, error) {
+ var i int
+ _ = i
+ var l int
+ _ = l
+ if len(m.Id) > 0 {
+ dAtA[i] = 0xa
+ i++
+ i = encodeVarintEs(dAtA, i, uint64(len(m.Id)))
+ i += copy(dAtA[i:], m.Id)
+ }
+ if len(m.TableName) > 0 {
+ dAtA[i] = 0x12
+ i++
+ i = encodeVarintEs(dAtA, i, uint64(len(m.TableName)))
+ i += copy(dAtA[i:], m.TableName)
+ }
+ if len(m.TableDesc) > 0 {
+ dAtA[i] = 0x1a
+ i++
+ i = encodeVarintEs(dAtA, i, uint64(len(m.TableDesc)))
+ i += copy(dAtA[i:], m.TableDesc)
+ }
+ if len(m.TableType) > 0 {
+ dAtA[i] = 0x22
+ i++
+ i = encodeVarintEs(dAtA, i, uint64(len(m.TableType)))
+ i += copy(dAtA[i:], m.TableType)
+ }
+ if len(m.BwType) > 0 {
+ dAtA[i] = 0x2a
+ i++
+ i = encodeVarintEs(dAtA, i, uint64(len(m.BwType)))
+ i += copy(dAtA[i:], m.BwType)
+ }
+ if len(m.StartTime) > 0 {
+ dAtA[i] = 0x32
+ i++
+ i = encodeVarintEs(dAtA, i, uint64(len(m.StartTime)))
+ i += copy(dAtA[i:], m.StartTime)
+ }
+ if len(m.EndTime) > 0 {
+ dAtA[i] = 0x3a
+ i++
+ i = encodeVarintEs(dAtA, i, uint64(len(m.EndTime)))
+ i += copy(dAtA[i:], m.EndTime)
+ }
+ if len(m.CreateTime) > 0 {
+ dAtA[i] = 0x42
+ i++
+ i = encodeVarintEs(dAtA, i, uint64(len(m.CreateTime)))
+ i += copy(dAtA[i:], m.CreateTime)
+ }
+ if len(m.UpdateTime) > 0 {
+ dAtA[i] = 0x4a
+ i++
+ i = encodeVarintEs(dAtA, i, uint64(len(m.UpdateTime)))
+ i += copy(dAtA[i:], m.UpdateTime)
+ }
+ if len(m.CreateBy) > 0 {
+ dAtA[i] = 0x52
+ i++
+ i = encodeVarintEs(dAtA, i, uint64(len(m.CreateBy)))
+ i += copy(dAtA[i:], m.CreateBy)
+ }
+ if m.IsDelete != 0 {
+ dAtA[i] = 0x58
+ i++
+ i = encodeVarintEs(dAtA, i, uint64(m.IsDelete))
+ }
+ if len(m.IsForever) > 0 {
dAtA[i] = 0x62
i++
- i = encodeVarintEs(dAtA, i, uint64(len(m.Content)))
- i += copy(dAtA[i:], m.Content)
+ i = encodeVarintEs(dAtA, i, uint64(len(m.IsForever)))
+ i += copy(dAtA[i:], m.IsForever)
}
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
+ if m.Enable != 0 {
+ dAtA[i] = 0x68
+ i++
+ i = encodeVarintEs(dAtA, i, uint64(m.Enable))
+ }
+ if len(m.IsSync) > 0 {
+ dAtA[i] = 0x72
+ i++
+ i = encodeVarintEs(dAtA, i, uint64(len(m.IsSync)))
+ i += copy(dAtA[i:], m.IsSync)
+ }
+ if len(m.AnalyServerId) > 0 {
+ dAtA[i] = 0x7a
+ i++
+ i = encodeVarintEs(dAtA, i, uint64(len(m.AnalyServerId)))
+ i += copy(dAtA[i:], m.AnalyServerId)
}
return i, nil
}
@@ -287,17 +755,40 @@
dAtA[offset] = uint8(v)
return offset + 1
}
-func (m *Baseinfo) Size() (n int) {
+func (m *Esinfo) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
+ l = len(m.Id)
+ if l > 0 {
+ n += 1 + l + sovEs(uint64(l))
+ }
+ l = len(m.Tableid)
+ if l > 0 {
+ n += 1 + l + sovEs(uint64(l))
+ }
l = len(m.FaceFeature)
if l > 0 {
n += 1 + l + sovEs(uint64(l))
}
- l = len(m.PersonId)
+ if m.CompareScore != 0 {
+ n += 5
+ }
+ if m.Enable != 0 {
+ n += 1 + sovEs(uint64(m.Enable))
+ }
+ return n
+}
+
+func (m *Dbperson) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.Id)
if l > 0 {
n += 1 + l + sovEs(uint64(l))
}
@@ -305,14 +796,7 @@
if l > 0 {
n += 1 + l + sovEs(uint64(l))
}
- l = len(m.TableName)
- if l > 0 {
- n += 1 + l + sovEs(uint64(l))
- }
- if m.CompareScore != 0 {
- n += 5
- }
- l = len(m.PersonName)
+ l = len(m.FaceFeature)
if l > 0 {
n += 1 + l + sovEs(uint64(l))
}
@@ -320,7 +804,11 @@
if l > 0 {
n += 1 + l + sovEs(uint64(l))
}
- l = len(m.PhoneNum)
+ l = len(m.PersonName)
+ if l > 0 {
+ n += 1 + l + sovEs(uint64(l))
+ }
+ l = len(m.Age)
if l > 0 {
n += 1 + l + sovEs(uint64(l))
}
@@ -328,38 +816,121 @@
if l > 0 {
n += 1 + l + sovEs(uint64(l))
}
- l = len(m.Idcard)
+ l = len(m.IdCard)
if l > 0 {
n += 1 + l + sovEs(uint64(l))
+ }
+ l = len(m.PicDesc)
+ if l > 0 {
+ n += 1 + l + sovEs(uint64(l))
+ }
+ l = len(m.PhoneNum)
+ if l > 0 {
+ n += 1 + l + sovEs(uint64(l))
+ }
+ l = len(m.CreateTime)
+ if l > 0 {
+ n += 1 + l + sovEs(uint64(l))
+ }
+ l = len(m.UpdateTime)
+ if l > 0 {
+ n += 1 + l + sovEs(uint64(l))
+ }
+ l = len(m.CreateBy)
+ if l > 0 {
+ n += 1 + l + sovEs(uint64(l))
+ }
+ if m.IsDelete != 0 {
+ n += 1 + sovEs(uint64(m.IsDelete))
}
l = len(m.MonitorLevel)
if l > 0 {
n += 1 + l + sovEs(uint64(l))
}
- l = len(m.Content)
+ if m.Enable != 0 {
+ n += 2 + sovEs(uint64(m.Enable))
+ }
+ l = len(m.Reserved)
+ if l > 0 {
+ n += 2 + l + sovEs(uint64(l))
+ }
+ return n
+}
+
+func (m *Dbtable) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.Id)
if l > 0 {
n += 1 + l + sovEs(uint64(l))
}
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
+ l = len(m.TableName)
+ if l > 0 {
+ n += 1 + l + sovEs(uint64(l))
+ }
+ l = len(m.TableDesc)
+ if l > 0 {
+ n += 1 + l + sovEs(uint64(l))
+ }
+ l = len(m.TableType)
+ if l > 0 {
+ n += 1 + l + sovEs(uint64(l))
+ }
+ l = len(m.BwType)
+ if l > 0 {
+ n += 1 + l + sovEs(uint64(l))
+ }
+ l = len(m.StartTime)
+ if l > 0 {
+ n += 1 + l + sovEs(uint64(l))
+ }
+ l = len(m.EndTime)
+ if l > 0 {
+ n += 1 + l + sovEs(uint64(l))
+ }
+ l = len(m.CreateTime)
+ if l > 0 {
+ n += 1 + l + sovEs(uint64(l))
+ }
+ l = len(m.UpdateTime)
+ if l > 0 {
+ n += 1 + l + sovEs(uint64(l))
+ }
+ l = len(m.CreateBy)
+ if l > 0 {
+ n += 1 + l + sovEs(uint64(l))
+ }
+ if m.IsDelete != 0 {
+ n += 1 + sovEs(uint64(m.IsDelete))
+ }
+ l = len(m.IsForever)
+ if l > 0 {
+ n += 1 + l + sovEs(uint64(l))
+ }
+ if m.Enable != 0 {
+ n += 1 + sovEs(uint64(m.Enable))
+ }
+ l = len(m.IsSync)
+ if l > 0 {
+ n += 1 + l + sovEs(uint64(l))
+ }
+ l = len(m.AnalyServerId)
+ if l > 0 {
+ n += 1 + l + sovEs(uint64(l))
}
return n
}
func sovEs(x uint64) (n int) {
- for {
- n++
- x >>= 7
- if x == 0 {
- break
- }
- }
- return n
+ return (math_bits.Len64(x|1) + 6) / 7
}
func sozEs(x uint64) (n int) {
return sovEs(uint64((x << 1) ^ uint64((int64(x) >> 63))))
}
-func (m *Baseinfo) Unmarshal(dAtA []byte) error {
+func (m *Esinfo) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
@@ -382,13 +953,77 @@
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
- return fmt.Errorf("proto: Baseinfo: wiretype end group for non-group")
+ return fmt.Errorf("proto: Esinfo: wiretype end group for non-group")
}
if fieldNum <= 0 {
- return fmt.Errorf("proto: Baseinfo: illegal tag %d (wire type %d)", fieldNum, wire)
+ return fmt.Errorf("proto: Esinfo: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowEs
+ }
+ 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 ErrInvalidLengthEs
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthEs
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Id = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Tableid", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowEs
+ }
+ 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 ErrInvalidLengthEs
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthEs
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Tableid = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 3:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field FaceFeature", wireType)
}
@@ -420,9 +1055,92 @@
}
m.FaceFeature = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
- case 2:
+ case 4:
+ if wireType != 5 {
+ return fmt.Errorf("proto: wrong wireType = %d for field CompareScore", wireType)
+ }
+ var v uint32
+ if (iNdEx + 4) > l {
+ return io.ErrUnexpectedEOF
+ }
+ v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:]))
+ iNdEx += 4
+ m.CompareScore = float32(math.Float32frombits(v))
+ case 5:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Enable", wireType)
+ }
+ m.Enable = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowEs
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.Enable |= int32(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ default:
+ iNdEx = preIndex
+ skippy, err := skipEs(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if skippy < 0 {
+ return ErrInvalidLengthEs
+ }
+ if (iNdEx + skippy) < 0 {
+ return ErrInvalidLengthEs
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *Dbperson) 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 ErrIntOverflowEs
+ }
+ 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: Dbperson: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: Dbperson: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field PersonId", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -450,9 +1168,9 @@
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.PersonId = string(dAtA[iNdEx:postIndex])
+ m.Id = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
- case 3:
+ case 2:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field TableId", wireType)
}
@@ -484,82 +1202,39 @@
}
m.TableId = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
+ case 3:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field FaceFeature", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowEs
+ }
+ 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 ErrInvalidLengthEs
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthEs
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.FaceFeature = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
case 4:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field TableName", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowEs
- }
- 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 ErrInvalidLengthEs
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthEs
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.TableName = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 5:
- if wireType != 5 {
- return fmt.Errorf("proto: wrong wireType = %d for field CompareScore", wireType)
- }
- var v uint32
- if (iNdEx + 4) > l {
- return io.ErrUnexpectedEOF
- }
- v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:]))
- iNdEx += 4
- m.CompareScore = float32(math.Float32frombits(v))
- case 6:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field PersonName", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowEs
- }
- 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 ErrInvalidLengthEs
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthEs
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.PersonName = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 7:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field PersonPicUrl", wireType)
}
@@ -591,9 +1266,9 @@
}
m.PersonPicUrl = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
- case 8:
+ case 5:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field PhoneNum", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field PersonName", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -621,9 +1296,41 @@
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.PhoneNum = string(dAtA[iNdEx:postIndex])
+ m.PersonName = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
- case 9:
+ case 6:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Age", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowEs
+ }
+ 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 ErrInvalidLengthEs
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthEs
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Age = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 7:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Sex", wireType)
}
@@ -655,9 +1362,9 @@
}
m.Sex = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
- case 10:
+ case 8:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Idcard", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field IdCard", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -685,9 +1392,188 @@
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.Idcard = string(dAtA[iNdEx:postIndex])
+ m.IdCard = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 9:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field PicDesc", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowEs
+ }
+ 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 ErrInvalidLengthEs
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthEs
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.PicDesc = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 10:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field PhoneNum", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowEs
+ }
+ 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 ErrInvalidLengthEs
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthEs
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.PhoneNum = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 11:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field CreateTime", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowEs
+ }
+ 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 ErrInvalidLengthEs
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthEs
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.CreateTime = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 12:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field UpdateTime", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowEs
+ }
+ 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 ErrInvalidLengthEs
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthEs
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.UpdateTime = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 13:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field CreateBy", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowEs
+ }
+ 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 ErrInvalidLengthEs
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthEs
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.CreateBy = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 14:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field IsDelete", wireType)
+ }
+ m.IsDelete = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowEs
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.IsDelete |= int32(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 15:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field MonitorLevel", wireType)
}
@@ -719,9 +1605,28 @@
}
m.MonitorLevel = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
- case 12:
+ case 16:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Enable", wireType)
+ }
+ m.Enable = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowEs
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.Enable |= int32(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 17:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Content", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Reserved", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -749,7 +1654,7 @@
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.Content = string(dAtA[iNdEx:postIndex])
+ m.Reserved = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
default:
iNdEx = preIndex
@@ -766,7 +1671,513 @@
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *Dbtable) 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 ErrIntOverflowEs
+ }
+ 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: Dbtable: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: Dbtable: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowEs
+ }
+ 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 ErrInvalidLengthEs
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthEs
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Id = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field TableName", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowEs
+ }
+ 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 ErrInvalidLengthEs
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthEs
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.TableName = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 3:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field TableDesc", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowEs
+ }
+ 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 ErrInvalidLengthEs
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthEs
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.TableDesc = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 4:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field TableType", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowEs
+ }
+ 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 ErrInvalidLengthEs
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthEs
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.TableType = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 5:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field BwType", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowEs
+ }
+ 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 ErrInvalidLengthEs
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthEs
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.BwType = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 6:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field StartTime", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowEs
+ }
+ 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 ErrInvalidLengthEs
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthEs
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.StartTime = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 7:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field EndTime", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowEs
+ }
+ 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 ErrInvalidLengthEs
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthEs
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.EndTime = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 8:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field CreateTime", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowEs
+ }
+ 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 ErrInvalidLengthEs
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthEs
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.CreateTime = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 9:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field UpdateTime", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowEs
+ }
+ 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 ErrInvalidLengthEs
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthEs
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.UpdateTime = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 10:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field CreateBy", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowEs
+ }
+ 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 ErrInvalidLengthEs
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthEs
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.CreateBy = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 11:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field IsDelete", wireType)
+ }
+ m.IsDelete = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowEs
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.IsDelete |= int32(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 12:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field IsForever", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowEs
+ }
+ 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 ErrInvalidLengthEs
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthEs
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.IsForever = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 13:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Enable", wireType)
+ }
+ m.Enable = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowEs
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.Enable |= int32(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 14:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field IsSync", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowEs
+ }
+ 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 ErrInvalidLengthEs
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthEs
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.IsSync = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 15:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field AnalyServerId", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowEs
+ }
+ 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 ErrInvalidLengthEs
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthEs
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.AnalyServerId = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipEs(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if skippy < 0 {
+ return ErrInvalidLengthEs
+ }
+ if (iNdEx + skippy) < 0 {
+ return ErrInvalidLengthEs
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
iNdEx += skippy
}
}
--
Gitblit v1.8.0