From 556b9531f40c1c3bf4efd732e0f9eabb9c5793ae Mon Sep 17 00:00:00 2001 From: zhangmeng <775834166@qq.com> Date: 星期五, 15 十一月 2019 10:40:33 +0800 Subject: [PATCH] add plateid --- videoperson.pb.go | 2570 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 2,455 insertions(+), 115 deletions(-) diff --git a/videoperson.pb.go b/videoperson.pb.go index 39d050b..5792535 100644 --- a/videoperson.pb.go +++ b/videoperson.pb.go @@ -1,11 +1,13 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. +// Code generated by protoc-gen-gogo. DO NOT EDIT. // source: videoperson.proto package protomsg import ( + encoding_binary "encoding/binary" fmt "fmt" - proto "github.com/golang/protobuf/proto" + proto "github.com/gogo/protobuf/proto" + io "io" math "math" ) @@ -18,41 +20,38 @@ // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package type Videopersons struct { - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - CameraId string `protobuf:"bytes,2,opt,name=cameraId,proto3" json:"cameraId,omitempty"` - CameraAddr string `protobuf:"bytes,3,opt,name=cameraAddr,proto3" json:"cameraAddr,omitempty"` - PicDate string `protobuf:"bytes,4,opt,name=picDate,proto3" json:"picDate,omitempty"` - PicMaxUrl string `protobuf:"bytes,5,opt,name=picMaxUrl,proto3" json:"picMaxUrl,omitempty"` - TaskId string `protobuf:"bytes,6,opt,name=taskId,proto3" json:"taskId,omitempty"` - TaskName string `protobuf:"bytes,7,opt,name=taskName,proto3" json:"taskName,omitempty"` - SdkName string `protobuf:"bytes,8,opt,name=sdkName,proto3" json:"sdkName,omitempty"` - Content string `protobuf:"bytes,9,opt,name=content,proto3" json:"content,omitempty"` - LikeDate string `protobuf:"bytes,10,opt,name=likeDate,proto3" json:"likeDate,omitempty"` - DetectScore string `protobuf:"bytes,11,opt,name=detectScore,proto3" json:"detectScore,omitempty"` - Sex string `protobuf:"bytes,12,opt,name=sex,proto3" json:"sex,omitempty"` - Age int32 `protobuf:"varint,13,opt,name=age,proto3" json:"age,omitempty"` - AgeDescription string `protobuf:"bytes,14,opt,name=ageDescription,proto3" json:"ageDescription,omitempty"` - Race string `protobuf:"bytes,15,opt,name=race,proto3" json:"race,omitempty"` - SmileLevel string `protobuf:"bytes,16,opt,name=smileLevel,proto3" json:"smileLevel,omitempty"` - BeautyLevel string `protobuf:"bytes,17,opt,name=beautyLevel,proto3" json:"beautyLevel,omitempty"` - PicSmUrl []string `protobuf:"bytes,18,rep,name=picSmUrl,proto3" json:"picSmUrl,omitempty"` - VideoUrl string `protobuf:"bytes,19,opt,name=videoUrl,proto3" json:"videoUrl,omitempty"` - AnalyServerId string `protobuf:"bytes,20,opt,name=analyServerId,proto3" json:"analyServerId,omitempty"` - AnalyServerName string `protobuf:"bytes,21,opt,name=analyServerName,proto3" json:"analyServerName,omitempty"` - AnalyServerIp string `protobuf:"bytes,22,opt,name=analyServerIp,proto3" json:"analyServerIp,omitempty"` - ClusterId string `protobuf:"bytes,23,opt,name=clusterId,proto3" json:"clusterId,omitempty"` - IsAlarm string `protobuf:"bytes,24,opt,name=isAlarm,proto3" json:"isAlarm,omitempty"` - IsAckAlarm string `protobuf:"bytes,25,opt,name=isAckAlarm,proto3" json:"isAckAlarm,omitempty"` - IsCollect int32 `protobuf:"varint,26,opt,name=isCollect,proto3" json:"isCollect,omitempty"` - IsDelete int32 `protobuf:"varint,27,opt,name=isDelete,proto3" json:"isDelete,omitempty"` - AlarmRules []*AlarmRules `protobuf:"bytes,28,rep,name=alarmRules,proto3" json:"alarmRules,omitempty"` - BaseInfo []*BaseInfo `protobuf:"bytes,29,rep,name=baseInfo,proto3" json:"baseInfo,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + CameraId string `protobuf:"bytes,2,opt,name=cameraId,proto3" json:"cameraId,omitempty"` + CameraAddr string `protobuf:"bytes,3,opt,name=cameraAddr,proto3" json:"cameraAddr,omitempty"` + PicDate string `protobuf:"bytes,4,opt,name=picDate,proto3" json:"picDate,omitempty"` + PicMaxUrl string `protobuf:"bytes,5,opt,name=picMaxUrl,proto3" json:"picMaxUrl,omitempty"` + TaskId string `protobuf:"bytes,6,opt,name=taskId,proto3" json:"taskId,omitempty"` + TaskName string `protobuf:"bytes,7,opt,name=taskName,proto3" json:"taskName,omitempty"` + SdkName string `protobuf:"bytes,8,opt,name=sdkName,proto3" json:"sdkName,omitempty"` + Content string `protobuf:"bytes,9,opt,name=content,proto3" json:"content,omitempty"` + LikeDate string `protobuf:"bytes,10,opt,name=likeDate,proto3" json:"likeDate,omitempty"` + DetectScore string `protobuf:"bytes,11,opt,name=detectScore,proto3" json:"detectScore,omitempty"` + Sex string `protobuf:"bytes,12,opt,name=sex,proto3" json:"sex,omitempty"` + Age int32 `protobuf:"varint,13,opt,name=age,proto3" json:"age,omitempty"` + AgeDescription string `protobuf:"bytes,14,opt,name=ageDescription,proto3" json:"ageDescription,omitempty"` + Race string `protobuf:"bytes,15,opt,name=race,proto3" json:"race,omitempty"` + SmileLevel string `protobuf:"bytes,16,opt,name=smileLevel,proto3" json:"smileLevel,omitempty"` + BeautyLevel string `protobuf:"bytes,17,opt,name=beautyLevel,proto3" json:"beautyLevel,omitempty"` + PicSmUrl []string `protobuf:"bytes,18,rep,name=picSmUrl,proto3" json:"picSmUrl,omitempty"` + VideoUrl string `protobuf:"bytes,19,opt,name=videoUrl,proto3" json:"videoUrl,omitempty"` + AnalyServerId string `protobuf:"bytes,20,opt,name=analyServerId,proto3" json:"analyServerId,omitempty"` + AnalyServerName string `protobuf:"bytes,21,opt,name=analyServerName,proto3" json:"analyServerName,omitempty"` + AnalyServerIp string `protobuf:"bytes,22,opt,name=analyServerIp,proto3" json:"analyServerIp,omitempty"` + ClusterId string `protobuf:"bytes,23,opt,name=clusterId,proto3" json:"clusterId,omitempty"` + IsAlarm string `protobuf:"bytes,24,opt,name=isAlarm,proto3" json:"isAlarm,omitempty"` + IsAckAlarm string `protobuf:"bytes,25,opt,name=isAckAlarm,proto3" json:"isAckAlarm,omitempty"` + IsCollect int32 `protobuf:"varint,26,opt,name=isCollect,proto3" json:"isCollect,omitempty"` + IsDelete int32 `protobuf:"varint,27,opt,name=isDelete,proto3" json:"isDelete,omitempty"` + AlarmRules []*AlarmRules `protobuf:"bytes,28,rep,name=alarmRules,proto3" json:"alarmRules,omitempty"` + BaseInfo []*BaseInfo `protobuf:"bytes,29,rep,name=baseInfo,proto3" json:"baseInfo,omitempty"` } func (m *Videopersons) Reset() { *m = Videopersons{} } @@ -61,18 +60,26 @@ func (*Videopersons) Descriptor() ([]byte, []int) { return fileDescriptor_149f81aa0f752265, []int{0} } - func (m *Videopersons) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Videopersons.Unmarshal(m, b) + return m.Unmarshal(b) } func (m *Videopersons) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Videopersons.Marshal(b, m, deterministic) + if deterministic { + return xxx_messageInfo_Videopersons.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 *Videopersons) XXX_Merge(src proto.Message) { xxx_messageInfo_Videopersons.Merge(m, src) } func (m *Videopersons) XXX_Size() int { - return xxx_messageInfo_Videopersons.Size(m) + return m.Size() } func (m *Videopersons) XXX_DiscardUnknown() { xxx_messageInfo_Videopersons.DiscardUnknown(m) @@ -284,15 +291,12 @@ } type AlarmRules struct { - GroupId string `protobuf:"bytes,1,opt,name=groupId,proto3" json:"groupId,omitempty"` - AlarmLevel string `protobuf:"bytes,2,opt,name=alarmLevel,proto3" json:"alarmLevel,omitempty"` - RuleText string `protobuf:"bytes,3,opt,name=ruleText,proto3" json:"ruleText,omitempty"` - DefenceState bool `protobuf:"varint,4,opt,name=defenceState,proto3" json:"defenceState,omitempty"` - IsLink bool `protobuf:"varint,5,opt,name=isLink,proto3" json:"isLink,omitempty"` - LinkInfo string `protobuf:"bytes,6,opt,name=linkInfo,proto3" json:"linkInfo,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + GroupId string `protobuf:"bytes,1,opt,name=groupId,proto3" json:"groupId,omitempty"` + AlarmLevel string `protobuf:"bytes,2,opt,name=alarmLevel,proto3" json:"alarmLevel,omitempty"` + RuleText string `protobuf:"bytes,3,opt,name=ruleText,proto3" json:"ruleText,omitempty"` + DefenceState bool `protobuf:"varint,4,opt,name=defenceState,proto3" json:"defenceState,omitempty"` + IsLink bool `protobuf:"varint,5,opt,name=isLink,proto3" json:"isLink,omitempty"` + LinkInfo string `protobuf:"bytes,6,opt,name=linkInfo,proto3" json:"linkInfo,omitempty"` } func (m *AlarmRules) Reset() { *m = AlarmRules{} } @@ -301,18 +305,26 @@ func (*AlarmRules) Descriptor() ([]byte, []int) { return fileDescriptor_149f81aa0f752265, []int{1} } - func (m *AlarmRules) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AlarmRules.Unmarshal(m, b) + return m.Unmarshal(b) } func (m *AlarmRules) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AlarmRules.Marshal(b, m, deterministic) + if deterministic { + return xxx_messageInfo_AlarmRules.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 *AlarmRules) XXX_Merge(src proto.Message) { xxx_messageInfo_AlarmRules.Merge(m, src) } func (m *AlarmRules) XXX_Size() int { - return xxx_messageInfo_AlarmRules.Size(m) + return m.Size() } func (m *AlarmRules) XXX_DiscardUnknown() { xxx_messageInfo_AlarmRules.DiscardUnknown(m) @@ -363,21 +375,18 @@ } type BaseInfo struct { - TableId string `protobuf:"bytes,1,opt,name=tableId,proto3" json:"tableId,omitempty"` - TableName string `protobuf:"bytes,2,opt,name=tableName,proto3" json:"tableName,omitempty"` - CompareScore float32 `protobuf:"fixed32,3,opt,name=compareScore,proto3" json:"compareScore,omitempty"` - PersonId string `protobuf:"bytes,4,opt,name=personId,proto3" json:"personId,omitempty"` - PersonName string `protobuf:"bytes,5,opt,name=personName,proto3" json:"personName,omitempty"` - PersonPicUrl string `protobuf:"bytes,6,opt,name=personPicUrl,proto3" json:"personPicUrl,omitempty"` - PhoneNum string `protobuf:"bytes,7,opt,name=phoneNum,proto3" json:"phoneNum,omitempty"` - Sex string `protobuf:"bytes,8,opt,name=sex,proto3" json:"sex,omitempty"` - IdCard string `protobuf:"bytes,9,opt,name=idCard,proto3" json:"idCard,omitempty"` - MonitorLevel string `protobuf:"bytes,10,opt,name=monitorLevel,proto3" json:"monitorLevel,omitempty"` - Content string `protobuf:"bytes,11,opt,name=content,proto3" json:"content,omitempty"` - BwType string `protobuf:"bytes,12,opt,name=bwType,proto3" json:"bwType,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + TableId string `protobuf:"bytes,1,opt,name=tableId,proto3" json:"tableId,omitempty"` + TableName string `protobuf:"bytes,2,opt,name=tableName,proto3" json:"tableName,omitempty"` + CompareScore float32 `protobuf:"fixed32,3,opt,name=compareScore,proto3" json:"compareScore,omitempty"` + PersonId string `protobuf:"bytes,4,opt,name=personId,proto3" json:"personId,omitempty"` + PersonName string `protobuf:"bytes,5,opt,name=personName,proto3" json:"personName,omitempty"` + PersonPicUrl string `protobuf:"bytes,6,opt,name=personPicUrl,proto3" json:"personPicUrl,omitempty"` + PhoneNum string `protobuf:"bytes,7,opt,name=phoneNum,proto3" json:"phoneNum,omitempty"` + Sex string `protobuf:"bytes,8,opt,name=sex,proto3" json:"sex,omitempty"` + IdCard string `protobuf:"bytes,9,opt,name=idCard,proto3" json:"idCard,omitempty"` + MonitorLevel string `protobuf:"bytes,10,opt,name=monitorLevel,proto3" json:"monitorLevel,omitempty"` + Content string `protobuf:"bytes,11,opt,name=content,proto3" json:"content,omitempty"` + BwType string `protobuf:"bytes,12,opt,name=bwType,proto3" json:"bwType,omitempty"` } func (m *BaseInfo) Reset() { *m = BaseInfo{} } @@ -386,18 +395,26 @@ func (*BaseInfo) Descriptor() ([]byte, []int) { return fileDescriptor_149f81aa0f752265, []int{2} } - func (m *BaseInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BaseInfo.Unmarshal(m, b) + return m.Unmarshal(b) } func (m *BaseInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BaseInfo.Marshal(b, m, deterministic) + if deterministic { + return xxx_messageInfo_BaseInfo.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 *BaseInfo) XXX_Merge(src proto.Message) { xxx_messageInfo_BaseInfo.Merge(m, src) } func (m *BaseInfo) XXX_Size() int { - return xxx_messageInfo_BaseInfo.Size(m) + return m.Size() } func (m *BaseInfo) XXX_DiscardUnknown() { xxx_messageInfo_BaseInfo.DiscardUnknown(m) @@ -498,48 +515,2371 @@ func init() { proto.RegisterFile("videoperson.proto", fileDescriptor_149f81aa0f752265) } var fileDescriptor_149f81aa0f752265 = []byte{ - // 677 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x54, 0xcd, 0x6e, 0x13, 0x31, - 0x10, 0x56, 0x92, 0x36, 0xdd, 0x3a, 0xfd, 0x35, 0xa5, 0x98, 0x52, 0x50, 0x14, 0x21, 0x94, 0x53, - 0x0e, 0xc0, 0x0b, 0x84, 0xf6, 0x12, 0xa9, 0x54, 0x68, 0x53, 0x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, 0x16, - 0x83, 0xfe, 0x03, 0xfa, 0xa6, 0x15, 0xf6, 0x7b, 0x48, 0x62, 0x8b, 0x23, 0xff, 0x3f, 0x4d, 0x09, - 0xb7, 0xeb, 0x22, 0xee, 0x96, 0x88, 0xe3, 0xa4, 0x27, 0xcd, 0xa4, 0x63, 0xa9, 0xb2, 0x2b, 0x69, - 0xb3, 0x7a, 0xa5, 0xd4, 0x08, 0x6f, 0x2a, 0x4c, 0xa9, 0xbd, 0xb1, 0xe1, 0x91, 0xc2, 0x56, 0xd9, - 0xe2, 0xda, 0xfb, 0x68, 0xb0, 0xbd, 0x8f, 0xce, 0x59, 0x7f, 0xf1, 0xeb, 0xee, 0xa9, 0x82, 0x7a, - 0xa9, 0xd4, 0x68, 0xd1, 0xa7, 0xf6, 0xf9, 0xf4, 0x2f, 0x00, 0x00, 0xff, 0xff, 0x94, 0x0f, 0x0b, - 0x70, 0xca, 0x05, 0x00, 0x00, + // 713 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x54, 0xcf, 0x6e, 0x13, 0x3f, + 0x10, 0x6e, 0x92, 0x36, 0xdd, 0x3a, 0xfd, 0xeb, 0x5f, 0x7f, 0xc5, 0x94, 0x12, 0x45, 0x11, 0x42, + 0x39, 0xe5, 0x00, 0xbc, 0x40, 0xda, 0x5e, 0x22, 0x95, 0x0a, 0x6d, 0x0a, 0x77, 0xc7, 0x3b, 0x0d, + 0x56, 0xf6, 0x9f, 0x6c, 0xa7, 0xb4, 0x37, 0x1e, 0x81, 0xe7, 0xe1, 0x09, 0x38, 0xf6, 0xc8, 0x11, + 0xa5, 0x2f, 0x82, 0x66, 0xbc, 0x9b, 0xdd, 0x94, 0xd3, 0xce, 0xf7, 0x7d, 0xde, 0xf1, 0xcc, 0x78, + 0x66, 0xd8, 0xd1, 0x9d, 0x8e, 0x20, 0xcb, 0xc1, 0xd8, 0x2c, 0x1d, 0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0xbc, + 0x29, 0xc9, 0x52, 0xed, 0x32, 0xe3, 0x1f, 0xc9, 0x6f, 0x95, 0x35, 0xae, 0xbe, 0x8f, 0x3a, 0xeb, + 0xfb, 0xe8, 0x84, 0xb5, 0xa7, 0xdf, 0x6e, 0x1e, 0x72, 0x28, 0x96, 0x4a, 0x81, 0xce, 0xc5, 0xaf, + 0x65, 0xb7, 0xf1, 0xb8, 0xec, 0x36, 0xfe, 0x2c, 0xbb, 0x8d, 0x1f, 0x4f, 0xdd, 0x8d, 0xc7, 0xa7, + 0xee, 0xc6, 0xef, 0xa7, 0xee, 0xc6, 0xb4, 0x4d, 0x8d, 0xf5, 0xfe, 0x6f, 0x00, 0x00, 0x00, 0xff, + 0xff, 0x3a, 0xb7, 0x6f, 0x3f, 0xe4, 0x05, 0x00, 0x00, } + +func (m *Videopersons) 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 *Videopersons) MarshalTo(dAtA []byte) (int, error) { + var i int + _ = i + var l int + _ = l + if len(m.Id) > 0 { + dAtA[i] = 0xa + i++ + i = encodeVarintVideoperson(dAtA, i, uint64(len(m.Id))) + i += copy(dAtA[i:], m.Id) + } + if len(m.CameraId) > 0 { + dAtA[i] = 0x12 + i++ + i = encodeVarintVideoperson(dAtA, i, uint64(len(m.CameraId))) + i += copy(dAtA[i:], m.CameraId) + } + if len(m.CameraAddr) > 0 { + dAtA[i] = 0x1a + i++ + i = encodeVarintVideoperson(dAtA, i, uint64(len(m.CameraAddr))) + i += copy(dAtA[i:], m.CameraAddr) + } + if len(m.PicDate) > 0 { + dAtA[i] = 0x22 + i++ + i = encodeVarintVideoperson(dAtA, i, uint64(len(m.PicDate))) + i += copy(dAtA[i:], m.PicDate) + } + if len(m.PicMaxUrl) > 0 { + dAtA[i] = 0x2a + i++ + i = encodeVarintVideoperson(dAtA, i, uint64(len(m.PicMaxUrl))) + i += copy(dAtA[i:], m.PicMaxUrl) + } + if len(m.TaskId) > 0 { + dAtA[i] = 0x32 + i++ + i = encodeVarintVideoperson(dAtA, i, uint64(len(m.TaskId))) + i += copy(dAtA[i:], m.TaskId) + } + if len(m.TaskName) > 0 { + dAtA[i] = 0x3a + i++ + i = encodeVarintVideoperson(dAtA, i, uint64(len(m.TaskName))) + i += copy(dAtA[i:], m.TaskName) + } + if len(m.SdkName) > 0 { + dAtA[i] = 0x42 + i++ + i = encodeVarintVideoperson(dAtA, i, uint64(len(m.SdkName))) + i += copy(dAtA[i:], m.SdkName) + } + if len(m.Content) > 0 { + dAtA[i] = 0x4a + i++ + i = encodeVarintVideoperson(dAtA, i, uint64(len(m.Content))) + i += copy(dAtA[i:], m.Content) + } + if len(m.LikeDate) > 0 { + dAtA[i] = 0x52 + i++ + i = encodeVarintVideoperson(dAtA, i, uint64(len(m.LikeDate))) + i += copy(dAtA[i:], m.LikeDate) + } + if len(m.DetectScore) > 0 { + dAtA[i] = 0x5a + i++ + i = encodeVarintVideoperson(dAtA, i, uint64(len(m.DetectScore))) + i += copy(dAtA[i:], m.DetectScore) + } + if len(m.Sex) > 0 { + dAtA[i] = 0x62 + i++ + i = encodeVarintVideoperson(dAtA, i, uint64(len(m.Sex))) + i += copy(dAtA[i:], m.Sex) + } + if m.Age != 0 { + dAtA[i] = 0x68 + i++ + i = encodeVarintVideoperson(dAtA, i, uint64(m.Age)) + } + if len(m.AgeDescription) > 0 { + dAtA[i] = 0x72 + i++ + i = encodeVarintVideoperson(dAtA, i, uint64(len(m.AgeDescription))) + i += copy(dAtA[i:], m.AgeDescription) + } + if len(m.Race) > 0 { + dAtA[i] = 0x7a + i++ + i = encodeVarintVideoperson(dAtA, i, uint64(len(m.Race))) + i += copy(dAtA[i:], m.Race) + } + if len(m.SmileLevel) > 0 { + dAtA[i] = 0x82 + i++ + dAtA[i] = 0x1 + i++ + i = encodeVarintVideoperson(dAtA, i, uint64(len(m.SmileLevel))) + i += copy(dAtA[i:], m.SmileLevel) + } + if len(m.BeautyLevel) > 0 { + dAtA[i] = 0x8a + i++ + dAtA[i] = 0x1 + i++ + i = encodeVarintVideoperson(dAtA, i, uint64(len(m.BeautyLevel))) + i += copy(dAtA[i:], m.BeautyLevel) + } + if len(m.PicSmUrl) > 0 { + for _, s := range m.PicSmUrl { + dAtA[i] = 0x92 + i++ + dAtA[i] = 0x1 + i++ + l = len(s) + for l >= 1<<7 { + dAtA[i] = uint8(uint64(l)&0x7f | 0x80) + l >>= 7 + i++ + } + dAtA[i] = uint8(l) + i++ + i += copy(dAtA[i:], s) + } + } + if len(m.VideoUrl) > 0 { + dAtA[i] = 0x9a + i++ + dAtA[i] = 0x1 + i++ + i = encodeVarintVideoperson(dAtA, i, uint64(len(m.VideoUrl))) + i += copy(dAtA[i:], m.VideoUrl) + } + if len(m.AnalyServerId) > 0 { + dAtA[i] = 0xa2 + i++ + dAtA[i] = 0x1 + i++ + i = encodeVarintVideoperson(dAtA, i, uint64(len(m.AnalyServerId))) + i += copy(dAtA[i:], m.AnalyServerId) + } + if len(m.AnalyServerName) > 0 { + dAtA[i] = 0xaa + i++ + dAtA[i] = 0x1 + i++ + i = encodeVarintVideoperson(dAtA, i, uint64(len(m.AnalyServerName))) + i += copy(dAtA[i:], m.AnalyServerName) + } + if len(m.AnalyServerIp) > 0 { + dAtA[i] = 0xb2 + i++ + dAtA[i] = 0x1 + i++ + i = encodeVarintVideoperson(dAtA, i, uint64(len(m.AnalyServerIp))) + i += copy(dAtA[i:], m.AnalyServerIp) + } + if len(m.ClusterId) > 0 { + dAtA[i] = 0xba + i++ + dAtA[i] = 0x1 + i++ + i = encodeVarintVideoperson(dAtA, i, uint64(len(m.ClusterId))) + i += copy(dAtA[i:], m.ClusterId) + } + if len(m.IsAlarm) > 0 { + dAtA[i] = 0xc2 + i++ + dAtA[i] = 0x1 + i++ + i = encodeVarintVideoperson(dAtA, i, uint64(len(m.IsAlarm))) + i += copy(dAtA[i:], m.IsAlarm) + } + if len(m.IsAckAlarm) > 0 { + dAtA[i] = 0xca + i++ + dAtA[i] = 0x1 + i++ + i = encodeVarintVideoperson(dAtA, i, uint64(len(m.IsAckAlarm))) + i += copy(dAtA[i:], m.IsAckAlarm) + } + if m.IsCollect != 0 { + dAtA[i] = 0xd0 + i++ + dAtA[i] = 0x1 + i++ + i = encodeVarintVideoperson(dAtA, i, uint64(m.IsCollect)) + } + if m.IsDelete != 0 { + dAtA[i] = 0xd8 + i++ + dAtA[i] = 0x1 + i++ + i = encodeVarintVideoperson(dAtA, i, uint64(m.IsDelete)) + } + if len(m.AlarmRules) > 0 { + for _, msg := range m.AlarmRules { + dAtA[i] = 0xe2 + i++ + dAtA[i] = 0x1 + i++ + i = encodeVarintVideoperson(dAtA, i, uint64(msg.Size())) + n, err := msg.MarshalTo(dAtA[i:]) + if err != nil { + return 0, err + } + i += n + } + } + if len(m.BaseInfo) > 0 { + for _, msg := range m.BaseInfo { + dAtA[i] = 0xea + i++ + dAtA[i] = 0x1 + i++ + i = encodeVarintVideoperson(dAtA, i, uint64(msg.Size())) + n, err := msg.MarshalTo(dAtA[i:]) + if err != nil { + return 0, err + } + i += n + } + } + return i, nil +} + +func (m *AlarmRules) 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 *AlarmRules) MarshalTo(dAtA []byte) (int, error) { + var i int + _ = i + var l int + _ = l + if len(m.GroupId) > 0 { + dAtA[i] = 0xa + i++ + i = encodeVarintVideoperson(dAtA, i, uint64(len(m.GroupId))) + i += copy(dAtA[i:], m.GroupId) + } + if len(m.AlarmLevel) > 0 { + dAtA[i] = 0x12 + i++ + i = encodeVarintVideoperson(dAtA, i, uint64(len(m.AlarmLevel))) + i += copy(dAtA[i:], m.AlarmLevel) + } + if len(m.RuleText) > 0 { + dAtA[i] = 0x1a + i++ + i = encodeVarintVideoperson(dAtA, i, uint64(len(m.RuleText))) + i += copy(dAtA[i:], m.RuleText) + } + if m.DefenceState { + dAtA[i] = 0x20 + i++ + if m.DefenceState { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i++ + } + if m.IsLink { + dAtA[i] = 0x28 + i++ + if m.IsLink { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i++ + } + if len(m.LinkInfo) > 0 { + dAtA[i] = 0x32 + i++ + i = encodeVarintVideoperson(dAtA, i, uint64(len(m.LinkInfo))) + i += copy(dAtA[i:], m.LinkInfo) + } + return i, nil +} + +func (m *BaseInfo) 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 *BaseInfo) MarshalTo(dAtA []byte) (int, error) { + var i int + _ = i + var l int + _ = l + if len(m.TableId) > 0 { + dAtA[i] = 0xa + i++ + i = encodeVarintVideoperson(dAtA, i, uint64(len(m.TableId))) + i += copy(dAtA[i:], m.TableId) + } + if len(m.TableName) > 0 { + dAtA[i] = 0x12 + i++ + i = encodeVarintVideoperson(dAtA, i, uint64(len(m.TableName))) + i += copy(dAtA[i:], m.TableName) + } + if m.CompareScore != 0 { + dAtA[i] = 0x1d + i++ + encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.CompareScore)))) + i += 4 + } + if len(m.PersonId) > 0 { + dAtA[i] = 0x22 + i++ + i = encodeVarintVideoperson(dAtA, i, uint64(len(m.PersonId))) + i += copy(dAtA[i:], m.PersonId) + } + if len(m.PersonName) > 0 { + dAtA[i] = 0x2a + i++ + i = encodeVarintVideoperson(dAtA, i, uint64(len(m.PersonName))) + i += copy(dAtA[i:], m.PersonName) + } + if len(m.PersonPicUrl) > 0 { + dAtA[i] = 0x32 + i++ + i = encodeVarintVideoperson(dAtA, i, uint64(len(m.PersonPicUrl))) + i += copy(dAtA[i:], m.PersonPicUrl) + } + if len(m.PhoneNum) > 0 { + dAtA[i] = 0x3a + i++ + i = encodeVarintVideoperson(dAtA, i, uint64(len(m.PhoneNum))) + i += copy(dAtA[i:], m.PhoneNum) + } + if len(m.Sex) > 0 { + dAtA[i] = 0x42 + i++ + i = encodeVarintVideoperson(dAtA, i, uint64(len(m.Sex))) + i += copy(dAtA[i:], m.Sex) + } + if len(m.IdCard) > 0 { + dAtA[i] = 0x4a + i++ + i = encodeVarintVideoperson(dAtA, i, uint64(len(m.IdCard))) + i += copy(dAtA[i:], m.IdCard) + } + if len(m.MonitorLevel) > 0 { + dAtA[i] = 0x52 + i++ + i = encodeVarintVideoperson(dAtA, i, uint64(len(m.MonitorLevel))) + i += copy(dAtA[i:], m.MonitorLevel) + } + if len(m.Content) > 0 { + dAtA[i] = 0x5a + i++ + i = encodeVarintVideoperson(dAtA, i, uint64(len(m.Content))) + i += copy(dAtA[i:], m.Content) + } + if len(m.BwType) > 0 { + dAtA[i] = 0x62 + i++ + i = encodeVarintVideoperson(dAtA, i, uint64(len(m.BwType))) + i += copy(dAtA[i:], m.BwType) + } + return i, nil +} + +func encodeVarintVideoperson(dAtA []byte, offset int, v uint64) int { + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return offset + 1 +} +func (m *Videopersons) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Id) + if l > 0 { + n += 1 + l + sovVideoperson(uint64(l)) + } + l = len(m.CameraId) + if l > 0 { + n += 1 + l + sovVideoperson(uint64(l)) + } + l = len(m.CameraAddr) + if l > 0 { + n += 1 + l + sovVideoperson(uint64(l)) + } + l = len(m.PicDate) + if l > 0 { + n += 1 + l + sovVideoperson(uint64(l)) + } + l = len(m.PicMaxUrl) + if l > 0 { + n += 1 + l + sovVideoperson(uint64(l)) + } + l = len(m.TaskId) + if l > 0 { + n += 1 + l + sovVideoperson(uint64(l)) + } + l = len(m.TaskName) + if l > 0 { + n += 1 + l + sovVideoperson(uint64(l)) + } + l = len(m.SdkName) + if l > 0 { + n += 1 + l + sovVideoperson(uint64(l)) + } + l = len(m.Content) + if l > 0 { + n += 1 + l + sovVideoperson(uint64(l)) + } + l = len(m.LikeDate) + if l > 0 { + n += 1 + l + sovVideoperson(uint64(l)) + } + l = len(m.DetectScore) + if l > 0 { + n += 1 + l + sovVideoperson(uint64(l)) + } + l = len(m.Sex) + if l > 0 { + n += 1 + l + sovVideoperson(uint64(l)) + } + if m.Age != 0 { + n += 1 + sovVideoperson(uint64(m.Age)) + } + l = len(m.AgeDescription) + if l > 0 { + n += 1 + l + sovVideoperson(uint64(l)) + } + l = len(m.Race) + if l > 0 { + n += 1 + l + sovVideoperson(uint64(l)) + } + l = len(m.SmileLevel) + if l > 0 { + n += 2 + l + sovVideoperson(uint64(l)) + } + l = len(m.BeautyLevel) + if l > 0 { + n += 2 + l + sovVideoperson(uint64(l)) + } + if len(m.PicSmUrl) > 0 { + for _, s := range m.PicSmUrl { + l = len(s) + n += 2 + l + sovVideoperson(uint64(l)) + } + } + l = len(m.VideoUrl) + if l > 0 { + n += 2 + l + sovVideoperson(uint64(l)) + } + l = len(m.AnalyServerId) + if l > 0 { + n += 2 + l + sovVideoperson(uint64(l)) + } + l = len(m.AnalyServerName) + if l > 0 { + n += 2 + l + sovVideoperson(uint64(l)) + } + l = len(m.AnalyServerIp) + if l > 0 { + n += 2 + l + sovVideoperson(uint64(l)) + } + l = len(m.ClusterId) + if l > 0 { + n += 2 + l + sovVideoperson(uint64(l)) + } + l = len(m.IsAlarm) + if l > 0 { + n += 2 + l + sovVideoperson(uint64(l)) + } + l = len(m.IsAckAlarm) + if l > 0 { + n += 2 + l + sovVideoperson(uint64(l)) + } + if m.IsCollect != 0 { + n += 2 + sovVideoperson(uint64(m.IsCollect)) + } + if m.IsDelete != 0 { + n += 2 + sovVideoperson(uint64(m.IsDelete)) + } + if len(m.AlarmRules) > 0 { + for _, e := range m.AlarmRules { + l = e.Size() + n += 2 + l + sovVideoperson(uint64(l)) + } + } + if len(m.BaseInfo) > 0 { + for _, e := range m.BaseInfo { + l = e.Size() + n += 2 + l + sovVideoperson(uint64(l)) + } + } + return n +} + +func (m *AlarmRules) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.GroupId) + if l > 0 { + n += 1 + l + sovVideoperson(uint64(l)) + } + l = len(m.AlarmLevel) + if l > 0 { + n += 1 + l + sovVideoperson(uint64(l)) + } + l = len(m.RuleText) + if l > 0 { + n += 1 + l + sovVideoperson(uint64(l)) + } + if m.DefenceState { + n += 2 + } + if m.IsLink { + n += 2 + } + l = len(m.LinkInfo) + if l > 0 { + n += 1 + l + sovVideoperson(uint64(l)) + } + return n +} + +func (m *BaseInfo) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.TableId) + if l > 0 { + n += 1 + l + sovVideoperson(uint64(l)) + } + l = len(m.TableName) + if l > 0 { + n += 1 + l + sovVideoperson(uint64(l)) + } + if m.CompareScore != 0 { + n += 5 + } + l = len(m.PersonId) + if l > 0 { + n += 1 + l + sovVideoperson(uint64(l)) + } + l = len(m.PersonName) + if l > 0 { + n += 1 + l + sovVideoperson(uint64(l)) + } + l = len(m.PersonPicUrl) + if l > 0 { + n += 1 + l + sovVideoperson(uint64(l)) + } + l = len(m.PhoneNum) + if l > 0 { + n += 1 + l + sovVideoperson(uint64(l)) + } + l = len(m.Sex) + if l > 0 { + n += 1 + l + sovVideoperson(uint64(l)) + } + l = len(m.IdCard) + if l > 0 { + n += 1 + l + sovVideoperson(uint64(l)) + } + l = len(m.MonitorLevel) + if l > 0 { + n += 1 + l + sovVideoperson(uint64(l)) + } + l = len(m.Content) + if l > 0 { + n += 1 + l + sovVideoperson(uint64(l)) + } + l = len(m.BwType) + if l > 0 { + n += 1 + l + sovVideoperson(uint64(l)) + } + return n +} + +func sovVideoperson(x uint64) (n int) { + for { + n++ + x >>= 7 + if x == 0 { + break + } + } + return n +} +func sozVideoperson(x uint64) (n int) { + return sovVideoperson(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *Videopersons) 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 ErrIntOverflowVideoperson + } + 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: Videopersons: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Videopersons: 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 ErrIntOverflowVideoperson + } + 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 ErrInvalidLengthVideoperson + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthVideoperson + } + 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 CameraId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowVideoperson + } + 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 ErrInvalidLengthVideoperson + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthVideoperson + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.CameraId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field CameraAddr", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowVideoperson + } + 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 ErrInvalidLengthVideoperson + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthVideoperson + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.CameraAddr = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PicDate", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowVideoperson + } + 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 ErrInvalidLengthVideoperson + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthVideoperson + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.PicDate = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PicMaxUrl", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowVideoperson + } + 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 ErrInvalidLengthVideoperson + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthVideoperson + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.PicMaxUrl = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TaskId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowVideoperson + } + 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 ErrInvalidLengthVideoperson + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthVideoperson + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TaskId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TaskName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowVideoperson + } + 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 ErrInvalidLengthVideoperson + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthVideoperson + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TaskName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 8: + 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 ErrIntOverflowVideoperson + } + 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 ErrInvalidLengthVideoperson + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthVideoperson + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.SdkName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 9: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Content", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowVideoperson + } + 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 ErrInvalidLengthVideoperson + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthVideoperson + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Content = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 10: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field LikeDate", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowVideoperson + } + 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 ErrInvalidLengthVideoperson + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthVideoperson + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.LikeDate = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 11: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DetectScore", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowVideoperson + } + 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 ErrInvalidLengthVideoperson + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthVideoperson + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.DetectScore = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 12: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Sex", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowVideoperson + } + 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 ErrInvalidLengthVideoperson + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthVideoperson + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Sex = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 13: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Age", wireType) + } + m.Age = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowVideoperson + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Age |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 14: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AgeDescription", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowVideoperson + } + 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 ErrInvalidLengthVideoperson + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthVideoperson + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.AgeDescription = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 15: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Race", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowVideoperson + } + 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 ErrInvalidLengthVideoperson + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthVideoperson + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Race = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 16: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SmileLevel", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowVideoperson + } + 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 ErrInvalidLengthVideoperson + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthVideoperson + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.SmileLevel = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 17: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field BeautyLevel", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowVideoperson + } + 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 ErrInvalidLengthVideoperson + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthVideoperson + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.BeautyLevel = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 18: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PicSmUrl", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowVideoperson + } + 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 ErrInvalidLengthVideoperson + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthVideoperson + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.PicSmUrl = append(m.PicSmUrl, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 19: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field VideoUrl", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowVideoperson + } + 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 ErrInvalidLengthVideoperson + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthVideoperson + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.VideoUrl = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 20: + 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 ErrIntOverflowVideoperson + } + 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 ErrInvalidLengthVideoperson + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthVideoperson + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.AnalyServerId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 21: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AnalyServerName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowVideoperson + } + 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 ErrInvalidLengthVideoperson + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthVideoperson + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.AnalyServerName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 22: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AnalyServerIp", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowVideoperson + } + 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 ErrInvalidLengthVideoperson + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthVideoperson + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.AnalyServerIp = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 23: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowVideoperson + } + 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 ErrInvalidLengthVideoperson + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthVideoperson + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ClusterId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 24: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field IsAlarm", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowVideoperson + } + 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 ErrInvalidLengthVideoperson + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthVideoperson + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.IsAlarm = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 25: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field IsAckAlarm", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowVideoperson + } + 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 ErrInvalidLengthVideoperson + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthVideoperson + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.IsAckAlarm = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 26: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IsCollect", wireType) + } + m.IsCollect = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowVideoperson + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.IsCollect |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 27: + 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 ErrIntOverflowVideoperson + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.IsDelete |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 28: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AlarmRules", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowVideoperson + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthVideoperson + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthVideoperson + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.AlarmRules = append(m.AlarmRules, &AlarmRules{}) + if err := m.AlarmRules[len(m.AlarmRules)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 29: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field BaseInfo", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowVideoperson + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthVideoperson + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthVideoperson + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.BaseInfo = append(m.BaseInfo, &BaseInfo{}) + if err := m.BaseInfo[len(m.BaseInfo)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipVideoperson(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthVideoperson + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthVideoperson + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *AlarmRules) 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 ErrIntOverflowVideoperson + } + 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: AlarmRules: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: AlarmRules: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field GroupId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowVideoperson + } + 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 ErrInvalidLengthVideoperson + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthVideoperson + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.GroupId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AlarmLevel", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowVideoperson + } + 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 ErrInvalidLengthVideoperson + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthVideoperson + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.AlarmLevel = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RuleText", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowVideoperson + } + 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 ErrInvalidLengthVideoperson + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthVideoperson + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.RuleText = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field DefenceState", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowVideoperson + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.DefenceState = bool(v != 0) + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IsLink", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowVideoperson + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.IsLink = bool(v != 0) + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field LinkInfo", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowVideoperson + } + 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 ErrInvalidLengthVideoperson + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthVideoperson + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.LinkInfo = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipVideoperson(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthVideoperson + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthVideoperson + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *BaseInfo) 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 ErrIntOverflowVideoperson + } + 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: BaseInfo: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: BaseInfo: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + 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 ErrIntOverflowVideoperson + } + 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 ErrInvalidLengthVideoperson + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthVideoperson + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TableId = 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 ErrIntOverflowVideoperson + } + 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 ErrInvalidLengthVideoperson + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthVideoperson + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TableName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + 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 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PersonId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowVideoperson + } + 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 ErrInvalidLengthVideoperson + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthVideoperson + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.PersonId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + 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 ErrIntOverflowVideoperson + } + 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 ErrInvalidLengthVideoperson + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthVideoperson + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.PersonName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PersonPicUrl", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowVideoperson + } + 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 ErrInvalidLengthVideoperson + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthVideoperson + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.PersonPicUrl = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 7: + 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 ErrIntOverflowVideoperson + } + 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 ErrInvalidLengthVideoperson + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthVideoperson + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.PhoneNum = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 8: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Sex", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowVideoperson + } + 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 ErrInvalidLengthVideoperson + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthVideoperson + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Sex = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 9: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field IdCard", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowVideoperson + } + 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 ErrInvalidLengthVideoperson + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthVideoperson + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.IdCard = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 10: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field MonitorLevel", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowVideoperson + } + 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 ErrInvalidLengthVideoperson + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthVideoperson + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.MonitorLevel = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 11: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Content", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowVideoperson + } + 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 ErrInvalidLengthVideoperson + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthVideoperson + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Content = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 12: + 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 ErrIntOverflowVideoperson + } + 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 ErrInvalidLengthVideoperson + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthVideoperson + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.BwType = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipVideoperson(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthVideoperson + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthVideoperson + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func skipVideoperson(dAtA []byte) (n int, err error) { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowVideoperson + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + wireType := int(wire & 0x7) + switch wireType { + case 0: + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowVideoperson + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + iNdEx++ + if dAtA[iNdEx-1] < 0x80 { + break + } + } + return iNdEx, nil + case 1: + iNdEx += 8 + return iNdEx, nil + case 2: + var length int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowVideoperson + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + length |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if length < 0 { + return 0, ErrInvalidLengthVideoperson + } + iNdEx += length + if iNdEx < 0 { + return 0, ErrInvalidLengthVideoperson + } + return iNdEx, nil + case 3: + for { + var innerWire uint64 + var start int = iNdEx + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowVideoperson + } + 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 := skipVideoperson(dAtA[start:]) + if err != nil { + return 0, err + } + iNdEx = start + next + if iNdEx < 0 { + return 0, ErrInvalidLengthVideoperson + } + } + 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) + } + } + panic("unreachable") +} + +var ( + ErrInvalidLengthVideoperson = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflowVideoperson = fmt.Errorf("proto: integer overflow") +) -- Gitblit v1.8.0