From 5d9a71b33af87f59ce4104eb1b5da65f076a789d Mon Sep 17 00:00:00 2001 From: 554325746@qq.com <554325746@qq.com> Date: 星期二, 18 六月 2019 11:40:43 +0800 Subject: [PATCH] test multiple action --- protomsg.pb.go | 7397 +++++++++++++++++++++++++++++++++++++++++++++++++++------- 1 files changed, 6,435 insertions(+), 962 deletions(-) diff --git a/protomsg.pb.go b/protomsg.pb.go index 79f547c..6316ad8 100644 --- a/protomsg.pb.go +++ b/protomsg.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: protomsg.proto package protomsg import ( + encoding_binary "encoding/binary" fmt "fmt" proto "github.com/golang/protobuf/proto" + io "io" math "math" ) @@ -18,7 +20,7 @@ // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package //TableChanged enum type TableChanged int32 @@ -104,18 +106,26 @@ func (*TaskLabel) Descriptor() ([]byte, []int) { return fileDescriptor_32de24555f916688, []int{0} } - func (m *TaskLabel) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TaskLabel.Unmarshal(m, b) + return m.Unmarshal(b) } func (m *TaskLabel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TaskLabel.Marshal(b, m, deterministic) + if deterministic { + return xxx_messageInfo_TaskLabel.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 *TaskLabel) XXX_Merge(src proto.Message) { xxx_messageInfo_TaskLabel.Merge(m, src) } func (m *TaskLabel) XXX_Size() int { - return xxx_messageInfo_TaskLabel.Size(m) + return m.Size() } func (m *TaskLabel) XXX_DiscardUnknown() { xxx_messageInfo_TaskLabel.DiscardUnknown(m) @@ -146,14 +156,12 @@ //SdkMessage struct test type SdkMessage struct { - Cid string `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid,omitempty"` - Tasklab *TaskLabel `protobuf:"bytes,2,opt,name=tasklab,proto3" json:"tasklab,omitempty"` - Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` - Personaction *Personaction `protobuf:"bytes,4,opt,name=personaction,proto3" json:"personaction,omitempty"` - Vedioperson *Vediopersons `protobuf:"bytes,5,opt,name=vedioperson,proto3" json:"vedioperson,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Cid string `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid,omitempty"` + Tasklab *TaskLabel `protobuf:"bytes,2,opt,name=tasklab,proto3" json:"tasklab,omitempty"` + Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *SdkMessage) Reset() { *m = SdkMessage{} } @@ -162,18 +170,26 @@ func (*SdkMessage) Descriptor() ([]byte, []int) { return fileDescriptor_32de24555f916688, []int{1} } - func (m *SdkMessage) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SdkMessage.Unmarshal(m, b) + return m.Unmarshal(b) } func (m *SdkMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SdkMessage.Marshal(b, m, deterministic) + if deterministic { + return xxx_messageInfo_SdkMessage.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 *SdkMessage) XXX_Merge(src proto.Message) { xxx_messageInfo_SdkMessage.Merge(m, src) } func (m *SdkMessage) XXX_Size() int { - return xxx_messageInfo_SdkMessage.Size(m) + return m.Size() } func (m *SdkMessage) XXX_DiscardUnknown() { xxx_messageInfo_SdkMessage.DiscardUnknown(m) @@ -202,721 +218,6 @@ return nil } -func (m *SdkMessage) GetPersonaction() *Personaction { - if m != nil { - return m.Personaction - } - return nil -} - -func (m *SdkMessage) GetVedioperson() *Vediopersons { - if m != nil { - return m.Vedioperson - } - return nil -} - -type Personaction struct { - ImgKey string `protobuf:"bytes,1,opt,name=imgKey,proto3" json:"imgKey,omitempty"` - VideoReqNum string `protobuf:"bytes,2,opt,name=videoReqNum,proto3" json:"videoReqNum,omitempty"` - SdkType string `protobuf:"bytes,3,opt,name=sdkType,proto3" json:"sdkType,omitempty"` - PicName string `protobuf:"bytes,4,opt,name=picName,proto3" json:"picName,omitempty"` - Content string `protobuf:"bytes,5,opt,name=content,proto3" json:"content,omitempty"` - ClusterId string `protobuf:"bytes,6,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` - PersonPicUrl string `protobuf:"bytes,7,opt,name=personPicUrl,proto3" json:"personPicUrl,omitempty"` - ChannlId string `protobuf:"bytes,8,opt,name=channlId,proto3" json:"channlId,omitempty"` - LikeDate string `protobuf:"bytes,9,opt,name=likeDate,proto3" json:"likeDate,omitempty"` - PicAddress string `protobuf:"bytes,10,opt,name=picAddress,proto3" json:"picAddress,omitempty"` - PicMaxUrl string `protobuf:"bytes,11,opt,name=picMaxUrl,proto3" json:"picMaxUrl,omitempty"` - PicDate string `protobuf:"bytes,12,opt,name=picDate,proto3" json:"picDate,omitempty"` - PicLocalUrl string `protobuf:"bytes,13,opt,name=picLocalUrl,proto3" json:"picLocalUrl,omitempty"` - IsDelete string `protobuf:"bytes,14,opt,name=isDelete,proto3" json:"isDelete,omitempty"` - LikePer string `protobuf:"bytes,15,opt,name=likePer,proto3" json:"likePer,omitempty"` - BaseName string `protobuf:"bytes,16,opt,name=baseName,proto3" json:"baseName,omitempty"` - VideoNum string `protobuf:"bytes,17,opt,name=videoNum,proto3" json:"videoNum,omitempty"` - Collection string `protobuf:"bytes,18,opt,name=collection,proto3" json:"collection,omitempty"` - PicSmUrl string `protobuf:"bytes,19,opt,name=picSmUrl,proto3" json:"picSmUrl,omitempty"` - Indeviceid string `protobuf:"bytes,20,opt,name=indeviceid,proto3" json:"indeviceid,omitempty"` - Idcard string `protobuf:"bytes,21,opt,name=idcard,proto3" json:"idcard,omitempty"` - AckAlarm string `protobuf:"bytes,22,opt,name=ack_alarm,json=ackAlarm,proto3" json:"ack_alarm,omitempty"` - PersonId string `protobuf:"bytes,23,opt,name=personId,proto3" json:"personId,omitempty"` - Id string `protobuf:"bytes,24,opt,name=id,proto3" json:"id,omitempty"` - Indevicename string `protobuf:"bytes,25,opt,name=indevicename,proto3" json:"indevicename,omitempty"` - FaceFeature string `protobuf:"bytes,26,opt,name=faceFeature,proto3" json:"faceFeature,omitempty"` - PersonIsHub string `protobuf:"bytes,27,opt,name=personIsHub,proto3" json:"personIsHub,omitempty"` - VideoIp string `protobuf:"bytes,28,opt,name=videoIp,proto3" json:"videoIp,omitempty"` - TaskId string `protobuf:"bytes,29,opt,name=taskId,proto3" json:"taskId,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Personaction) Reset() { *m = Personaction{} } -func (m *Personaction) String() string { return proto.CompactTextString(m) } -func (*Personaction) ProtoMessage() {} -func (*Personaction) Descriptor() ([]byte, []int) { - return fileDescriptor_32de24555f916688, []int{2} -} - -func (m *Personaction) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Personaction.Unmarshal(m, b) -} -func (m *Personaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Personaction.Marshal(b, m, deterministic) -} -func (m *Personaction) XXX_Merge(src proto.Message) { - xxx_messageInfo_Personaction.Merge(m, src) -} -func (m *Personaction) XXX_Size() int { - return xxx_messageInfo_Personaction.Size(m) -} -func (m *Personaction) XXX_DiscardUnknown() { - xxx_messageInfo_Personaction.DiscardUnknown(m) -} - -var xxx_messageInfo_Personaction proto.InternalMessageInfo - -func (m *Personaction) GetImgKey() string { - if m != nil { - return m.ImgKey - } - return "" -} - -func (m *Personaction) GetVideoReqNum() string { - if m != nil { - return m.VideoReqNum - } - return "" -} - -func (m *Personaction) GetSdkType() string { - if m != nil { - return m.SdkType - } - return "" -} - -func (m *Personaction) GetPicName() string { - if m != nil { - return m.PicName - } - return "" -} - -func (m *Personaction) GetContent() string { - if m != nil { - return m.Content - } - return "" -} - -func (m *Personaction) GetClusterId() string { - if m != nil { - return m.ClusterId - } - return "" -} - -func (m *Personaction) GetPersonPicUrl() string { - if m != nil { - return m.PersonPicUrl - } - return "" -} - -func (m *Personaction) GetChannlId() string { - if m != nil { - return m.ChannlId - } - return "" -} - -func (m *Personaction) GetLikeDate() string { - if m != nil { - return m.LikeDate - } - return "" -} - -func (m *Personaction) GetPicAddress() string { - if m != nil { - return m.PicAddress - } - return "" -} - -func (m *Personaction) GetPicMaxUrl() string { - if m != nil { - return m.PicMaxUrl - } - return "" -} - -func (m *Personaction) GetPicDate() string { - if m != nil { - return m.PicDate - } - return "" -} - -func (m *Personaction) GetPicLocalUrl() string { - if m != nil { - return m.PicLocalUrl - } - return "" -} - -func (m *Personaction) GetIsDelete() string { - if m != nil { - return m.IsDelete - } - return "" -} - -func (m *Personaction) GetLikePer() string { - if m != nil { - return m.LikePer - } - return "" -} - -func (m *Personaction) GetBaseName() string { - if m != nil { - return m.BaseName - } - return "" -} - -func (m *Personaction) GetVideoNum() string { - if m != nil { - return m.VideoNum - } - return "" -} - -func (m *Personaction) GetCollection() string { - if m != nil { - return m.Collection - } - return "" -} - -func (m *Personaction) GetPicSmUrl() string { - if m != nil { - return m.PicSmUrl - } - return "" -} - -func (m *Personaction) GetIndeviceid() string { - if m != nil { - return m.Indeviceid - } - return "" -} - -func (m *Personaction) GetIdcard() string { - if m != nil { - return m.Idcard - } - return "" -} - -func (m *Personaction) GetAckAlarm() string { - if m != nil { - return m.AckAlarm - } - return "" -} - -func (m *Personaction) GetPersonId() string { - if m != nil { - return m.PersonId - } - return "" -} - -func (m *Personaction) GetId() string { - if m != nil { - return m.Id - } - return "" -} - -func (m *Personaction) GetIndevicename() string { - if m != nil { - return m.Indevicename - } - return "" -} - -func (m *Personaction) GetFaceFeature() string { - if m != nil { - return m.FaceFeature - } - return "" -} - -func (m *Personaction) GetPersonIsHub() string { - if m != nil { - return m.PersonIsHub - } - return "" -} - -func (m *Personaction) GetVideoIp() string { - if m != nil { - return m.VideoIp - } - return "" -} - -func (m *Personaction) GetTaskId() string { - if m != nil { - return m.TaskId - } - return "" -} - -type PersonBaseInfo struct { - PersonNamae string `protobuf:"bytes,1,opt,name=personNamae,proto3" json:"personNamae,omitempty"` - IDCard string `protobuf:"bytes,2,opt,name=iDCard,proto3" json:"iDCard,omitempty"` - Gender string `protobuf:"bytes,3,opt,name=gender,proto3" json:"gender,omitempty"` - PersonPicUrl string `protobuf:"bytes,4,opt,name=personPicUrl,proto3" json:"personPicUrl,omitempty"` - LikePer string `protobuf:"bytes,5,opt,name=likePer,proto3" json:"likePer,omitempty"` - TableId string `protobuf:"bytes,6,opt,name=tableId,proto3" json:"tableId,omitempty"` - MonitorLevel string `protobuf:"bytes,7,opt,name=monitorLevel,proto3" json:"monitorLevel,omitempty"` - PersonId string `protobuf:"bytes,8,opt,name=personId,proto3" json:"personId,omitempty"` - PhoneNum string `protobuf:"bytes,9,opt,name=phoneNum,proto3" json:"phoneNum,omitempty"` - Content string `protobuf:"bytes,10,opt,name=content,proto3" json:"content,omitempty"` - TableName string `protobuf:"bytes,11,opt,name=tableName,proto3" json:"tableName,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *PersonBaseInfo) Reset() { *m = PersonBaseInfo{} } -func (m *PersonBaseInfo) String() string { return proto.CompactTextString(m) } -func (*PersonBaseInfo) ProtoMessage() {} -func (*PersonBaseInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_32de24555f916688, []int{3} -} - -func (m *PersonBaseInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PersonBaseInfo.Unmarshal(m, b) -} -func (m *PersonBaseInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PersonBaseInfo.Marshal(b, m, deterministic) -} -func (m *PersonBaseInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_PersonBaseInfo.Merge(m, src) -} -func (m *PersonBaseInfo) XXX_Size() int { - return xxx_messageInfo_PersonBaseInfo.Size(m) -} -func (m *PersonBaseInfo) XXX_DiscardUnknown() { - xxx_messageInfo_PersonBaseInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_PersonBaseInfo proto.InternalMessageInfo - -func (m *PersonBaseInfo) GetPersonNamae() string { - if m != nil { - return m.PersonNamae - } - return "" -} - -func (m *PersonBaseInfo) GetIDCard() string { - if m != nil { - return m.IDCard - } - return "" -} - -func (m *PersonBaseInfo) GetGender() string { - if m != nil { - return m.Gender - } - return "" -} - -func (m *PersonBaseInfo) GetPersonPicUrl() string { - if m != nil { - return m.PersonPicUrl - } - return "" -} - -func (m *PersonBaseInfo) GetLikePer() string { - if m != nil { - return m.LikePer - } - return "" -} - -func (m *PersonBaseInfo) GetTableId() string { - if m != nil { - return m.TableId - } - return "" -} - -func (m *PersonBaseInfo) GetMonitorLevel() string { - if m != nil { - return m.MonitorLevel - } - return "" -} - -func (m *PersonBaseInfo) GetPersonId() string { - if m != nil { - return m.PersonId - } - return "" -} - -func (m *PersonBaseInfo) GetPhoneNum() string { - if m != nil { - return m.PhoneNum - } - return "" -} - -func (m *PersonBaseInfo) GetContent() string { - if m != nil { - return m.Content - } - return "" -} - -func (m *PersonBaseInfo) GetTableName() string { - if m != nil { - return m.TableName - } - return "" -} - -type Vediopersons struct { - ID string `protobuf:"bytes,1,opt,name=iD,proto3" json:"iD,omitempty"` - VideoReqNum string `protobuf:"bytes,2,opt,name=videoReqNum,proto3" json:"videoReqNum,omitempty"` - SdkType string `protobuf:"bytes,3,opt,name=sdkType,proto3" json:"sdkType,omitempty"` - Gender string `protobuf:"bytes,4,opt,name=gender,proto3" json:"gender,omitempty"` - PicName string `protobuf:"bytes,5,opt,name=picName,proto3" json:"picName,omitempty"` - Content string `protobuf:"bytes,6,opt,name=content,proto3" json:"content,omitempty"` - PersonPicUrl string `protobuf:"bytes,7,opt,name=personPicUrl,proto3" json:"personPicUrl,omitempty"` - ChannlId string `protobuf:"bytes,8,opt,name=channlId,proto3" json:"channlId,omitempty"` - LikeDate string `protobuf:"bytes,9,opt,name=likeDate,proto3" json:"likeDate,omitempty"` - Race string `protobuf:"bytes,10,opt,name=race,proto3" json:"race,omitempty"` - PciAddress string `protobuf:"bytes,11,opt,name=pciAddress,proto3" json:"pciAddress,omitempty"` - PicMaxUrl string `protobuf:"bytes,12,opt,name=picMaxUrl,proto3" json:"picMaxUrl,omitempty"` - Age string `protobuf:"bytes,13,opt,name=age,proto3" json:"age,omitempty"` - PicDate string `protobuf:"bytes,14,opt,name=picDate,proto3" json:"picDate,omitempty"` - PicLocalUrl string `protobuf:"bytes,15,opt,name=picLocalUrl,proto3" json:"picLocalUrl,omitempty"` - IsDelete string `protobuf:"bytes,16,opt,name=isDelete,proto3" json:"isDelete,omitempty"` - TableName []string `protobuf:"bytes,17,rep,name=tableName,proto3" json:"tableName,omitempty"` - VideoNum string `protobuf:"bytes,18,opt,name=videoNum,proto3" json:"videoNum,omitempty"` - PicSmUrl string `protobuf:"bytes,19,opt,name=picSmUrl,proto3" json:"picSmUrl,omitempty"` - SimleLevel string `protobuf:"bytes,20,opt,name=simleLevel,proto3" json:"simleLevel,omitempty"` - IndeviceId string `protobuf:"bytes,21,opt,name=indeviceId,proto3" json:"indeviceId,omitempty"` - IDcard []string `protobuf:"bytes,22,rep,name=iDcard,proto3" json:"iDcard,omitempty"` - PersonId []string `protobuf:"bytes,23,rep,name=personId,proto3" json:"personId,omitempty"` - BeautyLevel string `protobuf:"bytes,24,opt,name=beautyLevel,proto3" json:"beautyLevel,omitempty"` - IndeviceName string `protobuf:"bytes,25,opt,name=indeviceName,proto3" json:"indeviceName,omitempty"` - FaceFeature string `protobuf:"bytes,26,opt,name=faceFeature,proto3" json:"faceFeature,omitempty"` - PersonIsHub string `protobuf:"bytes,27,opt,name=personIsHub,proto3" json:"personIsHub,omitempty"` - VideoIp string `protobuf:"bytes,28,opt,name=videoIp,proto3" json:"videoIp,omitempty"` - AckAlarm string `protobuf:"bytes,29,opt,name=ackAlarm,proto3" json:"ackAlarm,omitempty"` - ClusterId string `protobuf:"bytes,30,opt,name=clusterId,proto3" json:"clusterId,omitempty"` - TaskId string `protobuf:"bytes,31,opt,name=taskId,proto3" json:"taskId,omitempty"` - TaskName string `protobuf:"bytes,32,opt,name=taskName,proto3" json:"taskName,omitempty"` - Baseinfo []*PersonBaseInfo `protobuf:"bytes,33,rep,name=baseinfo,proto3" json:"baseinfo,omitempty"` - Collection string `protobuf:"bytes,34,opt,name=collection,proto3" json:"collection,omitempty"` - AgeDescription string `protobuf:"bytes,35,opt,name=ageDescription,proto3" json:"ageDescription,omitempty"` - TableId []string `protobuf:"bytes,36,rep,name=tableId,proto3" json:"tableId,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Vediopersons) Reset() { *m = Vediopersons{} } -func (m *Vediopersons) String() string { return proto.CompactTextString(m) } -func (*Vediopersons) ProtoMessage() {} -func (*Vediopersons) Descriptor() ([]byte, []int) { - return fileDescriptor_32de24555f916688, []int{4} -} - -func (m *Vediopersons) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Vediopersons.Unmarshal(m, b) -} -func (m *Vediopersons) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Vediopersons.Marshal(b, m, deterministic) -} -func (m *Vediopersons) XXX_Merge(src proto.Message) { - xxx_messageInfo_Vediopersons.Merge(m, src) -} -func (m *Vediopersons) XXX_Size() int { - return xxx_messageInfo_Vediopersons.Size(m) -} -func (m *Vediopersons) XXX_DiscardUnknown() { - xxx_messageInfo_Vediopersons.DiscardUnknown(m) -} - -var xxx_messageInfo_Vediopersons proto.InternalMessageInfo - -func (m *Vediopersons) GetID() string { - if m != nil { - return m.ID - } - return "" -} - -func (m *Vediopersons) GetVideoReqNum() string { - if m != nil { - return m.VideoReqNum - } - return "" -} - -func (m *Vediopersons) GetSdkType() string { - if m != nil { - return m.SdkType - } - return "" -} - -func (m *Vediopersons) GetGender() string { - if m != nil { - return m.Gender - } - return "" -} - -func (m *Vediopersons) GetPicName() string { - if m != nil { - return m.PicName - } - return "" -} - -func (m *Vediopersons) GetContent() string { - if m != nil { - return m.Content - } - return "" -} - -func (m *Vediopersons) GetPersonPicUrl() string { - if m != nil { - return m.PersonPicUrl - } - return "" -} - -func (m *Vediopersons) GetChannlId() string { - if m != nil { - return m.ChannlId - } - return "" -} - -func (m *Vediopersons) GetLikeDate() string { - if m != nil { - return m.LikeDate - } - return "" -} - -func (m *Vediopersons) GetRace() string { - if m != nil { - return m.Race - } - return "" -} - -func (m *Vediopersons) GetPciAddress() string { - if m != nil { - return m.PciAddress - } - return "" -} - -func (m *Vediopersons) GetPicMaxUrl() string { - if m != nil { - return m.PicMaxUrl - } - return "" -} - -func (m *Vediopersons) GetAge() string { - if m != nil { - return m.Age - } - return "" -} - -func (m *Vediopersons) GetPicDate() string { - if m != nil { - return m.PicDate - } - return "" -} - -func (m *Vediopersons) GetPicLocalUrl() string { - if m != nil { - return m.PicLocalUrl - } - return "" -} - -func (m *Vediopersons) GetIsDelete() string { - if m != nil { - return m.IsDelete - } - return "" -} - -func (m *Vediopersons) GetTableName() []string { - if m != nil { - return m.TableName - } - return nil -} - -func (m *Vediopersons) GetVideoNum() string { - if m != nil { - return m.VideoNum - } - return "" -} - -func (m *Vediopersons) GetPicSmUrl() string { - if m != nil { - return m.PicSmUrl - } - return "" -} - -func (m *Vediopersons) GetSimleLevel() string { - if m != nil { - return m.SimleLevel - } - return "" -} - -func (m *Vediopersons) GetIndeviceId() string { - if m != nil { - return m.IndeviceId - } - return "" -} - -func (m *Vediopersons) GetIDcard() []string { - if m != nil { - return m.IDcard - } - return nil -} - -func (m *Vediopersons) GetPersonId() []string { - if m != nil { - return m.PersonId - } - return nil -} - -func (m *Vediopersons) GetBeautyLevel() string { - if m != nil { - return m.BeautyLevel - } - return "" -} - -func (m *Vediopersons) GetIndeviceName() string { - if m != nil { - return m.IndeviceName - } - return "" -} - -func (m *Vediopersons) GetFaceFeature() string { - if m != nil { - return m.FaceFeature - } - return "" -} - -func (m *Vediopersons) GetPersonIsHub() string { - if m != nil { - return m.PersonIsHub - } - return "" -} - -func (m *Vediopersons) GetVideoIp() string { - if m != nil { - return m.VideoIp - } - return "" -} - -func (m *Vediopersons) GetAckAlarm() string { - if m != nil { - return m.AckAlarm - } - return "" -} - -func (m *Vediopersons) GetClusterId() string { - if m != nil { - return m.ClusterId - } - return "" -} - -func (m *Vediopersons) GetTaskId() string { - if m != nil { - return m.TaskId - } - return "" -} - -func (m *Vediopersons) GetTaskName() string { - if m != nil { - return m.TaskName - } - return "" -} - -func (m *Vediopersons) GetBaseinfo() []*PersonBaseInfo { - if m != nil { - return m.Baseinfo - } - return nil -} - -func (m *Vediopersons) GetCollection() string { - if m != nil { - return m.Collection - } - return "" -} - -func (m *Vediopersons) GetAgeDescription() string { - if m != nil { - return m.AgeDescription - } - return "" -} - -func (m *Vediopersons) GetTableId() []string { - if m != nil { - return m.TableId - } - return nil -} - //Area缁撴瀯浣� type Area struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` @@ -931,20 +232,28 @@ func (m *Area) String() string { return proto.CompactTextString(m) } func (*Area) ProtoMessage() {} func (*Area) Descriptor() ([]byte, []int) { - return fileDescriptor_32de24555f916688, []int{5} + return fileDescriptor_32de24555f916688, []int{2} } - func (m *Area) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Area.Unmarshal(m, b) + return m.Unmarshal(b) } func (m *Area) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Area.Marshal(b, m, deterministic) + if deterministic { + return xxx_messageInfo_Area.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 *Area) XXX_Merge(src proto.Message) { xxx_messageInfo_Area.Merge(m, src) } func (m *Area) XXX_Size() int { - return xxx_messageInfo_Area.Size(m) + return m.Size() } func (m *Area) XXX_DiscardUnknown() { xxx_messageInfo_Area.DiscardUnknown(m) @@ -998,20 +307,28 @@ func (m *Camera) String() string { return proto.CompactTextString(m) } func (*Camera) ProtoMessage() {} func (*Camera) Descriptor() ([]byte, []int) { - return fileDescriptor_32de24555f916688, []int{6} + return fileDescriptor_32de24555f916688, []int{3} } - func (m *Camera) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Camera.Unmarshal(m, b) + return m.Unmarshal(b) } func (m *Camera) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Camera.Marshal(b, m, deterministic) + if deterministic { + return xxx_messageInfo_Camera.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 *Camera) XXX_Merge(src proto.Message) { xxx_messageInfo_Camera.Merge(m, src) } func (m *Camera) XXX_Size() int { - return xxx_messageInfo_Camera.Size(m) + return m.Size() } func (m *Camera) XXX_DiscardUnknown() { xxx_messageInfo_Camera.DiscardUnknown(m) @@ -1130,20 +447,28 @@ func (m *CameraAndTaskInfo) String() string { return proto.CompactTextString(m) } func (*CameraAndTaskInfo) ProtoMessage() {} func (*CameraAndTaskInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_32de24555f916688, []int{7} + return fileDescriptor_32de24555f916688, []int{4} } - func (m *CameraAndTaskInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CameraAndTaskInfo.Unmarshal(m, b) + return m.Unmarshal(b) } func (m *CameraAndTaskInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CameraAndTaskInfo.Marshal(b, m, deterministic) + if deterministic { + return xxx_messageInfo_CameraAndTaskInfo.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 *CameraAndTaskInfo) XXX_Merge(src proto.Message) { xxx_messageInfo_CameraAndTaskInfo.Merge(m, src) } func (m *CameraAndTaskInfo) XXX_Size() int { - return xxx_messageInfo_CameraAndTaskInfo.Size(m) + return m.Size() } func (m *CameraAndTaskInfo) XXX_DiscardUnknown() { xxx_messageInfo_CameraAndTaskInfo.DiscardUnknown(m) @@ -1184,20 +509,28 @@ func (m *Task) String() string { return proto.CompactTextString(m) } func (*Task) ProtoMessage() {} func (*Task) Descriptor() ([]byte, []int) { - return fileDescriptor_32de24555f916688, []int{8} + return fileDescriptor_32de24555f916688, []int{5} } - func (m *Task) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Task.Unmarshal(m, b) + return m.Unmarshal(b) } func (m *Task) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Task.Marshal(b, m, deterministic) + if deterministic { + return xxx_messageInfo_Task.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 *Task) XXX_Merge(src proto.Message) { xxx_messageInfo_Task.Merge(m, src) } func (m *Task) XXX_Size() int { - return xxx_messageInfo_Task.Size(m) + return m.Size() } func (m *Task) XXX_DiscardUnknown() { xxx_messageInfo_Task.DiscardUnknown(m) @@ -1273,20 +606,28 @@ func (m *TaskSdkInfo) String() string { return proto.CompactTextString(m) } func (*TaskSdkInfo) ProtoMessage() {} func (*TaskSdkInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_32de24555f916688, []int{9} + return fileDescriptor_32de24555f916688, []int{6} } - func (m *TaskSdkInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TaskSdkInfo.Unmarshal(m, b) + return m.Unmarshal(b) } func (m *TaskSdkInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TaskSdkInfo.Marshal(b, m, deterministic) + if deterministic { + return xxx_messageInfo_TaskSdkInfo.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 *TaskSdkInfo) XXX_Merge(src proto.Message) { xxx_messageInfo_TaskSdkInfo.Merge(m, src) } func (m *TaskSdkInfo) XXX_Size() int { - return xxx_messageInfo_TaskSdkInfo.Size(m) + return m.Size() } func (m *TaskSdkInfo) XXX_DiscardUnknown() { xxx_messageInfo_TaskSdkInfo.DiscardUnknown(m) @@ -1331,20 +672,28 @@ func (m *CameraTask) String() string { return proto.CompactTextString(m) } func (*CameraTask) ProtoMessage() {} func (*CameraTask) Descriptor() ([]byte, []int) { - return fileDescriptor_32de24555f916688, []int{10} + return fileDescriptor_32de24555f916688, []int{7} } - func (m *CameraTask) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CameraTask.Unmarshal(m, b) + return m.Unmarshal(b) } func (m *CameraTask) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CameraTask.Marshal(b, m, deterministic) + if deterministic { + return xxx_messageInfo_CameraTask.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 *CameraTask) XXX_Merge(src proto.Message) { xxx_messageInfo_CameraTask.Merge(m, src) } func (m *CameraTask) XXX_Size() int { - return xxx_messageInfo_CameraTask.Size(m) + return m.Size() } func (m *CameraTask) XXX_DiscardUnknown() { xxx_messageInfo_CameraTask.DiscardUnknown(m) @@ -1450,20 +799,28 @@ func (m *CameraTimerule) String() string { return proto.CompactTextString(m) } func (*CameraTimerule) ProtoMessage() {} func (*CameraTimerule) Descriptor() ([]byte, []int) { - return fileDescriptor_32de24555f916688, []int{11} + return fileDescriptor_32de24555f916688, []int{8} } - func (m *CameraTimerule) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CameraTimerule.Unmarshal(m, b) + return m.Unmarshal(b) } func (m *CameraTimerule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CameraTimerule.Marshal(b, m, deterministic) + if deterministic { + return xxx_messageInfo_CameraTimerule.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 *CameraTimerule) XXX_Merge(src proto.Message) { xxx_messageInfo_CameraTimerule.Merge(m, src) } func (m *CameraTimerule) XXX_Size() int { - return xxx_messageInfo_CameraTimerule.Size(m) + return m.Size() } func (m *CameraTimerule) XXX_DiscardUnknown() { xxx_messageInfo_CameraTimerule.DiscardUnknown(m) @@ -1505,20 +862,28 @@ func (m *DayCtl) String() string { return proto.CompactTextString(m) } func (*DayCtl) ProtoMessage() {} func (*DayCtl) Descriptor() ([]byte, []int) { - return fileDescriptor_32de24555f916688, []int{12} + return fileDescriptor_32de24555f916688, []int{9} } - func (m *DayCtl) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DayCtl.Unmarshal(m, b) + return m.Unmarshal(b) } func (m *DayCtl) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DayCtl.Marshal(b, m, deterministic) + if deterministic { + return xxx_messageInfo_DayCtl.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 *DayCtl) XXX_Merge(src proto.Message) { xxx_messageInfo_DayCtl.Merge(m, src) } func (m *DayCtl) XXX_Size() int { - return xxx_messageInfo_DayCtl.Size(m) + return m.Size() } func (m *DayCtl) XXX_DiscardUnknown() { xxx_messageInfo_DayCtl.DiscardUnknown(m) @@ -1553,20 +918,28 @@ func (m *TimeRange) String() string { return proto.CompactTextString(m) } func (*TimeRange) ProtoMessage() {} func (*TimeRange) Descriptor() ([]byte, []int) { - return fileDescriptor_32de24555f916688, []int{13} + return fileDescriptor_32de24555f916688, []int{10} } - func (m *TimeRange) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TimeRange.Unmarshal(m, b) + return m.Unmarshal(b) } func (m *TimeRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TimeRange.Marshal(b, m, deterministic) + if deterministic { + return xxx_messageInfo_TimeRange.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 *TimeRange) XXX_Merge(src proto.Message) { xxx_messageInfo_TimeRange.Merge(m, src) } func (m *TimeRange) XXX_Size() int { - return xxx_messageInfo_TimeRange.Size(m) + return m.Size() } func (m *TimeRange) XXX_DiscardUnknown() { xxx_messageInfo_TimeRange.DiscardUnknown(m) @@ -1602,20 +975,28 @@ func (m *Polygon) String() string { return proto.CompactTextString(m) } func (*Polygon) ProtoMessage() {} func (*Polygon) Descriptor() ([]byte, []int) { - return fileDescriptor_32de24555f916688, []int{14} + return fileDescriptor_32de24555f916688, []int{11} } - func (m *Polygon) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Polygon.Unmarshal(m, b) + return m.Unmarshal(b) } func (m *Polygon) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Polygon.Marshal(b, m, deterministic) + if deterministic { + return xxx_messageInfo_Polygon.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 *Polygon) XXX_Merge(src proto.Message) { xxx_messageInfo_Polygon.Merge(m, src) } func (m *Polygon) XXX_Size() int { - return xxx_messageInfo_Polygon.Size(m) + return m.Size() } func (m *Polygon) XXX_DiscardUnknown() { xxx_messageInfo_Polygon.DiscardUnknown(m) @@ -1656,20 +1037,28 @@ func (m *CameraTaskArgs) String() string { return proto.CompactTextString(m) } func (*CameraTaskArgs) ProtoMessage() {} func (*CameraTaskArgs) Descriptor() ([]byte, []int) { - return fileDescriptor_32de24555f916688, []int{15} + return fileDescriptor_32de24555f916688, []int{12} } - func (m *CameraTaskArgs) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CameraTaskArgs.Unmarshal(m, b) + return m.Unmarshal(b) } func (m *CameraTaskArgs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CameraTaskArgs.Marshal(b, m, deterministic) + if deterministic { + return xxx_messageInfo_CameraTaskArgs.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 *CameraTaskArgs) XXX_Merge(src proto.Message) { xxx_messageInfo_CameraTaskArgs.Merge(m, src) } func (m *CameraTaskArgs) XXX_Size() int { - return xxx_messageInfo_CameraTaskArgs.Size(m) + return m.Size() } func (m *CameraTaskArgs) XXX_DiscardUnknown() { xxx_messageInfo_CameraTaskArgs.DiscardUnknown(m) @@ -1703,20 +1092,28 @@ func (m *TaskGroupArgs) String() string { return proto.CompactTextString(m) } func (*TaskGroupArgs) ProtoMessage() {} func (*TaskGroupArgs) Descriptor() ([]byte, []int) { - return fileDescriptor_32de24555f916688, []int{16} + return fileDescriptor_32de24555f916688, []int{13} } - func (m *TaskGroupArgs) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TaskGroupArgs.Unmarshal(m, b) + return m.Unmarshal(b) } func (m *TaskGroupArgs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TaskGroupArgs.Marshal(b, m, deterministic) + if deterministic { + return xxx_messageInfo_TaskGroupArgs.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 *TaskGroupArgs) XXX_Merge(src proto.Message) { xxx_messageInfo_TaskGroupArgs.Merge(m, src) } func (m *TaskGroupArgs) XXX_Size() int { - return xxx_messageInfo_TaskGroupArgs.Size(m) + return m.Size() } func (m *TaskGroupArgs) XXX_DiscardUnknown() { xxx_messageInfo_TaskGroupArgs.DiscardUnknown(m) @@ -1750,20 +1147,28 @@ func (m *GroupRule) String() string { return proto.CompactTextString(m) } func (*GroupRule) ProtoMessage() {} func (*GroupRule) Descriptor() ([]byte, []int) { - return fileDescriptor_32de24555f916688, []int{17} + return fileDescriptor_32de24555f916688, []int{14} } - func (m *GroupRule) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GroupRule.Unmarshal(m, b) + return m.Unmarshal(b) } func (m *GroupRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GroupRule.Marshal(b, m, deterministic) + if deterministic { + return xxx_messageInfo_GroupRule.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 *GroupRule) XXX_Merge(src proto.Message) { xxx_messageInfo_GroupRule.Merge(m, src) } func (m *GroupRule) XXX_Size() int { - return xxx_messageInfo_GroupRule.Size(m) + return m.Size() } func (m *GroupRule) XXX_DiscardUnknown() { xxx_messageInfo_GroupRule.DiscardUnknown(m) @@ -1807,20 +1212,28 @@ func (m *Rule) String() string { return proto.CompactTextString(m) } func (*Rule) ProtoMessage() {} func (*Rule) Descriptor() ([]byte, []int) { - return fileDescriptor_32de24555f916688, []int{18} + return fileDescriptor_32de24555f916688, []int{15} } - func (m *Rule) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Rule.Unmarshal(m, b) + return m.Unmarshal(b) } func (m *Rule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Rule.Marshal(b, m, deterministic) + if deterministic { + return xxx_messageInfo_Rule.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 *Rule) XXX_Merge(src proto.Message) { xxx_messageInfo_Rule.Merge(m, src) } func (m *Rule) XXX_Size() int { - return xxx_messageInfo_Rule.Size(m) + return m.Size() } func (m *Rule) XXX_DiscardUnknown() { xxx_messageInfo_Rule.DiscardUnknown(m) @@ -1934,20 +1347,28 @@ func (m *Sdk) String() string { return proto.CompactTextString(m) } func (*Sdk) ProtoMessage() {} func (*Sdk) Descriptor() ([]byte, []int) { - return fileDescriptor_32de24555f916688, []int{19} + return fileDescriptor_32de24555f916688, []int{16} } - func (m *Sdk) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Sdk.Unmarshal(m, b) + return m.Unmarshal(b) } func (m *Sdk) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Sdk.Marshal(b, m, deterministic) + if deterministic { + return xxx_messageInfo_Sdk.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 *Sdk) XXX_Merge(src proto.Message) { xxx_messageInfo_Sdk.Merge(m, src) } func (m *Sdk) XXX_Size() int { - return xxx_messageInfo_Sdk.Size(m) + return m.Size() } func (m *Sdk) XXX_DiscardUnknown() { xxx_messageInfo_Sdk.DiscardUnknown(m) @@ -2050,20 +1471,28 @@ func (m *SdkArg) String() string { return proto.CompactTextString(m) } func (*SdkArg) ProtoMessage() {} func (*SdkArg) Descriptor() ([]byte, []int) { - return fileDescriptor_32de24555f916688, []int{20} + return fileDescriptor_32de24555f916688, []int{17} } - func (m *SdkArg) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SdkArg.Unmarshal(m, b) + return m.Unmarshal(b) } func (m *SdkArg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SdkArg.Marshal(b, m, deterministic) + if deterministic { + return xxx_messageInfo_SdkArg.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 *SdkArg) XXX_Merge(src proto.Message) { xxx_messageInfo_SdkArg.Merge(m, src) } func (m *SdkArg) XXX_Size() int { - return xxx_messageInfo_SdkArg.Size(m) + return m.Size() } func (m *SdkArg) XXX_DiscardUnknown() { xxx_messageInfo_SdkArg.DiscardUnknown(m) @@ -2135,20 +1564,28 @@ func (m *DbChangeMessage) String() string { return proto.CompactTextString(m) } func (*DbChangeMessage) ProtoMessage() {} func (*DbChangeMessage) Descriptor() ([]byte, []int) { - return fileDescriptor_32de24555f916688, []int{21} + return fileDescriptor_32de24555f916688, []int{18} } - func (m *DbChangeMessage) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DbChangeMessage.Unmarshal(m, b) + return m.Unmarshal(b) } func (m *DbChangeMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DbChangeMessage.Marshal(b, m, deterministic) + if deterministic { + return xxx_messageInfo_DbChangeMessage.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 *DbChangeMessage) XXX_Merge(src proto.Message) { xxx_messageInfo_DbChangeMessage.Merge(m, src) } func (m *DbChangeMessage) XXX_Size() int { - return xxx_messageInfo_DbChangeMessage.Size(m) + return m.Size() } func (m *DbChangeMessage) XXX_DiscardUnknown() { xxx_messageInfo_DbChangeMessage.DiscardUnknown(m) @@ -2202,20 +1639,28 @@ func (m *CameraPolygon) String() string { return proto.CompactTextString(m) } func (*CameraPolygon) ProtoMessage() {} func (*CameraPolygon) Descriptor() ([]byte, []int) { - return fileDescriptor_32de24555f916688, []int{22} + return fileDescriptor_32de24555f916688, []int{19} } - func (m *CameraPolygon) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CameraPolygon.Unmarshal(m, b) + return m.Unmarshal(b) } func (m *CameraPolygon) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CameraPolygon.Marshal(b, m, deterministic) + if deterministic { + return xxx_messageInfo_CameraPolygon.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 *CameraPolygon) XXX_Merge(src proto.Message) { xxx_messageInfo_CameraPolygon.Merge(m, src) } func (m *CameraPolygon) XXX_Size() int { - return xxx_messageInfo_CameraPolygon.Size(m) + return m.Size() } func (m *CameraPolygon) XXX_DiscardUnknown() { xxx_messageInfo_CameraPolygon.DiscardUnknown(m) @@ -2284,9 +1729,6 @@ proto.RegisterEnum("protomsg.DbAction", DbAction_name, DbAction_value) proto.RegisterType((*TaskLabel)(nil), "protomsg.TaskLabel") proto.RegisterType((*SdkMessage)(nil), "protomsg.SdkMessage") - proto.RegisterType((*Personaction)(nil), "protomsg.Personaction") - proto.RegisterType((*PersonBaseInfo)(nil), "protomsg.PersonBaseInfo") - proto.RegisterType((*Vediopersons)(nil), "protomsg.Vediopersons") proto.RegisterType((*Area)(nil), "protomsg.Area") proto.RegisterType((*Camera)(nil), "protomsg.Camera") proto.RegisterType((*CameraAndTaskInfo)(nil), "protomsg.CameraAndTaskInfo") @@ -2310,140 +1752,6171 @@ func init() { proto.RegisterFile("protomsg.proto", fileDescriptor_32de24555f916688) } var fileDescriptor_32de24555f916688 = []byte{ - // 2160 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x58, 0xcd, 0x92, 0xdb, 0xc6, - 0x11, 0x36, 0xff, 0x89, 0xe6, 0x8f, 0x28, 0x58, 0x96, 0xa0, 0x3f, 0x9b, 0x82, 0x94, 0x44, 0xa5, - 0x8a, 0x75, 0x90, 0x75, 0x48, 0xe5, 0xb6, 0xd6, 0x96, 0x12, 0x56, 0xe4, 0x2d, 0x19, 0xbb, 0x56, - 0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x3f, - 0xb6, 0xe0, 0x29, 0x62, 0x4f, 0xfe, 0x04, 0xe3, 0x3a, 0xad, 0xfe, 0x18, 0x86, 0x67, 0x4b, 0x26, - 0x60, 0xf6, 0x91, 0x3f, 0x83, 0xb1, 0xb3, 0x50, 0xa9, 0x66, 0x2d, 0xff, 0x06, 0xcc, 0xea, 0x08, - 0x2a, 0xf3, 0xac, 0xed, 0x03, 0xf4, 0xcf, 0x96, 0x34, 0xa3, 0xe3, 0x4f, 0xc0, 0xe3, 0xf1, 0xa9, - 0xdc, 0xcc, 0xba, 0xfe, 0x75, 0x98, 0x94, 0x26, 0x2a, 0xe4, 0xac, 0xe7, 0x7b, 0xd0, 0x3b, 0x5b, - 0xa2, 0xb7, 0xff, 0xe4, 0x29, 0x0c, 0x5d, 0x58, 0x70, 0x91, 0x45, 0x6a, 0x54, 0x5e, 0xcc, 0x3e, - 0xc2, 0xf1, 0x37, 0x74, 0x27, 0x66, 0x2d, 0x1c, 0xf3, 0x57, 0xeb, 0xac, 0xbd, 0xea, 0x53, 0x34, - 0xbf, 0xf8, 0x7f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xcf, 0xee, 0xb2, 0xb3, 0x78, 0x16, 0x00, 0x00, + // 1447 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x56, 0xcd, 0x8e, 0xd4, 0xc6, + 0x13, 0xc7, 0xf3, 0x69, 0xd7, 0x7c, 0x30, 0xf4, 0x9f, 0x3f, 0x18, 0x08, 0x9b, 0xc5, 0x10, 0x65, + 0x85, 0x12, 0x0e, 0x0b, 0x2f, 0x30, 0xb0, 0x22, 0x5a, 0x89, 0x20, 0xe8, 0xdd, 0x90, 0x5b, 0xac, + 0x9e, 0xe9, 0xde, 0xc1, 0x1a, 0xaf, 0x3d, 0xea, 0xee, 0x81, 0xec, 0x21, 0xcf, 0x90, 0x2b, 0xef, + 0x90, 0x17, 0xe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 0x34, 0xdc, 0x54, 0x93, 0x80, + 0x5d, 0x86, 0x49, 0x13, 0xc1, 0xcd, 0x3c, 0x69, 0x31, 0x80, 0xde, 0x71, 0x4a, 0x1e, 0x6d, 0x36, + 0x82, 0xc8, 0xc9, 0x47, 0x72, 0x39, 0xe9, 0xb0, 0x4b, 0x30, 0xaa, 0x55, 0xdc, 0x90, 0x93, 0x2e, + 0x8b, 0xa0, 0x7b, 0x9c, 0xa2, 0xb5, 0x77, 0xf7, 0x1e, 0x84, 0x55, 0x59, 0x30, 0xc8, 0x61, 0x61, + 0x94, 0xb6, 0x93, 0x0b, 0x28, 0x7f, 0x47, 0x33, 0x31, 0x09, 0x50, 0x3e, 0x50, 0xb9, 0xb2, 0x6a, + 0xd2, 0x7a, 0x38, 0x79, 0xfb, 0x6e, 0x27, 0xf8, 0xf5, 0xdd, 0x4e, 0xf0, 0xfb, 0xbb, 0x9d, 0xe0, + 0xcd, 0x1f, 0x3b, 0x17, 0x66, 0x3d, 0xaa, 0xef, 0xfd, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0x0d, + 0x90, 0x06, 0x83, 0x3a, 0x0d, 0x00, 0x00, } + +func (m *TaskLabel) 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 *TaskLabel) MarshalTo(dAtA []byte) (int, error) { + var i int + _ = i + var l int + _ = l + if len(m.Taskid) > 0 { + dAtA[i] = 0xa + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Taskid))) + i += copy(dAtA[i:], m.Taskid) + } + if len(m.Sdkids) > 0 { + for _, s := range m.Sdkids { + dAtA[i] = 0x12 + 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 m.Index != 0 { + dAtA[i] = 0x18 + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(m.Index)) + } + if m.XXX_unrecognized != nil { + i += copy(dAtA[i:], m.XXX_unrecognized) + } + return i, nil +} + +func (m *SdkMessage) 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 *SdkMessage) MarshalTo(dAtA []byte) (int, error) { + var i int + _ = i + var l int + _ = l + if len(m.Cid) > 0 { + dAtA[i] = 0xa + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Cid))) + i += copy(dAtA[i:], m.Cid) + } + if m.Tasklab != nil { + dAtA[i] = 0x12 + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(m.Tasklab.Size())) + n1, err1 := m.Tasklab.MarshalTo(dAtA[i:]) + if err1 != nil { + return 0, err1 + } + i += n1 + } + if len(m.Data) > 0 { + dAtA[i] = 0x1a + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Data))) + i += copy(dAtA[i:], m.Data) + } + if m.XXX_unrecognized != nil { + i += copy(dAtA[i:], m.XXX_unrecognized) + } + return i, nil +} + +func (m *Area) 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 *Area) MarshalTo(dAtA []byte) (int, error) { + var i int + _ = i + var l int + _ = l + if m.Id != 0 { + dAtA[i] = 0x8 + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(m.Id)) + } + if m.Parentid != 0 { + dAtA[i] = 0x10 + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(m.Parentid)) + } + if len(m.Name) > 0 { + dAtA[i] = 0x1a + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Name))) + i += copy(dAtA[i:], m.Name) + } + if m.XXX_unrecognized != nil { + i += copy(dAtA[i:], m.XXX_unrecognized) + } + return i, nil +} + +func (m *Camera) 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 *Camera) MarshalTo(dAtA []byte) (int, error) { + var i int + _ = i + var l int + _ = l + if len(m.Id) > 0 { + dAtA[i] = 0xa + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Id))) + i += copy(dAtA[i:], m.Id) + } + if len(m.Name) > 0 { + dAtA[i] = 0x12 + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Name))) + i += copy(dAtA[i:], m.Name) + } + if m.Type != 0 { + dAtA[i] = 0x18 + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(m.Type)) + } + if len(m.Addr) > 0 { + dAtA[i] = 0x22 + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Addr))) + i += copy(dAtA[i:], m.Addr) + } + if m.Areaid != 0 { + dAtA[i] = 0x28 + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(m.Areaid)) + } + if m.Longitude != 0 { + dAtA[i] = 0x35 + i++ + encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.Longitude)))) + i += 4 + } + if m.Latitude != 0 { + dAtA[i] = 0x3d + i++ + encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.Latitude)))) + i += 4 + } + if len(m.Rtsp) > 0 { + dAtA[i] = 0x42 + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Rtsp))) + i += copy(dAtA[i:], m.Rtsp) + } + if len(m.Ip) > 0 { + dAtA[i] = 0x4a + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Ip))) + i += copy(dAtA[i:], m.Ip) + } + if m.Port != 0 { + dAtA[i] = 0x50 + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(m.Port)) + } + if len(m.Username) > 0 { + dAtA[i] = 0x5a + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Username))) + i += copy(dAtA[i:], m.Username) + } + if len(m.Password) > 0 { + dAtA[i] = 0x62 + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Password))) + i += copy(dAtA[i:], m.Password) + } + if len(m.Brand) > 0 { + dAtA[i] = 0x6a + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Brand))) + i += copy(dAtA[i:], m.Brand) + } + if len(m.Reserved) > 0 { + dAtA[i] = 0x72 + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Reserved))) + i += copy(dAtA[i:], m.Reserved) + } + if m.XXX_unrecognized != nil { + i += copy(dAtA[i:], m.XXX_unrecognized) + } + return i, nil +} + +func (m *CameraAndTaskInfo) 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 *CameraAndTaskInfo) MarshalTo(dAtA []byte) (int, error) { + var i int + _ = i + var l int + _ = l + if m.Camera != nil { + dAtA[i] = 0xa + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(m.Camera.Size())) + n2, err2 := m.Camera.MarshalTo(dAtA[i:]) + if err2 != nil { + return 0, err2 + } + i += n2 + } + if len(m.Tasks) > 0 { + for _, msg := range m.Tasks { + dAtA[i] = 0x12 + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(msg.Size())) + n, err := msg.MarshalTo(dAtA[i:]) + if err != nil { + return 0, err + } + i += n + } + } + if m.XXX_unrecognized != nil { + i += copy(dAtA[i:], m.XXX_unrecognized) + } + return i, nil +} + +func (m *Task) 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 *Task) MarshalTo(dAtA []byte) (int, error) { + var i int + _ = i + var l int + _ = l + if len(m.Taskid) > 0 { + dAtA[i] = 0xa + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Taskid))) + i += copy(dAtA[i:], m.Taskid) + } + if len(m.Taskname) > 0 { + dAtA[i] = 0x12 + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Taskname))) + i += copy(dAtA[i:], m.Taskname) + } + if len(m.CreateAt) > 0 { + dAtA[i] = 0x1a + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(len(m.CreateAt))) + i += copy(dAtA[i:], m.CreateAt) + } + if len(m.CreateBy) > 0 { + dAtA[i] = 0x22 + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(len(m.CreateBy))) + i += copy(dAtA[i:], m.CreateBy) + } + if len(m.UpdateAt) > 0 { + dAtA[i] = 0x2a + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(len(m.UpdateAt))) + i += copy(dAtA[i:], m.UpdateAt) + } + if m.Enable { + dAtA[i] = 0x30 + i++ + if m.Enable { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i++ + } + if m.IsAlarm { + dAtA[i] = 0x38 + i++ + if m.IsAlarm { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i++ + } + if m.DelFlag { + dAtA[i] = 0x40 + i++ + if m.DelFlag { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i++ + } + if m.XXX_unrecognized != nil { + i += copy(dAtA[i:], m.XXX_unrecognized) + } + return i, nil +} + +func (m *TaskSdkInfo) 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 *TaskSdkInfo) MarshalTo(dAtA []byte) (int, error) { + var i int + _ = i + var l int + _ = l + if m.Task != nil { + dAtA[i] = 0xa + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(m.Task.Size())) + n3, err3 := m.Task.MarshalTo(dAtA[i:]) + if err3 != nil { + return 0, err3 + } + i += n3 + } + if len(m.Sdks) > 0 { + for _, msg := range m.Sdks { + dAtA[i] = 0x12 + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(msg.Size())) + n, err := msg.MarshalTo(dAtA[i:]) + if err != nil { + return 0, err + } + i += n + } + } + if m.XXX_unrecognized != nil { + i += copy(dAtA[i:], m.XXX_unrecognized) + } + return i, nil +} + +func (m *CameraTask) 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 *CameraTask) MarshalTo(dAtA []byte) (int, error) { + var i int + _ = i + var l int + _ = l + if len(m.Id) > 0 { + dAtA[i] = 0xa + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Id))) + i += copy(dAtA[i:], m.Id) + } + if len(m.CameraId) > 0 { + dAtA[i] = 0x12 + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(len(m.CameraId))) + i += copy(dAtA[i:], m.CameraId) + } + if len(m.TaskId) > 0 { + dAtA[i] = 0x1a + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(len(m.TaskId))) + i += copy(dAtA[i:], m.TaskId) + } + if len(m.TimeRule) > 0 { + for _, msg := range m.TimeRule { + dAtA[i] = 0x22 + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(msg.Size())) + n, err := msg.MarshalTo(dAtA[i:]) + if err != nil { + return 0, err + } + i += n + } + } + if len(m.ReactRule) > 0 { + dAtA[i] = 0x2a + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(len(m.ReactRule))) + i += copy(dAtA[i:], m.ReactRule) + } + if len(m.ReactDevice) > 0 { + dAtA[i] = 0x32 + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(len(m.ReactDevice))) + i += copy(dAtA[i:], m.ReactDevice) + } + if m.DelFlag { + dAtA[i] = 0x38 + i++ + if m.DelFlag { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i++ + } + if m.UpdateFlag { + dAtA[i] = 0x40 + i++ + if m.UpdateFlag { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i++ + } + if m.Enable { + dAtA[i] = 0x48 + i++ + if m.Enable { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i++ + } + if m.Sort != 0 { + dAtA[i] = 0x50 + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(m.Sort)) + } + if m.IsFull { + dAtA[i] = 0x58 + i++ + if m.IsFull { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i++ + } + if len(m.LinkTaskId) > 0 { + dAtA[i] = 0x62 + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(len(m.LinkTaskId))) + i += copy(dAtA[i:], m.LinkTaskId) + } + if m.XXX_unrecognized != nil { + i += copy(dAtA[i:], m.XXX_unrecognized) + } + return i, nil +} + +func (m *CameraTimerule) 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 *CameraTimerule) MarshalTo(dAtA []byte) (int, error) { + var i int + _ = i + var l int + _ = l + if len(m.Id) > 0 { + dAtA[i] = 0xa + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Id))) + i += copy(dAtA[i:], m.Id) + } + if len(m.Name) > 0 { + dAtA[i] = 0x12 + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Name))) + i += copy(dAtA[i:], m.Name) + } + if len(m.TimeRule) > 0 { + dAtA[i] = 0x1a + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(len(m.TimeRule))) + i += copy(dAtA[i:], m.TimeRule) + } + if m.XXX_unrecognized != nil { + i += copy(dAtA[i:], m.XXX_unrecognized) + } + return i, nil +} + +func (m *DayCtl) 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 *DayCtl) MarshalTo(dAtA []byte) (int, error) { + var i int + _ = i + var l int + _ = l + if m.Day != 0 { + dAtA[i] = 0x8 + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(m.Day)) + } + if len(m.TimeRange) > 0 { + for _, msg := range m.TimeRange { + dAtA[i] = 0x12 + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(msg.Size())) + n, err := msg.MarshalTo(dAtA[i:]) + if err != nil { + return 0, err + } + i += n + } + } + if m.XXX_unrecognized != nil { + i += copy(dAtA[i:], m.XXX_unrecognized) + } + return i, nil +} + +func (m *TimeRange) 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 *TimeRange) MarshalTo(dAtA []byte) (int, error) { + var i int + _ = i + var l int + _ = l + if len(m.Start) > 0 { + dAtA[i] = 0xa + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Start))) + i += copy(dAtA[i:], m.Start) + } + if len(m.End) > 0 { + dAtA[i] = 0x12 + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(len(m.End))) + i += copy(dAtA[i:], m.End) + } + if m.XXX_unrecognized != nil { + i += copy(dAtA[i:], m.XXX_unrecognized) + } + return i, nil +} + +func (m *Polygon) 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 *Polygon) MarshalTo(dAtA []byte) (int, error) { + var i int + _ = i + var l int + _ = l + if len(m.Id) > 0 { + dAtA[i] = 0xa + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Id))) + i += copy(dAtA[i:], m.Id) + } + if len(m.Name) > 0 { + dAtA[i] = 0x12 + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Name))) + i += copy(dAtA[i:], m.Name) + } + if len(m.Points) > 0 { + for _, msg := range m.Points { + dAtA[i] = 0x1a + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(msg.Size())) + n, err := msg.MarshalTo(dAtA[i:]) + if err != nil { + return 0, err + } + i += n + } + } + if m.XXX_unrecognized != nil { + i += copy(dAtA[i:], m.XXX_unrecognized) + } + return i, nil +} + +func (m *CameraTaskArgs) 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 *CameraTaskArgs) MarshalTo(dAtA []byte) (int, error) { + var i int + _ = i + var l int + _ = l + if len(m.CameraId) > 0 { + dAtA[i] = 0xa + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(len(m.CameraId))) + i += copy(dAtA[i:], m.CameraId) + } + if len(m.TaskArgs) > 0 { + for _, msg := range m.TaskArgs { + dAtA[i] = 0x12 + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(msg.Size())) + n, err := msg.MarshalTo(dAtA[i:]) + if err != nil { + return 0, err + } + i += n + } + } + if m.XXX_unrecognized != nil { + i += copy(dAtA[i:], m.XXX_unrecognized) + } + return i, nil +} + +func (m *TaskGroupArgs) 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 *TaskGroupArgs) MarshalTo(dAtA []byte) (int, error) { + var i int + _ = i + var l int + _ = l + if len(m.TaskId) > 0 { + dAtA[i] = 0xa + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(len(m.TaskId))) + i += copy(dAtA[i:], m.TaskId) + } + if len(m.GroupRules) > 0 { + for _, msg := range m.GroupRules { + dAtA[i] = 0x12 + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(msg.Size())) + n, err := msg.MarshalTo(dAtA[i:]) + if err != nil { + return 0, err + } + i += n + } + } + if m.XXX_unrecognized != nil { + i += copy(dAtA[i:], m.XXX_unrecognized) + } + return i, nil +} + +func (m *GroupRule) 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 *GroupRule) MarshalTo(dAtA []byte) (int, error) { + var i int + _ = i + var l int + _ = l + if len(m.GroupId) > 0 { + dAtA[i] = 0xa + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(len(m.GroupId))) + i += copy(dAtA[i:], m.GroupId) + } + if len(m.Rules) > 0 { + for _, msg := range m.Rules { + dAtA[i] = 0x12 + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(msg.Size())) + n, err := msg.MarshalTo(dAtA[i:]) + if err != nil { + return 0, err + } + i += n + } + } + if m.XXX_unrecognized != nil { + i += copy(dAtA[i:], m.XXX_unrecognized) + } + return i, nil +} + +func (m *Rule) 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 *Rule) MarshalTo(dAtA []byte) (int, error) { + var i int + _ = i + var l int + _ = l + if len(m.Id) > 0 { + dAtA[i] = 0xa + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Id))) + i += copy(dAtA[i:], m.Id) + } + if len(m.CameraTaskId) > 0 { + dAtA[i] = 0x12 + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(len(m.CameraTaskId))) + i += copy(dAtA[i:], m.CameraTaskId) + } + if len(m.CameraId) > 0 { + dAtA[i] = 0x1a + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(len(m.CameraId))) + i += copy(dAtA[i:], m.CameraId) + } + if len(m.PolygonId) > 0 { + dAtA[i] = 0x22 + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(len(m.PolygonId))) + i += copy(dAtA[i:], m.PolygonId) + } + if len(m.SdkId) > 0 { + dAtA[i] = 0x2a + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(len(m.SdkId))) + i += copy(dAtA[i:], m.SdkId) + } + if len(m.SdkArgAlias) > 0 { + dAtA[i] = 0x32 + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(len(m.SdkArgAlias))) + i += copy(dAtA[i:], m.SdkArgAlias) + } + if len(m.Operator) > 0 { + dAtA[i] = 0x3a + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Operator))) + i += copy(dAtA[i:], m.Operator) + } + if len(m.OperatorType) > 0 { + dAtA[i] = 0x42 + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(len(m.OperatorType))) + i += copy(dAtA[i:], m.OperatorType) + } + if len(m.SdkArgValue) > 0 { + dAtA[i] = 0x4a + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(len(m.SdkArgValue))) + i += copy(dAtA[i:], m.SdkArgValue) + } + if m.Sort != 0 { + dAtA[i] = 0x50 + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(m.Sort)) + } + if len(m.RuleWithPre) > 0 { + dAtA[i] = 0x5a + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(len(m.RuleWithPre))) + i += copy(dAtA[i:], m.RuleWithPre) + } + if len(m.GroupId) > 0 { + dAtA[i] = 0x62 + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(len(m.GroupId))) + i += copy(dAtA[i:], m.GroupId) + } + if m.XXX_unrecognized != nil { + i += copy(dAtA[i:], m.XXX_unrecognized) + } + return i, nil +} + +func (m *Sdk) 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 *Sdk) MarshalTo(dAtA []byte) (int, error) { + var i int + _ = i + var l int + _ = l + if len(m.Id) > 0 { + dAtA[i] = 0xa + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Id))) + i += copy(dAtA[i:], m.Id) + } + if len(m.SdkType) > 0 { + dAtA[i] = 0x12 + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(len(m.SdkType))) + i += copy(dAtA[i:], m.SdkType) + } + if len(m.SdkName) > 0 { + dAtA[i] = 0x1a + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(len(m.SdkName))) + i += copy(dAtA[i:], m.SdkName) + } + if len(m.Args) > 0 { + for _, msg := range m.Args { + dAtA[i] = 0x22 + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(msg.Size())) + n, err := msg.MarshalTo(dAtA[i:]) + if err != nil { + return 0, err + } + i += n + } + } + if len(m.Icon) > 0 { + dAtA[i] = 0x2a + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Icon))) + i += copy(dAtA[i:], m.Icon) + } + if len(m.Url) > 0 { + dAtA[i] = 0x32 + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Url))) + i += copy(dAtA[i:], m.Url) + } + if len(m.CreateTime) > 0 { + dAtA[i] = 0x3a + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(len(m.CreateTime))) + i += copy(dAtA[i:], m.CreateTime) + } + if len(m.UpdateTime) > 0 { + dAtA[i] = 0x42 + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(len(m.UpdateTime))) + i += copy(dAtA[i:], m.UpdateTime) + } + if len(m.CreateBy) > 0 { + dAtA[i] = 0x4a + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(len(m.CreateBy))) + i += copy(dAtA[i:], m.CreateBy) + } + if m.Enabled { + dAtA[i] = 0x50 + i++ + if m.Enabled { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i++ + } + if m.DelFlag != 0 { + dAtA[i] = 0x58 + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(m.DelFlag)) + } + if m.XXX_unrecognized != nil { + i += copy(dAtA[i:], m.XXX_unrecognized) + } + return i, nil +} + +func (m *SdkArg) 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 *SdkArg) MarshalTo(dAtA []byte) (int, error) { + var i int + _ = i + var l int + _ = l + if len(m.Alias) > 0 { + dAtA[i] = 0xa + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Alias))) + i += copy(dAtA[i:], m.Alias) + } + if len(m.Name) > 0 { + dAtA[i] = 0x12 + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Name))) + i += copy(dAtA[i:], m.Name) + } + if len(m.Type) > 0 { + dAtA[i] = 0x1a + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Type))) + i += copy(dAtA[i:], m.Type) + } + if m.Must { + dAtA[i] = 0x20 + i++ + if m.Must { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i++ + } + if len(m.Unit) > 0 { + dAtA[i] = 0x2a + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Unit))) + i += copy(dAtA[i:], m.Unit) + } + if len(m.Range) > 0 { + dAtA[i] = 0x32 + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Range))) + i += copy(dAtA[i:], m.Range) + } + if m.Sort != 0 { + dAtA[i] = 0x38 + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(m.Sort)) + } + if m.XXX_unrecognized != nil { + i += copy(dAtA[i:], m.XXX_unrecognized) + } + return i, nil +} + +func (m *DbChangeMessage) 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 *DbChangeMessage) MarshalTo(dAtA []byte) (int, error) { + var i int + _ = i + var l int + _ = l + if m.Table != 0 { + dAtA[i] = 0x8 + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(m.Table)) + } + if len(m.Id) > 0 { + dAtA[i] = 0x12 + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Id))) + i += copy(dAtA[i:], m.Id) + } + if m.Action != 0 { + dAtA[i] = 0x18 + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(m.Action)) + } + if len(m.Info) > 0 { + dAtA[i] = 0x22 + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Info))) + i += copy(dAtA[i:], m.Info) + } + if m.XXX_unrecognized != nil { + i += copy(dAtA[i:], m.XXX_unrecognized) + } + return i, nil +} + +func (m *CameraPolygon) 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 *CameraPolygon) MarshalTo(dAtA []byte) (int, error) { + var i int + _ = i + var l int + _ = l + if len(m.Id) > 0 { + dAtA[i] = 0xa + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Id))) + i += copy(dAtA[i:], m.Id) + } + if len(m.CameraId) > 0 { + dAtA[i] = 0x12 + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(len(m.CameraId))) + i += copy(dAtA[i:], m.CameraId) + } + if len(m.Name) > 0 { + dAtA[i] = 0x1a + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Name))) + i += copy(dAtA[i:], m.Name) + } + if len(m.Polygon) > 0 { + dAtA[i] = 0x22 + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Polygon))) + i += copy(dAtA[i:], m.Polygon) + } + if len(m.TriggerLine) > 0 { + dAtA[i] = 0x2a + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(len(m.TriggerLine))) + i += copy(dAtA[i:], m.TriggerLine) + } + if len(m.DirectionLine) > 0 { + dAtA[i] = 0x32 + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(len(m.DirectionLine))) + i += copy(dAtA[i:], m.DirectionLine) + } + if len(m.Type) > 0 { + dAtA[i] = 0x3a + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Type))) + i += copy(dAtA[i:], m.Type) + } + if m.DefenceState != 0 { + dAtA[i] = 0x40 + i++ + i = encodeVarintProtomsg(dAtA, i, uint64(m.DefenceState)) + } + if m.XXX_unrecognized != nil { + i += copy(dAtA[i:], m.XXX_unrecognized) + } + return i, nil +} + +func encodeVarintProtomsg(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 *TaskLabel) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Taskid) + if l > 0 { + n += 1 + l + sovProtomsg(uint64(l)) + } + if len(m.Sdkids) > 0 { + for _, s := range m.Sdkids { + l = len(s) + n += 1 + l + sovProtomsg(uint64(l)) + } + } + if m.Index != 0 { + n += 1 + sovProtomsg(uint64(m.Index)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *SdkMessage) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Cid) + if l > 0 { + n += 1 + l + sovProtomsg(uint64(l)) + } + if m.Tasklab != nil { + l = m.Tasklab.Size() + n += 1 + l + sovProtomsg(uint64(l)) + } + l = len(m.Data) + if l > 0 { + n += 1 + l + sovProtomsg(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *Area) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Id != 0 { + n += 1 + sovProtomsg(uint64(m.Id)) + } + if m.Parentid != 0 { + n += 1 + sovProtomsg(uint64(m.Parentid)) + } + l = len(m.Name) + if l > 0 { + n += 1 + l + sovProtomsg(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *Camera) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Id) + if l > 0 { + n += 1 + l + sovProtomsg(uint64(l)) + } + l = len(m.Name) + if l > 0 { + n += 1 + l + sovProtomsg(uint64(l)) + } + if m.Type != 0 { + n += 1 + sovProtomsg(uint64(m.Type)) + } + l = len(m.Addr) + if l > 0 { + n += 1 + l + sovProtomsg(uint64(l)) + } + if m.Areaid != 0 { + n += 1 + sovProtomsg(uint64(m.Areaid)) + } + if m.Longitude != 0 { + n += 5 + } + if m.Latitude != 0 { + n += 5 + } + l = len(m.Rtsp) + if l > 0 { + n += 1 + l + sovProtomsg(uint64(l)) + } + l = len(m.Ip) + if l > 0 { + n += 1 + l + sovProtomsg(uint64(l)) + } + if m.Port != 0 { + n += 1 + sovProtomsg(uint64(m.Port)) + } + l = len(m.Username) + if l > 0 { + n += 1 + l + sovProtomsg(uint64(l)) + } + l = len(m.Password) + if l > 0 { + n += 1 + l + sovProtomsg(uint64(l)) + } + l = len(m.Brand) + if l > 0 { + n += 1 + l + sovProtomsg(uint64(l)) + } + l = len(m.Reserved) + if l > 0 { + n += 1 + l + sovProtomsg(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *CameraAndTaskInfo) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Camera != nil { + l = m.Camera.Size() + n += 1 + l + sovProtomsg(uint64(l)) + } + if len(m.Tasks) > 0 { + for _, e := range m.Tasks { + l = e.Size() + n += 1 + l + sovProtomsg(uint64(l)) + } + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *Task) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Taskid) + if l > 0 { + n += 1 + l + sovProtomsg(uint64(l)) + } + l = len(m.Taskname) + if l > 0 { + n += 1 + l + sovProtomsg(uint64(l)) + } + l = len(m.CreateAt) + if l > 0 { + n += 1 + l + sovProtomsg(uint64(l)) + } + l = len(m.CreateBy) + if l > 0 { + n += 1 + l + sovProtomsg(uint64(l)) + } + l = len(m.UpdateAt) + if l > 0 { + n += 1 + l + sovProtomsg(uint64(l)) + } + if m.Enable { + n += 2 + } + if m.IsAlarm { + n += 2 + } + if m.DelFlag { + n += 2 + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *TaskSdkInfo) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Task != nil { + l = m.Task.Size() + n += 1 + l + sovProtomsg(uint64(l)) + } + if len(m.Sdks) > 0 { + for _, e := range m.Sdks { + l = e.Size() + n += 1 + l + sovProtomsg(uint64(l)) + } + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *CameraTask) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Id) + if l > 0 { + n += 1 + l + sovProtomsg(uint64(l)) + } + l = len(m.CameraId) + if l > 0 { + n += 1 + l + sovProtomsg(uint64(l)) + } + l = len(m.TaskId) + if l > 0 { + n += 1 + l + sovProtomsg(uint64(l)) + } + if len(m.TimeRule) > 0 { + for _, e := range m.TimeRule { + l = e.Size() + n += 1 + l + sovProtomsg(uint64(l)) + } + } + l = len(m.ReactRule) + if l > 0 { + n += 1 + l + sovProtomsg(uint64(l)) + } + l = len(m.ReactDevice) + if l > 0 { + n += 1 + l + sovProtomsg(uint64(l)) + } + if m.DelFlag { + n += 2 + } + if m.UpdateFlag { + n += 2 + } + if m.Enable { + n += 2 + } + if m.Sort != 0 { + n += 1 + sovProtomsg(uint64(m.Sort)) + } + if m.IsFull { + n += 2 + } + l = len(m.LinkTaskId) + if l > 0 { + n += 1 + l + sovProtomsg(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *CameraTimerule) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Id) + if l > 0 { + n += 1 + l + sovProtomsg(uint64(l)) + } + l = len(m.Name) + if l > 0 { + n += 1 + l + sovProtomsg(uint64(l)) + } + l = len(m.TimeRule) + if l > 0 { + n += 1 + l + sovProtomsg(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *DayCtl) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Day != 0 { + n += 1 + sovProtomsg(uint64(m.Day)) + } + if len(m.TimeRange) > 0 { + for _, e := range m.TimeRange { + l = e.Size() + n += 1 + l + sovProtomsg(uint64(l)) + } + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *TimeRange) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Start) + if l > 0 { + n += 1 + l + sovProtomsg(uint64(l)) + } + l = len(m.End) + if l > 0 { + n += 1 + l + sovProtomsg(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *Polygon) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Id) + if l > 0 { + n += 1 + l + sovProtomsg(uint64(l)) + } + l = len(m.Name) + if l > 0 { + n += 1 + l + sovProtomsg(uint64(l)) + } + if len(m.Points) > 0 { + for _, e := range m.Points { + l = e.Size() + n += 1 + l + sovProtomsg(uint64(l)) + } + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *CameraTaskArgs) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.CameraId) + if l > 0 { + n += 1 + l + sovProtomsg(uint64(l)) + } + if len(m.TaskArgs) > 0 { + for _, e := range m.TaskArgs { + l = e.Size() + n += 1 + l + sovProtomsg(uint64(l)) + } + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *TaskGroupArgs) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.TaskId) + if l > 0 { + n += 1 + l + sovProtomsg(uint64(l)) + } + if len(m.GroupRules) > 0 { + for _, e := range m.GroupRules { + l = e.Size() + n += 1 + l + sovProtomsg(uint64(l)) + } + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *GroupRule) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.GroupId) + if l > 0 { + n += 1 + l + sovProtomsg(uint64(l)) + } + if len(m.Rules) > 0 { + for _, e := range m.Rules { + l = e.Size() + n += 1 + l + sovProtomsg(uint64(l)) + } + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *Rule) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Id) + if l > 0 { + n += 1 + l + sovProtomsg(uint64(l)) + } + l = len(m.CameraTaskId) + if l > 0 { + n += 1 + l + sovProtomsg(uint64(l)) + } + l = len(m.CameraId) + if l > 0 { + n += 1 + l + sovProtomsg(uint64(l)) + } + l = len(m.PolygonId) + if l > 0 { + n += 1 + l + sovProtomsg(uint64(l)) + } + l = len(m.SdkId) + if l > 0 { + n += 1 + l + sovProtomsg(uint64(l)) + } + l = len(m.SdkArgAlias) + if l > 0 { + n += 1 + l + sovProtomsg(uint64(l)) + } + l = len(m.Operator) + if l > 0 { + n += 1 + l + sovProtomsg(uint64(l)) + } + l = len(m.OperatorType) + if l > 0 { + n += 1 + l + sovProtomsg(uint64(l)) + } + l = len(m.SdkArgValue) + if l > 0 { + n += 1 + l + sovProtomsg(uint64(l)) + } + if m.Sort != 0 { + n += 1 + sovProtomsg(uint64(m.Sort)) + } + l = len(m.RuleWithPre) + if l > 0 { + n += 1 + l + sovProtomsg(uint64(l)) + } + l = len(m.GroupId) + if l > 0 { + n += 1 + l + sovProtomsg(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *Sdk) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Id) + if l > 0 { + n += 1 + l + sovProtomsg(uint64(l)) + } + l = len(m.SdkType) + if l > 0 { + n += 1 + l + sovProtomsg(uint64(l)) + } + l = len(m.SdkName) + if l > 0 { + n += 1 + l + sovProtomsg(uint64(l)) + } + if len(m.Args) > 0 { + for _, e := range m.Args { + l = e.Size() + n += 1 + l + sovProtomsg(uint64(l)) + } + } + l = len(m.Icon) + if l > 0 { + n += 1 + l + sovProtomsg(uint64(l)) + } + l = len(m.Url) + if l > 0 { + n += 1 + l + sovProtomsg(uint64(l)) + } + l = len(m.CreateTime) + if l > 0 { + n += 1 + l + sovProtomsg(uint64(l)) + } + l = len(m.UpdateTime) + if l > 0 { + n += 1 + l + sovProtomsg(uint64(l)) + } + l = len(m.CreateBy) + if l > 0 { + n += 1 + l + sovProtomsg(uint64(l)) + } + if m.Enabled { + n += 2 + } + if m.DelFlag != 0 { + n += 1 + sovProtomsg(uint64(m.DelFlag)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *SdkArg) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Alias) + if l > 0 { + n += 1 + l + sovProtomsg(uint64(l)) + } + l = len(m.Name) + if l > 0 { + n += 1 + l + sovProtomsg(uint64(l)) + } + l = len(m.Type) + if l > 0 { + n += 1 + l + sovProtomsg(uint64(l)) + } + if m.Must { + n += 2 + } + l = len(m.Unit) + if l > 0 { + n += 1 + l + sovProtomsg(uint64(l)) + } + l = len(m.Range) + if l > 0 { + n += 1 + l + sovProtomsg(uint64(l)) + } + if m.Sort != 0 { + n += 1 + sovProtomsg(uint64(m.Sort)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *DbChangeMessage) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Table != 0 { + n += 1 + sovProtomsg(uint64(m.Table)) + } + l = len(m.Id) + if l > 0 { + n += 1 + l + sovProtomsg(uint64(l)) + } + if m.Action != 0 { + n += 1 + sovProtomsg(uint64(m.Action)) + } + l = len(m.Info) + if l > 0 { + n += 1 + l + sovProtomsg(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *CameraPolygon) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Id) + if l > 0 { + n += 1 + l + sovProtomsg(uint64(l)) + } + l = len(m.CameraId) + if l > 0 { + n += 1 + l + sovProtomsg(uint64(l)) + } + l = len(m.Name) + if l > 0 { + n += 1 + l + sovProtomsg(uint64(l)) + } + l = len(m.Polygon) + if l > 0 { + n += 1 + l + sovProtomsg(uint64(l)) + } + l = len(m.TriggerLine) + if l > 0 { + n += 1 + l + sovProtomsg(uint64(l)) + } + l = len(m.DirectionLine) + if l > 0 { + n += 1 + l + sovProtomsg(uint64(l)) + } + l = len(m.Type) + if l > 0 { + n += 1 + l + sovProtomsg(uint64(l)) + } + if m.DefenceState != 0 { + n += 1 + sovProtomsg(uint64(m.DefenceState)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func sovProtomsg(x uint64) (n int) { + for { + n++ + x >>= 7 + if x == 0 { + break + } + } + return n +} +func sozProtomsg(x uint64) (n int) { + return sovProtomsg(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *TaskLabel) 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 ErrIntOverflowProtomsg + } + 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: TaskLabel: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: TaskLabel: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + 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 ErrIntOverflowProtomsg + } + 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 ErrInvalidLengthProtomsg + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthProtomsg + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Taskid = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Sdkids", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProtomsg + } + 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 ErrInvalidLengthProtomsg + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthProtomsg + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Sdkids = append(m.Sdkids, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Index", wireType) + } + m.Index = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProtomsg + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Index |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipProtomsg(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthProtomsg + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthProtomsg + } + 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 *SdkMessage) 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 ErrIntOverflowProtomsg + } + 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: SdkMessage: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SdkMessage: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cid", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProtomsg + } + 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 ErrInvalidLengthProtomsg + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthProtomsg + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Cid = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Tasklab", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProtomsg + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthProtomsg + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthProtomsg + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Tasklab == nil { + m.Tasklab = &TaskLabel{} + } + if err := m.Tasklab.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProtomsg + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthProtomsg + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthProtomsg + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Data = append(m.Data[:0], dAtA[iNdEx:postIndex]...) + if m.Data == nil { + m.Data = []byte{} + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipProtomsg(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthProtomsg + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthProtomsg + } + 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 *Area) 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 ErrIntOverflowProtomsg + } + 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: Area: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Area: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) + } + m.Id = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProtomsg + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Id |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Parentid", wireType) + } + m.Parentid = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProtomsg + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Parentid |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProtomsg + } + 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 ErrInvalidLengthProtomsg + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthProtomsg + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Name = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipProtomsg(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthProtomsg + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthProtomsg + } + 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 *Camera) 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 ErrIntOverflowProtomsg + } + 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: Camera: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Camera: 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 ErrIntOverflowProtomsg + } + 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 ErrInvalidLengthProtomsg + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthProtomsg + } + 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 Name", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProtomsg + } + 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 ErrInvalidLengthProtomsg + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthProtomsg + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Name = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) + } + m.Type = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProtomsg + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Type |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Addr", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProtomsg + } + 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 ErrInvalidLengthProtomsg + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthProtomsg + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Addr = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Areaid", wireType) + } + m.Areaid = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProtomsg + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Areaid |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 6: + if wireType != 5 { + return fmt.Errorf("proto: wrong wireType = %d for field Longitude", wireType) + } + var v uint32 + if (iNdEx + 4) > l { + return io.ErrUnexpectedEOF + } + v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) + iNdEx += 4 + m.Longitude = float32(math.Float32frombits(v)) + case 7: + if wireType != 5 { + return fmt.Errorf("proto: wrong wireType = %d for field Latitude", wireType) + } + var v uint32 + if (iNdEx + 4) > l { + return io.ErrUnexpectedEOF + } + v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) + iNdEx += 4 + m.Latitude = float32(math.Float32frombits(v)) + case 8: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Rtsp", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProtomsg + } + 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 ErrInvalidLengthProtomsg + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthProtomsg + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Rtsp = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 9: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Ip", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProtomsg + } + 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 ErrInvalidLengthProtomsg + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthProtomsg + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Ip = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 10: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Port", wireType) + } + m.Port = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProtomsg + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Port |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 11: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Username", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProtomsg + } + 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 ErrInvalidLengthProtomsg + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthProtomsg + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Username = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 12: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Password", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProtomsg + } + 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 ErrInvalidLengthProtomsg + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthProtomsg + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Password = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 13: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Brand", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProtomsg + } + 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 ErrInvalidLengthProtomsg + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthProtomsg + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Brand = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 14: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Reserved", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProtomsg + } + 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 ErrInvalidLengthProtomsg + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthProtomsg + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Reserved = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipProtomsg(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthProtomsg + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthProtomsg + } + 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 *CameraAndTaskInfo) 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 ErrIntOverflowProtomsg + } + 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: CameraAndTaskInfo: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: CameraAndTaskInfo: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Camera", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProtomsg + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthProtomsg + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthProtomsg + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Camera == nil { + m.Camera = &Camera{} + } + if err := m.Camera.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Tasks", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProtomsg + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthProtomsg + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthProtomsg + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Tasks = append(m.Tasks, &Task{}) + if err := m.Tasks[len(m.Tasks)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipProtomsg(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthProtomsg + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthProtomsg + } + 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 *Task) 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 ErrIntOverflowProtomsg + } + 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: Task: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Task: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + 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 ErrIntOverflowProtomsg + } + 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 ErrInvalidLengthProtomsg + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthProtomsg + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Taskid = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + 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 ErrIntOverflowProtomsg + } + 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 ErrInvalidLengthProtomsg + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthProtomsg + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Taskname = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field CreateAt", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProtomsg + } + 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 ErrInvalidLengthProtomsg + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthProtomsg + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.CreateAt = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + 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 ErrIntOverflowProtomsg + } + 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 ErrInvalidLengthProtomsg + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthProtomsg + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.CreateBy = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field UpdateAt", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProtomsg + } + 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 ErrInvalidLengthProtomsg + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthProtomsg + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.UpdateAt = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 6: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Enable", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProtomsg + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Enable = bool(v != 0) + case 7: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IsAlarm", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProtomsg + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.IsAlarm = bool(v != 0) + case 8: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field DelFlag", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProtomsg + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.DelFlag = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skipProtomsg(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthProtomsg + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthProtomsg + } + 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 *TaskSdkInfo) 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 ErrIntOverflowProtomsg + } + 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: TaskSdkInfo: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: TaskSdkInfo: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Task", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProtomsg + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthProtomsg + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthProtomsg + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Task == nil { + m.Task = &Task{} + } + if err := m.Task.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Sdks", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProtomsg + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthProtomsg + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthProtomsg + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Sdks = append(m.Sdks, &Sdk{}) + if err := m.Sdks[len(m.Sdks)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipProtomsg(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthProtomsg + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthProtomsg + } + 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 *CameraTask) 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 ErrIntOverflowProtomsg + } + 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: CameraTask: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: CameraTask: 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 ErrIntOverflowProtomsg + } + 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 ErrInvalidLengthProtomsg + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthProtomsg + } + 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 ErrIntOverflowProtomsg + } + 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 ErrInvalidLengthProtomsg + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthProtomsg + } + 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 TaskId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProtomsg + } + 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 ErrInvalidLengthProtomsg + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthProtomsg + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TaskId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TimeRule", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProtomsg + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthProtomsg + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthProtomsg + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TimeRule = append(m.TimeRule, &DayCtl{}) + if err := m.TimeRule[len(m.TimeRule)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ReactRule", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProtomsg + } + 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 ErrInvalidLengthProtomsg + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthProtomsg + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ReactRule = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ReactDevice", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProtomsg + } + 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 ErrInvalidLengthProtomsg + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthProtomsg + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ReactDevice = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 7: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field DelFlag", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProtomsg + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.DelFlag = bool(v != 0) + case 8: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field UpdateFlag", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProtomsg + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.UpdateFlag = bool(v != 0) + case 9: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Enable", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProtomsg + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Enable = bool(v != 0) + case 10: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Sort", wireType) + } + m.Sort = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProtomsg + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Sort |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 11: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IsFull", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProtomsg + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.IsFull = bool(v != 0) + case 12: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field LinkTaskId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProtomsg + } + 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 ErrInvalidLengthProtomsg + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthProtomsg + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.LinkTaskId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipProtomsg(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthProtomsg + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthProtomsg + } + 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 *CameraTimerule) 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 ErrIntOverflowProtomsg + } + 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: CameraTimerule: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: CameraTimerule: 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 ErrIntOverflowProtomsg + } + 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 ErrInvalidLengthProtomsg + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthProtomsg + } + 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 Name", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProtomsg + } + 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 ErrInvalidLengthProtomsg + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthProtomsg + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Name = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TimeRule", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProtomsg + } + 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 ErrInvalidLengthProtomsg + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthProtomsg + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TimeRule = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipProtomsg(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthProtomsg + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthProtomsg + } + 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 *DayCtl) 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 ErrIntOverflowProtomsg + } + 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: DayCtl: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: DayCtl: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Day", wireType) + } + m.Day = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProtomsg + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Day |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TimeRange", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProtomsg + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthProtomsg + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthProtomsg + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TimeRange = append(m.TimeRange, &TimeRange{}) + if err := m.TimeRange[len(m.TimeRange)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipProtomsg(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthProtomsg + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthProtomsg + } + 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 *TimeRange) 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 ErrIntOverflowProtomsg + } + 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: TimeRange: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: TimeRange: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Start", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProtomsg + } + 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 ErrInvalidLengthProtomsg + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthProtomsg + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Start = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field End", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProtomsg + } + 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 ErrInvalidLengthProtomsg + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthProtomsg + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.End = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipProtomsg(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthProtomsg + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthProtomsg + } + 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 *Polygon) 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 ErrIntOverflowProtomsg + } + 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: Polygon: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Polygon: 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 ErrIntOverflowProtomsg + } + 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 ErrInvalidLengthProtomsg + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthProtomsg + } + 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 Name", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProtomsg + } + 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 ErrInvalidLengthProtomsg + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthProtomsg + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Name = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Points", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProtomsg + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthProtomsg + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthProtomsg + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Points = append(m.Points, &Point{}) + if err := m.Points[len(m.Points)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipProtomsg(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthProtomsg + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthProtomsg + } + 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 *CameraTaskArgs) 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 ErrIntOverflowProtomsg + } + 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: CameraTaskArgs: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: CameraTaskArgs: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + 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 ErrIntOverflowProtomsg + } + 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 ErrInvalidLengthProtomsg + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthProtomsg + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.CameraId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TaskArgs", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProtomsg + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthProtomsg + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthProtomsg + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TaskArgs = append(m.TaskArgs, &TaskGroupArgs{}) + if err := m.TaskArgs[len(m.TaskArgs)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipProtomsg(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthProtomsg + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthProtomsg + } + 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 *TaskGroupArgs) 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 ErrIntOverflowProtomsg + } + 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: TaskGroupArgs: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: TaskGroupArgs: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + 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 ErrIntOverflowProtomsg + } + 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 ErrInvalidLengthProtomsg + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthProtomsg + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TaskId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field GroupRules", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProtomsg + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthProtomsg + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthProtomsg + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.GroupRules = append(m.GroupRules, &GroupRule{}) + if err := m.GroupRules[len(m.GroupRules)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipProtomsg(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthProtomsg + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthProtomsg + } + 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 *GroupRule) 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 ErrIntOverflowProtomsg + } + 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: GroupRule: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GroupRule: 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 ErrIntOverflowProtomsg + } + 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 ErrInvalidLengthProtomsg + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthProtomsg + } + 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 Rules", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProtomsg + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthProtomsg + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthProtomsg + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Rules = append(m.Rules, &Rule{}) + if err := m.Rules[len(m.Rules)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipProtomsg(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthProtomsg + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthProtomsg + } + 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 *Rule) 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 ErrIntOverflowProtomsg + } + 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: Rule: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Rule: 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 ErrIntOverflowProtomsg + } + 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 ErrInvalidLengthProtomsg + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthProtomsg + } + 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 CameraTaskId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProtomsg + } + 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 ErrInvalidLengthProtomsg + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthProtomsg + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.CameraTaskId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + 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 ErrIntOverflowProtomsg + } + 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 ErrInvalidLengthProtomsg + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthProtomsg + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.CameraId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PolygonId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProtomsg + } + 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 ErrInvalidLengthProtomsg + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthProtomsg + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.PolygonId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SdkId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProtomsg + } + 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 ErrInvalidLengthProtomsg + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthProtomsg + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.SdkId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SdkArgAlias", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProtomsg + } + 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 ErrInvalidLengthProtomsg + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthProtomsg + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.SdkArgAlias = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Operator", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProtomsg + } + 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 ErrInvalidLengthProtomsg + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthProtomsg + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Operator = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 8: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field OperatorType", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProtomsg + } + 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 ErrInvalidLengthProtomsg + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthProtomsg + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.OperatorType = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 9: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SdkArgValue", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProtomsg + } + 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 ErrInvalidLengthProtomsg + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthProtomsg + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.SdkArgValue = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 10: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Sort", wireType) + } + m.Sort = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProtomsg + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Sort |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 11: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RuleWithPre", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProtomsg + } + 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 ErrInvalidLengthProtomsg + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthProtomsg + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.RuleWithPre = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 12: + 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 ErrIntOverflowProtomsg + } + 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 ErrInvalidLengthProtomsg + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthProtomsg + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.GroupId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipProtomsg(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthProtomsg + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthProtomsg + } + 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 *Sdk) 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 ErrIntOverflowProtomsg + } + 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: Sdk: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Sdk: 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 ErrIntOverflowProtomsg + } + 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 ErrInvalidLengthProtomsg + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthProtomsg + } + 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 SdkType", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProtomsg + } + 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 ErrInvalidLengthProtomsg + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthProtomsg + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.SdkType = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SdkName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProtomsg + } + 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 ErrInvalidLengthProtomsg + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthProtomsg + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.SdkName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Args", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProtomsg + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthProtomsg + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthProtomsg + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Args = append(m.Args, &SdkArg{}) + if err := m.Args[len(m.Args)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Icon", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProtomsg + } + 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 ErrInvalidLengthProtomsg + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthProtomsg + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Icon = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Url", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProtomsg + } + 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 ErrInvalidLengthProtomsg + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthProtomsg + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Url = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 7: + 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 ErrIntOverflowProtomsg + } + 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 ErrInvalidLengthProtomsg + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthProtomsg + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.CreateTime = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 8: + 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 ErrIntOverflowProtomsg + } + 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 ErrInvalidLengthProtomsg + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthProtomsg + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.UpdateTime = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 9: + 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 ErrIntOverflowProtomsg + } + 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 ErrInvalidLengthProtomsg + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthProtomsg + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.CreateBy = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 10: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Enabled", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProtomsg + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Enabled = bool(v != 0) + case 11: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field DelFlag", wireType) + } + m.DelFlag = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProtomsg + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.DelFlag |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipProtomsg(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthProtomsg + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthProtomsg + } + 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 *SdkArg) 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 ErrIntOverflowProtomsg + } + 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: SdkArg: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SdkArg: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Alias", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProtomsg + } + 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 ErrInvalidLengthProtomsg + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthProtomsg + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Alias = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProtomsg + } + 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 ErrInvalidLengthProtomsg + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthProtomsg + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Name = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProtomsg + } + 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 ErrInvalidLengthProtomsg + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthProtomsg + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Type = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Must", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProtomsg + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Must = bool(v != 0) + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Unit", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProtomsg + } + 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 ErrInvalidLengthProtomsg + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthProtomsg + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Unit = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Range", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProtomsg + } + 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 ErrInvalidLengthProtomsg + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthProtomsg + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Range = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 7: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Sort", wireType) + } + m.Sort = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProtomsg + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Sort |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipProtomsg(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthProtomsg + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthProtomsg + } + 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 *DbChangeMessage) 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 ErrIntOverflowProtomsg + } + 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: DbChangeMessage: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: DbChangeMessage: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Table", wireType) + } + m.Table = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProtomsg + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Table |= TableChanged(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + 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 ErrIntOverflowProtomsg + } + 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 ErrInvalidLengthProtomsg + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthProtomsg + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Id = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Action", wireType) + } + m.Action = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProtomsg + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Action |= DbAction(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Info", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProtomsg + } + 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 ErrInvalidLengthProtomsg + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthProtomsg + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Info = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipProtomsg(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthProtomsg + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthProtomsg + } + 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 *CameraPolygon) 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 ErrIntOverflowProtomsg + } + 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: CameraPolygon: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: CameraPolygon: 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 ErrIntOverflowProtomsg + } + 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 ErrInvalidLengthProtomsg + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthProtomsg + } + 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 ErrIntOverflowProtomsg + } + 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 ErrInvalidLengthProtomsg + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthProtomsg + } + 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 Name", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProtomsg + } + 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 ErrInvalidLengthProtomsg + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthProtomsg + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Name = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Polygon", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProtomsg + } + 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 ErrInvalidLengthProtomsg + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthProtomsg + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Polygon = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TriggerLine", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProtomsg + } + 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 ErrInvalidLengthProtomsg + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthProtomsg + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TriggerLine = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DirectionLine", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProtomsg + } + 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 ErrInvalidLengthProtomsg + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthProtomsg + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.DirectionLine = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProtomsg + } + 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 ErrInvalidLengthProtomsg + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthProtomsg + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Type = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 8: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field DefenceState", wireType) + } + m.DefenceState = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProtomsg + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.DefenceState |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipProtomsg(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthProtomsg + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthProtomsg + } + 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 skipProtomsg(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, ErrIntOverflowProtomsg + } + 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, ErrIntOverflowProtomsg + } + 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, ErrIntOverflowProtomsg + } + 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, ErrInvalidLengthProtomsg + } + iNdEx += length + if iNdEx < 0 { + return 0, ErrInvalidLengthProtomsg + } + return iNdEx, nil + case 3: + for { + var innerWire uint64 + var start int = iNdEx + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowProtomsg + } + 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 := skipProtomsg(dAtA[start:]) + if err != nil { + return 0, err + } + iNdEx = start + next + if iNdEx < 0 { + return 0, ErrInvalidLengthProtomsg + } + } + 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 ( + ErrInvalidLengthProtomsg = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflowProtomsg = fmt.Errorf("proto: integer overflow") +) -- Gitblit v1.8.0