From abd6d2381b39009f8bd9faf47ddf4535a1596fdc Mon Sep 17 00:00:00 2001
From: liuxiaolong <736321739@qq.com>
Date: 星期三, 04 十二月 2019 13:24:47 +0800
Subject: [PATCH] add pollChannelCount to PollConfig
---
protomsg.pb.go | 5697 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
1 files changed, 5,543 insertions(+), 154 deletions(-)
diff --git a/protomsg.pb.go b/protomsg.pb.go
index e98660c..395e79d 100644
--- a/protomsg.pb.go
+++ b/protomsg.pb.go
@@ -38,6 +38,8 @@
TableChanged_T_TimeRule TableChanged = 8
TableChanged_T_Server TableChanged = 9
TableChanged_T_PollConfig TableChanged = 10
+ TableChanged_T_File TableChanged = 11
+ TableChanged_T_FileSetting TableChanged = 12
)
var TableChanged_name = map[int32]string{
@@ -52,6 +54,8 @@
8: "T_TimeRule",
9: "T_Server",
10: "T_PollConfig",
+ 11: "T_File",
+ 12: "T_FileSetting",
}
var TableChanged_value = map[string]int32{
@@ -66,6 +70,8 @@
"T_TimeRule": 8,
"T_Server": 9,
"T_PollConfig": 10,
+ "T_File": 11,
+ "T_FileSetting": 12,
}
func (x TableChanged) String() string {
@@ -102,6 +108,59 @@
func (DbAction) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_32de24555f916688, []int{1}
+}
+
+type CompareEventType int32
+
+const (
+ CompareEventType_ReInitCache CompareEventType = 0
+ CompareEventType_UpdateCache CompareEventType = 1
+ CompareEventType_Compare CompareEventType = 2
+)
+
+var CompareEventType_name = map[int32]string{
+ 0: "ReInitCache",
+ 1: "UpdateCache",
+ 2: "Compare",
+}
+
+var CompareEventType_value = map[string]int32{
+ "ReInitCache": 0,
+ "UpdateCache": 1,
+ "Compare": 2,
+}
+
+func (x CompareEventType) String() string {
+ return proto.EnumName(CompareEventType_name, int32(x))
+}
+
+func (CompareEventType) EnumDescriptor() ([]byte, []int) {
+ return fileDescriptor_32de24555f916688, []int{2}
+}
+
+type EsCacheChanged int32
+
+const (
+ EsCacheChanged_T_DbTable EsCacheChanged = 0
+ EsCacheChanged_T_DbTablePerson EsCacheChanged = 1
+)
+
+var EsCacheChanged_name = map[int32]string{
+ 0: "T_DbTable",
+ 1: "T_DbTablePerson",
+}
+
+var EsCacheChanged_value = map[string]int32{
+ "T_DbTable": 0,
+ "T_DbTablePerson": 1,
+}
+
+func (x EsCacheChanged) String() string {
+ return proto.EnumName(EsCacheChanged_name, int32(x))
+}
+
+func (EsCacheChanged) EnumDescriptor() ([]byte, []int) {
+ return fileDescriptor_32de24555f916688, []int{3}
}
//Area缁撴瀯浣�
@@ -173,9 +232,9 @@
SnapshotUrl string `protobuf:"bytes,4,opt,name=snapshot_url,json=snapshotUrl,proto3" json:"snapshot_url,omitempty"`
Type int32 `protobuf:"varint,5,opt,name=type,proto3" json:"type,omitempty"`
Addr string `protobuf:"bytes,6,opt,name=addr,proto3" json:"addr,omitempty"`
- Areaid int32 `protobuf:"varint,7,opt,name=areaid,proto3" json:"areaid,omitempty"`
- Longitude float32 `protobuf:"fixed32,8,opt,name=longitude,proto3" json:"longitude,omitempty"`
- Latitude float32 `protobuf:"fixed32,9,opt,name=latitude,proto3" json:"latitude,omitempty"`
+ Longitude float32 `protobuf:"fixed32,7,opt,name=longitude,proto3" json:"longitude,omitempty"`
+ Latitude float32 `protobuf:"fixed32,8,opt,name=latitude,proto3" json:"latitude,omitempty"`
+ Floor int32 `protobuf:"varint,9,opt,name=floor,proto3" json:"floor,omitempty"`
Rtsp string `protobuf:"bytes,10,opt,name=rtsp,proto3" json:"rtsp,omitempty"`
Ip string `protobuf:"bytes,11,opt,name=ip,proto3" json:"ip,omitempty"`
Port int32 `protobuf:"varint,12,opt,name=port,proto3" json:"port,omitempty"`
@@ -264,13 +323,6 @@
return ""
}
-func (m *Camera) GetAreaid() int32 {
- if m != nil {
- return m.Areaid
- }
- return 0
-}
-
func (m *Camera) GetLongitude() float32 {
if m != nil {
return m.Longitude
@@ -281,6 +333,13 @@
func (m *Camera) GetLatitude() float32 {
if m != nil {
return m.Latitude
+ }
+ return 0
+}
+
+func (m *Camera) GetFloor() int32 {
+ if m != nil {
+ return m.Floor
}
return 0
}
@@ -1494,22 +1553,220 @@
return 0
}
+type TaskSdkRule struct {
+ TaskId string `protobuf:"bytes,1,opt,name=taskId,proto3" json:"taskId,omitempty"`
+ Enable bool `protobuf:"varint,2,opt,name=enable,proto3" json:"enable,omitempty"`
+ SdkRules []*SdkRuleSet `protobuf:"bytes,3,rep,name=sdkRules,proto3" json:"sdkRules,omitempty"`
+}
+
+func (m *TaskSdkRule) Reset() { *m = TaskSdkRule{} }
+func (m *TaskSdkRule) String() string { return proto.CompactTextString(m) }
+func (*TaskSdkRule) ProtoMessage() {}
+func (*TaskSdkRule) Descriptor() ([]byte, []int) {
+ return fileDescriptor_32de24555f916688, []int{17}
+}
+func (m *TaskSdkRule) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *TaskSdkRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_TaskSdkRule.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 *TaskSdkRule) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_TaskSdkRule.Merge(m, src)
+}
+func (m *TaskSdkRule) XXX_Size() int {
+ return m.Size()
+}
+func (m *TaskSdkRule) XXX_DiscardUnknown() {
+ xxx_messageInfo_TaskSdkRule.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_TaskSdkRule proto.InternalMessageInfo
+
+func (m *TaskSdkRule) GetTaskId() string {
+ if m != nil {
+ return m.TaskId
+ }
+ return ""
+}
+
+func (m *TaskSdkRule) GetEnable() bool {
+ if m != nil {
+ return m.Enable
+ }
+ return false
+}
+
+func (m *TaskSdkRule) GetSdkRules() []*SdkRuleSet {
+ if m != nil {
+ return m.SdkRules
+ }
+ return nil
+}
+
+type SdkRuleSet struct {
+ SdkId string `protobuf:"bytes,1,opt,name=sdkId,proto3" json:"sdkId,omitempty"`
+ IpcId string `protobuf:"bytes,2,opt,name=ipcId,proto3" json:"ipcId,omitempty"`
+ Rules []*SdkRule `protobuf:"bytes,3,rep,name=rules,proto3" json:"rules,omitempty"`
+ Sort int32 `protobuf:"varint,4,opt,name=sort,proto3" json:"sort,omitempty"`
+}
+
+func (m *SdkRuleSet) Reset() { *m = SdkRuleSet{} }
+func (m *SdkRuleSet) String() string { return proto.CompactTextString(m) }
+func (*SdkRuleSet) ProtoMessage() {}
+func (*SdkRuleSet) Descriptor() ([]byte, []int) {
+ return fileDescriptor_32de24555f916688, []int{18}
+}
+func (m *SdkRuleSet) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *SdkRuleSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_SdkRuleSet.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 *SdkRuleSet) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_SdkRuleSet.Merge(m, src)
+}
+func (m *SdkRuleSet) XXX_Size() int {
+ return m.Size()
+}
+func (m *SdkRuleSet) XXX_DiscardUnknown() {
+ xxx_messageInfo_SdkRuleSet.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_SdkRuleSet proto.InternalMessageInfo
+
+func (m *SdkRuleSet) GetSdkId() string {
+ if m != nil {
+ return m.SdkId
+ }
+ return ""
+}
+
+func (m *SdkRuleSet) GetIpcId() string {
+ if m != nil {
+ return m.IpcId
+ }
+ return ""
+}
+
+func (m *SdkRuleSet) GetRules() []*SdkRule {
+ if m != nil {
+ return m.Rules
+ }
+ return nil
+}
+
+func (m *SdkRuleSet) GetSort() int32 {
+ if m != nil {
+ return m.Sort
+ }
+ return 0
+}
+
+type SdkRule struct {
+ Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
+ SdkArgAlias string `protobuf:"bytes,2,opt,name=sdk_arg_alias,json=sdkArgAlias,proto3" json:"sdk_arg_alias,omitempty"`
+ Operator string `protobuf:"bytes,3,opt,name=operator,proto3" json:"operator,omitempty"`
+ SdkArgValue string `protobuf:"bytes,4,opt,name=sdk_arg_value,json=sdkArgValue,proto3" json:"sdk_arg_value,omitempty"`
+}
+
+func (m *SdkRule) Reset() { *m = SdkRule{} }
+func (m *SdkRule) String() string { return proto.CompactTextString(m) }
+func (*SdkRule) ProtoMessage() {}
+func (*SdkRule) Descriptor() ([]byte, []int) {
+ return fileDescriptor_32de24555f916688, []int{19}
+}
+func (m *SdkRule) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *SdkRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_SdkRule.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 *SdkRule) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_SdkRule.Merge(m, src)
+}
+func (m *SdkRule) XXX_Size() int {
+ return m.Size()
+}
+func (m *SdkRule) XXX_DiscardUnknown() {
+ xxx_messageInfo_SdkRule.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_SdkRule proto.InternalMessageInfo
+
+func (m *SdkRule) GetId() string {
+ if m != nil {
+ return m.Id
+ }
+ return ""
+}
+
+func (m *SdkRule) GetSdkArgAlias() string {
+ if m != nil {
+ return m.SdkArgAlias
+ }
+ return ""
+}
+
+func (m *SdkRule) GetOperator() string {
+ if m != nil {
+ return m.Operator
+ }
+ return ""
+}
+
+func (m *SdkRule) GetSdkArgValue() string {
+ if m != nil {
+ return m.SdkArgValue
+ }
+ return ""
+}
+
//SdkArg struct
type SdkArg struct {
- Alias string `protobuf:"bytes,1,opt,name=alias,proto3" json:"alias,omitempty"`
- Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
- Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
- Must bool `protobuf:"varint,4,opt,name=must,proto3" json:"must,omitempty"`
- Unit string `protobuf:"bytes,5,opt,name=unit,proto3" json:"unit,omitempty"`
- Range string `protobuf:"bytes,6,opt,name=range,proto3" json:"range,omitempty"`
- Sort int32 `protobuf:"varint,7,opt,name=sort,proto3" json:"sort,omitempty"`
+ Alias string `protobuf:"bytes,1,opt,name=alias,proto3" json:"alias,omitempty"`
+ Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
+ Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
+ Must bool `protobuf:"varint,4,opt,name=must,proto3" json:"must,omitempty"`
+ Unit string `protobuf:"bytes,5,opt,name=unit,proto3" json:"unit,omitempty"`
+ Range string `protobuf:"bytes,6,opt,name=range,proto3" json:"range,omitempty"`
+ DefaultValue string `protobuf:"bytes,7,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"`
+ DefaultOperator string `protobuf:"bytes,8,opt,name=default_operator,json=defaultOperator,proto3" json:"default_operator,omitempty"`
+ Sort int32 `protobuf:"varint,9,opt,name=sort,proto3" json:"sort,omitempty"`
}
func (m *SdkArg) Reset() { *m = SdkArg{} }
func (m *SdkArg) String() string { return proto.CompactTextString(m) }
func (*SdkArg) ProtoMessage() {}
func (*SdkArg) Descriptor() ([]byte, []int) {
- return fileDescriptor_32de24555f916688, []int{17}
+ return fileDescriptor_32de24555f916688, []int{20}
}
func (m *SdkArg) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -1580,6 +1837,20 @@
return ""
}
+func (m *SdkArg) GetDefaultValue() string {
+ if m != nil {
+ return m.DefaultValue
+ }
+ return ""
+}
+
+func (m *SdkArg) GetDefaultOperator() string {
+ if m != nil {
+ return m.DefaultOperator
+ }
+ return ""
+}
+
func (m *SdkArg) GetSort() int32 {
if m != nil {
return m.Sort
@@ -1599,7 +1870,7 @@
func (m *DbChangeMessage) String() string { return proto.CompactTextString(m) }
func (*DbChangeMessage) ProtoMessage() {}
func (*DbChangeMessage) Descriptor() ([]byte, []int) {
- return fileDescriptor_32de24555f916688, []int{18}
+ return fileDescriptor_32de24555f916688, []int{21}
}
func (m *DbChangeMessage) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -1671,7 +1942,7 @@
func (m *CameraPolygon) String() string { return proto.CompactTextString(m) }
func (*CameraPolygon) ProtoMessage() {}
func (*CameraPolygon) Descriptor() ([]byte, []int) {
- return fileDescriptor_32de24555f916688, []int{19}
+ return fileDescriptor_32de24555f916688, []int{22}
}
func (m *CameraPolygon) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -1756,9 +2027,895 @@
return 0
}
+type VideotapeInfo struct {
+ EsDataId string `protobuf:"bytes,1,opt,name=esDataId,proto3" json:"esDataId,omitempty"`
+ CameraId string `protobuf:"bytes,2,opt,name=cameraId,proto3" json:"cameraId,omitempty"`
+ TaskId string `protobuf:"bytes,3,opt,name=taskId,proto3" json:"taskId,omitempty"`
+ ImgId int64 `protobuf:"varint,4,opt,name=imgId,proto3" json:"imgId,omitempty"`
+ VideoUrl string `protobuf:"bytes,5,opt,name=videoUrl,proto3" json:"videoUrl,omitempty"`
+ SdkIds []string `protobuf:"bytes,6,rep,name=sdkIds,proto3" json:"sdkIds,omitempty"`
+ Type int32 `protobuf:"varint,7,opt,name=type,proto3" json:"type,omitempty"`
+}
+
+func (m *VideotapeInfo) Reset() { *m = VideotapeInfo{} }
+func (m *VideotapeInfo) String() string { return proto.CompactTextString(m) }
+func (*VideotapeInfo) ProtoMessage() {}
+func (*VideotapeInfo) Descriptor() ([]byte, []int) {
+ return fileDescriptor_32de24555f916688, []int{23}
+}
+func (m *VideotapeInfo) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *VideotapeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_VideotapeInfo.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 *VideotapeInfo) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_VideotapeInfo.Merge(m, src)
+}
+func (m *VideotapeInfo) XXX_Size() int {
+ return m.Size()
+}
+func (m *VideotapeInfo) XXX_DiscardUnknown() {
+ xxx_messageInfo_VideotapeInfo.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_VideotapeInfo proto.InternalMessageInfo
+
+func (m *VideotapeInfo) GetEsDataId() string {
+ if m != nil {
+ return m.EsDataId
+ }
+ return ""
+}
+
+func (m *VideotapeInfo) GetCameraId() string {
+ if m != nil {
+ return m.CameraId
+ }
+ return ""
+}
+
+func (m *VideotapeInfo) GetTaskId() string {
+ if m != nil {
+ return m.TaskId
+ }
+ return ""
+}
+
+func (m *VideotapeInfo) GetImgId() int64 {
+ if m != nil {
+ return m.ImgId
+ }
+ return 0
+}
+
+func (m *VideotapeInfo) GetVideoUrl() string {
+ if m != nil {
+ return m.VideoUrl
+ }
+ return ""
+}
+
+func (m *VideotapeInfo) GetSdkIds() []string {
+ if m != nil {
+ return m.SdkIds
+ }
+ return nil
+}
+
+func (m *VideotapeInfo) GetType() int32 {
+ if m != nil {
+ return m.Type
+ }
+ return 0
+}
+
+type CompareArgs struct {
+ TableIds []string `protobuf:"bytes,1,rep,name=tableIds,proto3" json:"tableIds,omitempty"`
+ CompareThreshold float32 `protobuf:"fixed32,2,opt,name=compareThreshold,proto3" json:"compareThreshold,omitempty"`
+ FaceFeature []byte `protobuf:"bytes,3,opt,name=faceFeature,proto3" json:"faceFeature,omitempty"`
+ Tasks []string `protobuf:"bytes,4,rep,name=tasks,proto3" json:"tasks,omitempty"`
+ TreeNodes []string `protobuf:"bytes,5,rep,name=treeNodes,proto3" json:"treeNodes,omitempty"`
+ Tabs []string `protobuf:"bytes,6,rep,name=tabs,proto3" json:"tabs,omitempty"`
+ AlarmLevel string `protobuf:"bytes,7,opt,name=alarmLevel,proto3" json:"alarmLevel,omitempty"`
+ SearchTime []string `protobuf:"bytes,8,rep,name=searchTime,proto3" json:"searchTime,omitempty"`
+ InputValue string `protobuf:"bytes,9,opt,name=inputValue,proto3" json:"inputValue,omitempty"`
+ Collection string `protobuf:"bytes,10,opt,name=collection,proto3" json:"collection,omitempty"`
+ Source bool `protobuf:"varint,11,opt,name=source,proto3" json:"source,omitempty"`
+ AnalyServerId string `protobuf:"bytes,12,opt,name=analyServerId,proto3" json:"analyServerId,omitempty"`
+}
+
+func (m *CompareArgs) Reset() { *m = CompareArgs{} }
+func (m *CompareArgs) String() string { return proto.CompactTextString(m) }
+func (*CompareArgs) ProtoMessage() {}
+func (*CompareArgs) Descriptor() ([]byte, []int) {
+ return fileDescriptor_32de24555f916688, []int{24}
+}
+func (m *CompareArgs) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *CompareArgs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_CompareArgs.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 *CompareArgs) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_CompareArgs.Merge(m, src)
+}
+func (m *CompareArgs) XXX_Size() int {
+ return m.Size()
+}
+func (m *CompareArgs) XXX_DiscardUnknown() {
+ xxx_messageInfo_CompareArgs.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_CompareArgs proto.InternalMessageInfo
+
+func (m *CompareArgs) GetTableIds() []string {
+ if m != nil {
+ return m.TableIds
+ }
+ return nil
+}
+
+func (m *CompareArgs) GetCompareThreshold() float32 {
+ if m != nil {
+ return m.CompareThreshold
+ }
+ return 0
+}
+
+func (m *CompareArgs) GetFaceFeature() []byte {
+ if m != nil {
+ return m.FaceFeature
+ }
+ return nil
+}
+
+func (m *CompareArgs) GetTasks() []string {
+ if m != nil {
+ return m.Tasks
+ }
+ return nil
+}
+
+func (m *CompareArgs) GetTreeNodes() []string {
+ if m != nil {
+ return m.TreeNodes
+ }
+ return nil
+}
+
+func (m *CompareArgs) GetTabs() []string {
+ if m != nil {
+ return m.Tabs
+ }
+ return nil
+}
+
+func (m *CompareArgs) GetAlarmLevel() string {
+ if m != nil {
+ return m.AlarmLevel
+ }
+ return ""
+}
+
+func (m *CompareArgs) GetSearchTime() []string {
+ if m != nil {
+ return m.SearchTime
+ }
+ return nil
+}
+
+func (m *CompareArgs) GetInputValue() string {
+ if m != nil {
+ return m.InputValue
+ }
+ return ""
+}
+
+func (m *CompareArgs) GetCollection() string {
+ if m != nil {
+ return m.Collection
+ }
+ return ""
+}
+
+func (m *CompareArgs) GetSource() bool {
+ if m != nil {
+ return m.Source
+ }
+ return false
+}
+
+func (m *CompareArgs) GetAnalyServerId() string {
+ if m != nil {
+ return m.AnalyServerId
+ }
+ return ""
+}
+
+type CompareEvent struct {
+ EventType CompareEventType `protobuf:"varint,1,opt,name=eventType,proto3,enum=protomsg.CompareEventType" json:"eventType,omitempty"`
+ Payload []byte `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
+}
+
+func (m *CompareEvent) Reset() { *m = CompareEvent{} }
+func (m *CompareEvent) String() string { return proto.CompactTextString(m) }
+func (*CompareEvent) ProtoMessage() {}
+func (*CompareEvent) Descriptor() ([]byte, []int) {
+ return fileDescriptor_32de24555f916688, []int{25}
+}
+func (m *CompareEvent) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *CompareEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_CompareEvent.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 *CompareEvent) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_CompareEvent.Merge(m, src)
+}
+func (m *CompareEvent) XXX_Size() int {
+ return m.Size()
+}
+func (m *CompareEvent) XXX_DiscardUnknown() {
+ xxx_messageInfo_CompareEvent.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_CompareEvent proto.InternalMessageInfo
+
+func (m *CompareEvent) GetEventType() CompareEventType {
+ if m != nil {
+ return m.EventType
+ }
+ return CompareEventType_ReInitCache
+}
+
+func (m *CompareEvent) GetPayload() []byte {
+ if m != nil {
+ return m.Payload
+ }
+ return nil
+}
+
+type SdkCompareEach struct {
+ Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
+ Tableid string `protobuf:"bytes,2,opt,name=tableid,proto3" json:"tableid,omitempty"`
+ CompareScore float32 `protobuf:"fixed32,3,opt,name=compareScore,proto3" json:"compareScore,omitempty"`
+}
+
+func (m *SdkCompareEach) Reset() { *m = SdkCompareEach{} }
+func (m *SdkCompareEach) String() string { return proto.CompactTextString(m) }
+func (*SdkCompareEach) ProtoMessage() {}
+func (*SdkCompareEach) Descriptor() ([]byte, []int) {
+ return fileDescriptor_32de24555f916688, []int{26}
+}
+func (m *SdkCompareEach) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *SdkCompareEach) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_SdkCompareEach.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 *SdkCompareEach) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_SdkCompareEach.Merge(m, src)
+}
+func (m *SdkCompareEach) XXX_Size() int {
+ return m.Size()
+}
+func (m *SdkCompareEach) XXX_DiscardUnknown() {
+ xxx_messageInfo_SdkCompareEach.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_SdkCompareEach proto.InternalMessageInfo
+
+func (m *SdkCompareEach) GetId() string {
+ if m != nil {
+ return m.Id
+ }
+ return ""
+}
+
+func (m *SdkCompareEach) GetTableid() string {
+ if m != nil {
+ return m.Tableid
+ }
+ return ""
+}
+
+func (m *SdkCompareEach) GetCompareScore() float32 {
+ if m != nil {
+ return m.CompareScore
+ }
+ return 0
+}
+
+type SdkCompareResult struct {
+ CompareResult []*SdkCompareEach `protobuf:"bytes,1,rep,name=compareResult,proto3" json:"compareResult,omitempty"`
+}
+
+func (m *SdkCompareResult) Reset() { *m = SdkCompareResult{} }
+func (m *SdkCompareResult) String() string { return proto.CompactTextString(m) }
+func (*SdkCompareResult) ProtoMessage() {}
+func (*SdkCompareResult) Descriptor() ([]byte, []int) {
+ return fileDescriptor_32de24555f916688, []int{27}
+}
+func (m *SdkCompareResult) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *SdkCompareResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_SdkCompareResult.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 *SdkCompareResult) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_SdkCompareResult.Merge(m, src)
+}
+func (m *SdkCompareResult) XXX_Size() int {
+ return m.Size()
+}
+func (m *SdkCompareResult) XXX_DiscardUnknown() {
+ xxx_messageInfo_SdkCompareResult.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_SdkCompareResult proto.InternalMessageInfo
+
+func (m *SdkCompareResult) GetCompareResult() []*SdkCompareEach {
+ if m != nil {
+ return m.CompareResult
+ }
+ return nil
+}
+
+type EventPush struct {
+ Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
+ Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
+ TimeStart string `protobuf:"bytes,3,opt,name=time_start,json=timeStart,proto3" json:"time_start,omitempty"`
+ TimeEnd string `protobuf:"bytes,4,opt,name=time_end,json=timeEnd,proto3" json:"time_end,omitempty"`
+ IsSatisfyAll bool `protobuf:"varint,5,opt,name=is_satisfy_all,json=isSatisfyAll,proto3" json:"is_satisfy_all,omitempty"`
+ RuleText string `protobuf:"bytes,6,opt,name=rule_text,json=ruleText,proto3" json:"rule_text,omitempty"`
+ Enable bool `protobuf:"varint,7,opt,name=enable,proto3" json:"enable,omitempty"`
+ LinkType string `protobuf:"bytes,8,opt,name=link_type,json=linkType,proto3" json:"link_type,omitempty"`
+ LinkDevice string `protobuf:"bytes,9,opt,name=link_device,json=linkDevice,proto3" json:"link_device,omitempty"`
+ IpPorts []*PushIpPort `protobuf:"bytes,10,rep,name=ip_ports,json=ipPorts,proto3" json:"ip_ports,omitempty"`
+ Urls []*PushUrl `protobuf:"bytes,11,rep,name=urls,proto3" json:"urls,omitempty"`
+ Rules []*EventPushRule `protobuf:"bytes,12,rep,name=rules,proto3" json:"rules,omitempty"`
+}
+
+func (m *EventPush) Reset() { *m = EventPush{} }
+func (m *EventPush) String() string { return proto.CompactTextString(m) }
+func (*EventPush) ProtoMessage() {}
+func (*EventPush) Descriptor() ([]byte, []int) {
+ return fileDescriptor_32de24555f916688, []int{28}
+}
+func (m *EventPush) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *EventPush) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_EventPush.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 *EventPush) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_EventPush.Merge(m, src)
+}
+func (m *EventPush) XXX_Size() int {
+ return m.Size()
+}
+func (m *EventPush) XXX_DiscardUnknown() {
+ xxx_messageInfo_EventPush.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_EventPush proto.InternalMessageInfo
+
+func (m *EventPush) GetId() string {
+ if m != nil {
+ return m.Id
+ }
+ return ""
+}
+
+func (m *EventPush) GetName() string {
+ if m != nil {
+ return m.Name
+ }
+ return ""
+}
+
+func (m *EventPush) GetTimeStart() string {
+ if m != nil {
+ return m.TimeStart
+ }
+ return ""
+}
+
+func (m *EventPush) GetTimeEnd() string {
+ if m != nil {
+ return m.TimeEnd
+ }
+ return ""
+}
+
+func (m *EventPush) GetIsSatisfyAll() bool {
+ if m != nil {
+ return m.IsSatisfyAll
+ }
+ return false
+}
+
+func (m *EventPush) GetRuleText() string {
+ if m != nil {
+ return m.RuleText
+ }
+ return ""
+}
+
+func (m *EventPush) GetEnable() bool {
+ if m != nil {
+ return m.Enable
+ }
+ return false
+}
+
+func (m *EventPush) GetLinkType() string {
+ if m != nil {
+ return m.LinkType
+ }
+ return ""
+}
+
+func (m *EventPush) GetLinkDevice() string {
+ if m != nil {
+ return m.LinkDevice
+ }
+ return ""
+}
+
+func (m *EventPush) GetIpPorts() []*PushIpPort {
+ if m != nil {
+ return m.IpPorts
+ }
+ return nil
+}
+
+func (m *EventPush) GetUrls() []*PushUrl {
+ if m != nil {
+ return m.Urls
+ }
+ return nil
+}
+
+func (m *EventPush) GetRules() []*EventPushRule {
+ if m != nil {
+ return m.Rules
+ }
+ return nil
+}
+
+type EventPushRule struct {
+ Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
+ TopicType string `protobuf:"bytes,2,opt,name=topic_type,json=topicType,proto3" json:"topic_type,omitempty"`
+ TopicArg string `protobuf:"bytes,3,opt,name=topic_arg,json=topicArg,proto3" json:"topic_arg,omitempty"`
+ Operator string `protobuf:"bytes,4,opt,name=operator,proto3" json:"operator,omitempty"`
+ OperatorType string `protobuf:"bytes,5,opt,name=operator_type,json=operatorType,proto3" json:"operator_type,omitempty"`
+ RuleValue string `protobuf:"bytes,6,opt,name=rule_value,json=ruleValue,proto3" json:"rule_value,omitempty"`
+ EventPushId string `protobuf:"bytes,7,opt,name=event_push_id,json=eventPushId,proto3" json:"event_push_id,omitempty"`
+}
+
+func (m *EventPushRule) Reset() { *m = EventPushRule{} }
+func (m *EventPushRule) String() string { return proto.CompactTextString(m) }
+func (*EventPushRule) ProtoMessage() {}
+func (*EventPushRule) Descriptor() ([]byte, []int) {
+ return fileDescriptor_32de24555f916688, []int{29}
+}
+func (m *EventPushRule) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *EventPushRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_EventPushRule.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 *EventPushRule) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_EventPushRule.Merge(m, src)
+}
+func (m *EventPushRule) XXX_Size() int {
+ return m.Size()
+}
+func (m *EventPushRule) XXX_DiscardUnknown() {
+ xxx_messageInfo_EventPushRule.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_EventPushRule proto.InternalMessageInfo
+
+func (m *EventPushRule) GetId() string {
+ if m != nil {
+ return m.Id
+ }
+ return ""
+}
+
+func (m *EventPushRule) GetTopicType() string {
+ if m != nil {
+ return m.TopicType
+ }
+ return ""
+}
+
+func (m *EventPushRule) GetTopicArg() string {
+ if m != nil {
+ return m.TopicArg
+ }
+ return ""
+}
+
+func (m *EventPushRule) GetOperator() string {
+ if m != nil {
+ return m.Operator
+ }
+ return ""
+}
+
+func (m *EventPushRule) GetOperatorType() string {
+ if m != nil {
+ return m.OperatorType
+ }
+ return ""
+}
+
+func (m *EventPushRule) GetRuleValue() string {
+ if m != nil {
+ return m.RuleValue
+ }
+ return ""
+}
+
+func (m *EventPushRule) GetEventPushId() string {
+ if m != nil {
+ return m.EventPushId
+ }
+ return ""
+}
+
+type PushIpPort struct {
+ ServerIp string `protobuf:"bytes,1,opt,name=server_ip,json=serverIp,proto3" json:"server_ip,omitempty"`
+ Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
+ Enable bool `protobuf:"varint,3,opt,name=enable,proto3" json:"enable,omitempty"`
+}
+
+func (m *PushIpPort) Reset() { *m = PushIpPort{} }
+func (m *PushIpPort) String() string { return proto.CompactTextString(m) }
+func (*PushIpPort) ProtoMessage() {}
+func (*PushIpPort) Descriptor() ([]byte, []int) {
+ return fileDescriptor_32de24555f916688, []int{30}
+}
+func (m *PushIpPort) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *PushIpPort) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_PushIpPort.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 *PushIpPort) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_PushIpPort.Merge(m, src)
+}
+func (m *PushIpPort) XXX_Size() int {
+ return m.Size()
+}
+func (m *PushIpPort) XXX_DiscardUnknown() {
+ xxx_messageInfo_PushIpPort.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_PushIpPort proto.InternalMessageInfo
+
+func (m *PushIpPort) GetServerIp() string {
+ if m != nil {
+ return m.ServerIp
+ }
+ return ""
+}
+
+func (m *PushIpPort) GetPort() int32 {
+ if m != nil {
+ return m.Port
+ }
+ return 0
+}
+
+func (m *PushIpPort) GetEnable() bool {
+ if m != nil {
+ return m.Enable
+ }
+ return false
+}
+
+type PushUrl struct {
+ Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
+ Enable bool `protobuf:"varint,2,opt,name=enable,proto3" json:"enable,omitempty"`
+}
+
+func (m *PushUrl) Reset() { *m = PushUrl{} }
+func (m *PushUrl) String() string { return proto.CompactTextString(m) }
+func (*PushUrl) ProtoMessage() {}
+func (*PushUrl) Descriptor() ([]byte, []int) {
+ return fileDescriptor_32de24555f916688, []int{31}
+}
+func (m *PushUrl) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *PushUrl) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_PushUrl.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 *PushUrl) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_PushUrl.Merge(m, src)
+}
+func (m *PushUrl) XXX_Size() int {
+ return m.Size()
+}
+func (m *PushUrl) XXX_DiscardUnknown() {
+ xxx_messageInfo_PushUrl.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_PushUrl proto.InternalMessageInfo
+
+func (m *PushUrl) GetUrl() string {
+ if m != nil {
+ return m.Url
+ }
+ return ""
+}
+
+func (m *PushUrl) GetEnable() bool {
+ if m != nil {
+ return m.Enable
+ }
+ return false
+}
+
+type PushAttach struct {
+ PushId string `protobuf:"bytes,1,opt,name=push_id,json=pushId,proto3" json:"push_id,omitempty"`
+ Cam *Camera `protobuf:"bytes,2,opt,name=cam,proto3" json:"cam,omitempty"`
+ ServerId string `protobuf:"bytes,3,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"`
+ ServerName string `protobuf:"bytes,4,opt,name=server_name,json=serverName,proto3" json:"server_name,omitempty"`
+ LocalIp string `protobuf:"bytes,5,opt,name=local_ip,json=localIp,proto3" json:"local_ip,omitempty"`
+ VideoUrl string `protobuf:"bytes,6,opt,name=video_url,json=videoUrl,proto3" json:"video_url,omitempty"`
+}
+
+func (m *PushAttach) Reset() { *m = PushAttach{} }
+func (m *PushAttach) String() string { return proto.CompactTextString(m) }
+func (*PushAttach) ProtoMessage() {}
+func (*PushAttach) Descriptor() ([]byte, []int) {
+ return fileDescriptor_32de24555f916688, []int{32}
+}
+func (m *PushAttach) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *PushAttach) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_PushAttach.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 *PushAttach) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_PushAttach.Merge(m, src)
+}
+func (m *PushAttach) XXX_Size() int {
+ return m.Size()
+}
+func (m *PushAttach) XXX_DiscardUnknown() {
+ xxx_messageInfo_PushAttach.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_PushAttach proto.InternalMessageInfo
+
+func (m *PushAttach) GetPushId() string {
+ if m != nil {
+ return m.PushId
+ }
+ return ""
+}
+
+func (m *PushAttach) GetCam() *Camera {
+ if m != nil {
+ return m.Cam
+ }
+ return nil
+}
+
+func (m *PushAttach) GetServerId() string {
+ if m != nil {
+ return m.ServerId
+ }
+ return ""
+}
+
+func (m *PushAttach) GetServerName() string {
+ if m != nil {
+ return m.ServerName
+ }
+ return ""
+}
+
+func (m *PushAttach) GetLocalIp() string {
+ if m != nil {
+ return m.LocalIp
+ }
+ return ""
+}
+
+func (m *PushAttach) GetVideoUrl() string {
+ if m != nil {
+ return m.VideoUrl
+ }
+ return ""
+}
+
+type EsPersonCacheChange struct {
+ Type EsCacheChanged `protobuf:"varint,1,opt,name=type,proto3,enum=protomsg.EsCacheChanged" json:"type,omitempty"`
+ TableId []string `protobuf:"bytes,2,rep,name=table_id,json=tableId,proto3" json:"table_id,omitempty"`
+ PersonId string `protobuf:"bytes,3,opt,name=person_id,json=personId,proto3" json:"person_id,omitempty"`
+ Feature string `protobuf:"bytes,4,opt,name=feature,proto3" json:"feature,omitempty"`
+ Action DbAction `protobuf:"varint,5,opt,name=action,proto3,enum=protomsg.DbAction" json:"action,omitempty"`
+ Enable int32 `protobuf:"varint,6,opt,name=enable,proto3" json:"enable,omitempty"`
+}
+
+func (m *EsPersonCacheChange) Reset() { *m = EsPersonCacheChange{} }
+func (m *EsPersonCacheChange) String() string { return proto.CompactTextString(m) }
+func (*EsPersonCacheChange) ProtoMessage() {}
+func (*EsPersonCacheChange) Descriptor() ([]byte, []int) {
+ return fileDescriptor_32de24555f916688, []int{33}
+}
+func (m *EsPersonCacheChange) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *EsPersonCacheChange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_EsPersonCacheChange.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 *EsPersonCacheChange) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_EsPersonCacheChange.Merge(m, src)
+}
+func (m *EsPersonCacheChange) XXX_Size() int {
+ return m.Size()
+}
+func (m *EsPersonCacheChange) XXX_DiscardUnknown() {
+ xxx_messageInfo_EsPersonCacheChange.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_EsPersonCacheChange proto.InternalMessageInfo
+
+func (m *EsPersonCacheChange) GetType() EsCacheChanged {
+ if m != nil {
+ return m.Type
+ }
+ return EsCacheChanged_T_DbTable
+}
+
+func (m *EsPersonCacheChange) GetTableId() []string {
+ if m != nil {
+ return m.TableId
+ }
+ return nil
+}
+
+func (m *EsPersonCacheChange) GetPersonId() string {
+ if m != nil {
+ return m.PersonId
+ }
+ return ""
+}
+
+func (m *EsPersonCacheChange) GetFeature() string {
+ if m != nil {
+ return m.Feature
+ }
+ return ""
+}
+
+func (m *EsPersonCacheChange) GetAction() DbAction {
+ if m != nil {
+ return m.Action
+ }
+ return DbAction_Insert
+}
+
+func (m *EsPersonCacheChange) GetEnable() int32 {
+ if m != nil {
+ return m.Enable
+ }
+ return 0
+}
+
func init() {
proto.RegisterEnum("protomsg.TableChanged", TableChanged_name, TableChanged_value)
proto.RegisterEnum("protomsg.DbAction", DbAction_name, DbAction_value)
+ proto.RegisterEnum("protomsg.CompareEventType", CompareEventType_name, CompareEventType_value)
+ proto.RegisterEnum("protomsg.EsCacheChanged", EsCacheChanged_name, EsCacheChanged_value)
proto.RegisterType((*Area)(nil), "protomsg.Area")
proto.RegisterType((*Camera)(nil), "protomsg.Camera")
proto.RegisterType((*CameraAndTaskInfo)(nil), "protomsg.CameraAndTaskInfo")
@@ -1776,117 +2933,190 @@
proto.RegisterType((*GroupRule)(nil), "protomsg.GroupRule")
proto.RegisterType((*Rule)(nil), "protomsg.Rule")
proto.RegisterType((*Sdk)(nil), "protomsg.Sdk")
+ proto.RegisterType((*TaskSdkRule)(nil), "protomsg.TaskSdkRule")
+ proto.RegisterType((*SdkRuleSet)(nil), "protomsg.SdkRuleSet")
+ proto.RegisterType((*SdkRule)(nil), "protomsg.SdkRule")
proto.RegisterType((*SdkArg)(nil), "protomsg.SdkArg")
proto.RegisterType((*DbChangeMessage)(nil), "protomsg.DbChangeMessage")
proto.RegisterType((*CameraPolygon)(nil), "protomsg.CameraPolygon")
+ proto.RegisterType((*VideotapeInfo)(nil), "protomsg.VideotapeInfo")
+ proto.RegisterType((*CompareArgs)(nil), "protomsg.CompareArgs")
+ proto.RegisterType((*CompareEvent)(nil), "protomsg.CompareEvent")
+ proto.RegisterType((*SdkCompareEach)(nil), "protomsg.SdkCompareEach")
+ proto.RegisterType((*SdkCompareResult)(nil), "protomsg.SdkCompareResult")
+ proto.RegisterType((*EventPush)(nil), "protomsg.EventPush")
+ proto.RegisterType((*EventPushRule)(nil), "protomsg.EventPushRule")
+ proto.RegisterType((*PushIpPort)(nil), "protomsg.PushIpPort")
+ proto.RegisterType((*PushUrl)(nil), "protomsg.PushUrl")
+ proto.RegisterType((*PushAttach)(nil), "protomsg.PushAttach")
+ proto.RegisterType((*EsPersonCacheChange)(nil), "protomsg.EsPersonCacheChange")
}
func init() { proto.RegisterFile("protomsg.proto", fileDescriptor_32de24555f916688) }
var fileDescriptor_32de24555f916688 = []byte{
- // 1629 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x57, 0x4b, 0x8f, 0xdc, 0xc6,
- 0x11, 0x5e, 0xce, 0x93, 0xac, 0x79, 0x88, 0x6a, 0x29, 0x36, 0x23, 0xc7, 0x9b, 0x15, 0xa3, 0x20,
- 0x0b, 0x21, 0xd1, 0x61, 0xed, 0x53, 0x6e, 0x63, 0x29, 0x0a, 0x06, 0x70, 0x0c, 0x85, 0x3b, 0x56,
- 0x8e, 0x44, 0xef, 0x74, 0x2f, 0xd5, 0x58, 0x2e, 0x39, 0xe8, 0x6e, 0xae, 0xbd, 0xbf, 0x22, 0x39,
- 0xe6, 0xe7, 0x04, 0x39, 0xe5, 0x90, 0x83, 0x8f, 0xb9, 0x25, 0x90, 0x80, 0x5c, 0x82, 0xfc, 0x85,
- 0x20, 0xa8, 0xea, 0x26, 0xe7, 0xa1, 0xb5, 0xa1, 0x5b, 0xbd, 0xa6, 0xbb, 0xba, 0xea, 0xe3, 0x57,
- 0x35, 0x30, 0xdf, 0xe8, 0xda, 0xd6, 0xd7, 0xa6, 0x78, 0x46, 0x02, 0x0b, 0x5b, 0xfd, 0x11, 0x5c,
- 0x70, 0x23, 0x9d, 0x35, 0x7d, 0x09, 0x83, 0x85, 0x96, 0x9c, 0xcd, 0xa1, 0xa7, 0x44, 0x12, 0x9c,
- 0x04, 0xa7, 0xc3, 0xac, 0xa7, 0x04, 0x7b, 0x04, 0xe1, 0x86, 0x6b, 0x59, 0x59, 0x25, 0x92, 0x1e,
- 0x59, 0x3b, 0x9d, 0x31, 0x18, 0x54, 0xfc, 0x5a, 0x26, 0xfd, 0x93, 0xe0, 0x34, 0x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bb, 0xe3,
- 0xa3, 0xef, 0xde, 0x1d, 0x1f, 0xfd, 0xe3, 0xdd, 0xf1, 0xd1, 0xc5, 0x88, 0xd0, 0xf2, 0xd9, 0xff,
- 0x03, 0x00, 0x00, 0xff, 0xff, 0x59, 0x02, 0xcd, 0x8b, 0xca, 0x0e, 0x00, 0x00,
+ // 2566 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x38, 0xcb, 0x6e, 0x1c, 0xc7,
+ 0xb5, 0xec, 0x79, 0xcf, 0x99, 0x19, 0xaa, 0x55, 0xd2, 0xb5, 0x5b, 0xf2, 0x35, 0x4d, 0xf7, 0x95,
+ 0x61, 0x5d, 0xc1, 0xf6, 0xbd, 0x90, 0xbd, 0x08, 0xb2, 0x08, 0x30, 0xd6, 0x23, 0x18, 0xc0, 0x71,
+ 0x98, 0x26, 0xa5, 0xec, 0xd2, 0xa8, 0x99, 0x2e, 0x0e, 0x1b, 0x2c, 0x76, 0x37, 0xaa, 0xba, 0x69,
+ 0x73, 0x91, 0x0f, 0xc8, 0x2a, 0xf9, 0xa1, 0x20, 0x59, 0x66, 0x91, 0x85, 0x97, 0xc9, 0xca, 0x89,
+ 0x0d, 0x04, 0x01, 0x82, 0xfc, 0x41, 0x02, 0x04, 0xe7, 0x54, 0x55, 0x3f, 0x86, 0x94, 0xad, 0xd5,
+ 0xd4, 0x79, 0x74, 0xd5, 0x79, 0x3f, 0x06, 0xf6, 0x0b, 0x95, 0x97, 0xf9, 0x85, 0xde, 0x7e, 0x44,
+ 0x07, 0x36, 0x71, 0xf0, 0x7d, 0x58, 0x73, 0x2d, 0x0c, 0x36, 0x7c, 0x0e, 0x83, 0xa5, 0x12, 0x9c,
+ 0xed, 0x43, 0x2f, 0x4d, 0x02, 0xef, 0xd0, 0x7b, 0x38, 0x8c, 0x7a, 0x69, 0xc2, 0xee, 0xc3, 0xa4,
+ 0xe0, 0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0, 0xfc, 0x54,
+ 0x48, 0x51, 0x0a, 0xbf, 0xf7, 0x68, 0x09, 0xfe, 0x6e, 0x63, 0x62, 0xb7, 0x60, 0x16, 0x89, 0x55,
+ 0x96, 0x96, 0xe4, 0x59, 0x7f, 0x0f, 0x11, 0xe6, 0x63, 0x83, 0xf0, 0xd8, 0x0c, 0xc6, 0xf6, 0x2b,
+ 0xbf, 0xf7, 0xe8, 0x13, 0xd8, 0xef, 0x06, 0x81, 0xb1, 0xca, 0xd3, 0x35, 0xd9, 0xda, 0xdf, 0x33,
+ 0x7a, 0x5b, 0xd0, 0x44, 0x96, 0xef, 0x7d, 0x1a, 0xfc, 0xe1, 0x9b, 0x03, 0xef, 0xab, 0x6f, 0x0e,
+ 0xbc, 0xbf, 0x7c, 0x73, 0xe0, 0xfd, 0xe6, 0xdb, 0x83, 0xbd, 0xaf, 0xbe, 0x3d, 0xd8, 0xfb, 0xd3,
+ 0xb7, 0x07, 0x7b, 0xeb, 0x11, 0x79, 0xf6, 0xe3, 0xff, 0x04, 0x00, 0x00, 0xff, 0xff, 0xf9, 0xfd,
+ 0xf0, 0x88, 0x07, 0x19, 0x00, 0x00,
}
func (m *Area) Marshal() (dAtA []byte, err error) {
@@ -1973,22 +3203,22 @@
i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Addr)))
i += copy(dAtA[i:], m.Addr)
}
- if m.Areaid != 0 {
- dAtA[i] = 0x38
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(m.Areaid))
- }
if m.Longitude != 0 {
- dAtA[i] = 0x45
+ dAtA[i] = 0x3d
i++
encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.Longitude))))
i += 4
}
if m.Latitude != 0 {
- dAtA[i] = 0x4d
+ dAtA[i] = 0x45
i++
encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.Latitude))))
i += 4
+ }
+ if m.Floor != 0 {
+ dAtA[i] = 0x48
+ i++
+ i = encodeVarintProtomsg(dAtA, i, uint64(m.Floor))
}
if len(m.Rtsp) > 0 {
dAtA[i] = 0x52
@@ -2890,6 +4120,141 @@
return i, nil
}
+func (m *TaskSdkRule) 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 *TaskSdkRule) 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 m.Enable {
+ dAtA[i] = 0x10
+ i++
+ if m.Enable {
+ dAtA[i] = 1
+ } else {
+ dAtA[i] = 0
+ }
+ i++
+ }
+ if len(m.SdkRules) > 0 {
+ for _, msg := range m.SdkRules {
+ 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
+ }
+ }
+ return i, nil
+}
+
+func (m *SdkRuleSet) 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 *SdkRuleSet) MarshalTo(dAtA []byte) (int, error) {
+ var i int
+ _ = i
+ var l int
+ _ = l
+ if len(m.SdkId) > 0 {
+ dAtA[i] = 0xa
+ i++
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.SdkId)))
+ i += copy(dAtA[i:], m.SdkId)
+ }
+ if len(m.IpcId) > 0 {
+ dAtA[i] = 0x12
+ i++
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.IpcId)))
+ i += copy(dAtA[i:], m.IpcId)
+ }
+ if len(m.Rules) > 0 {
+ for _, msg := range m.Rules {
+ 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.Sort != 0 {
+ dAtA[i] = 0x20
+ i++
+ i = encodeVarintProtomsg(dAtA, i, uint64(m.Sort))
+ }
+ return i, nil
+}
+
+func (m *SdkRule) 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 *SdkRule) 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.SdkArgAlias) > 0 {
+ dAtA[i] = 0x12
+ i++
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.SdkArgAlias)))
+ i += copy(dAtA[i:], m.SdkArgAlias)
+ }
+ if len(m.Operator) > 0 {
+ dAtA[i] = 0x1a
+ i++
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Operator)))
+ i += copy(dAtA[i:], m.Operator)
+ }
+ if len(m.SdkArgValue) > 0 {
+ dAtA[i] = 0x22
+ i++
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.SdkArgValue)))
+ i += copy(dAtA[i:], m.SdkArgValue)
+ }
+ return i, nil
+}
+
func (m *SdkArg) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
@@ -2945,8 +4310,20 @@
i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Range)))
i += copy(dAtA[i:], m.Range)
}
+ if len(m.DefaultValue) > 0 {
+ dAtA[i] = 0x3a
+ i++
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.DefaultValue)))
+ i += copy(dAtA[i:], m.DefaultValue)
+ }
+ if len(m.DefaultOperator) > 0 {
+ dAtA[i] = 0x42
+ i++
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.DefaultOperator)))
+ i += copy(dAtA[i:], m.DefaultOperator)
+ }
if m.Sort != 0 {
- dAtA[i] = 0x38
+ dAtA[i] = 0x48
i++
i = encodeVarintProtomsg(dAtA, i, uint64(m.Sort))
}
@@ -3058,6 +4435,674 @@
return i, nil
}
+func (m *VideotapeInfo) 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 *VideotapeInfo) MarshalTo(dAtA []byte) (int, error) {
+ var i int
+ _ = i
+ var l int
+ _ = l
+ if len(m.EsDataId) > 0 {
+ dAtA[i] = 0xa
+ i++
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.EsDataId)))
+ i += copy(dAtA[i:], m.EsDataId)
+ }
+ 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 m.ImgId != 0 {
+ dAtA[i] = 0x20
+ i++
+ i = encodeVarintProtomsg(dAtA, i, uint64(m.ImgId))
+ }
+ if len(m.VideoUrl) > 0 {
+ dAtA[i] = 0x2a
+ i++
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.VideoUrl)))
+ i += copy(dAtA[i:], m.VideoUrl)
+ }
+ if len(m.SdkIds) > 0 {
+ for _, s := range m.SdkIds {
+ dAtA[i] = 0x32
+ 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.Type != 0 {
+ dAtA[i] = 0x38
+ i++
+ i = encodeVarintProtomsg(dAtA, i, uint64(m.Type))
+ }
+ return i, nil
+}
+
+func (m *CompareArgs) 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 *CompareArgs) MarshalTo(dAtA []byte) (int, error) {
+ var i int
+ _ = i
+ var l int
+ _ = l
+ if len(m.TableIds) > 0 {
+ for _, s := range m.TableIds {
+ dAtA[i] = 0xa
+ 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.CompareThreshold != 0 {
+ dAtA[i] = 0x15
+ i++
+ encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.CompareThreshold))))
+ i += 4
+ }
+ if len(m.FaceFeature) > 0 {
+ dAtA[i] = 0x1a
+ i++
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.FaceFeature)))
+ i += copy(dAtA[i:], m.FaceFeature)
+ }
+ if len(m.Tasks) > 0 {
+ for _, s := range m.Tasks {
+ dAtA[i] = 0x22
+ i++
+ l = len(s)
+ for l >= 1<<7 {
+ dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
+ l >>= 7
+ i++
+ }
+ dAtA[i] = uint8(l)
+ i++
+ i += copy(dAtA[i:], s)
+ }
+ }
+ if len(m.TreeNodes) > 0 {
+ for _, s := range m.TreeNodes {
+ dAtA[i] = 0x2a
+ i++
+ l = len(s)
+ for l >= 1<<7 {
+ dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
+ l >>= 7
+ i++
+ }
+ dAtA[i] = uint8(l)
+ i++
+ i += copy(dAtA[i:], s)
+ }
+ }
+ if len(m.Tabs) > 0 {
+ for _, s := range m.Tabs {
+ dAtA[i] = 0x32
+ i++
+ l = len(s)
+ for l >= 1<<7 {
+ dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
+ l >>= 7
+ i++
+ }
+ dAtA[i] = uint8(l)
+ i++
+ i += copy(dAtA[i:], s)
+ }
+ }
+ if len(m.AlarmLevel) > 0 {
+ dAtA[i] = 0x3a
+ i++
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.AlarmLevel)))
+ i += copy(dAtA[i:], m.AlarmLevel)
+ }
+ if len(m.SearchTime) > 0 {
+ for _, s := range m.SearchTime {
+ dAtA[i] = 0x42
+ i++
+ l = len(s)
+ for l >= 1<<7 {
+ dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
+ l >>= 7
+ i++
+ }
+ dAtA[i] = uint8(l)
+ i++
+ i += copy(dAtA[i:], s)
+ }
+ }
+ if len(m.InputValue) > 0 {
+ dAtA[i] = 0x4a
+ i++
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.InputValue)))
+ i += copy(dAtA[i:], m.InputValue)
+ }
+ if len(m.Collection) > 0 {
+ dAtA[i] = 0x52
+ i++
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Collection)))
+ i += copy(dAtA[i:], m.Collection)
+ }
+ if m.Source {
+ dAtA[i] = 0x58
+ i++
+ if m.Source {
+ dAtA[i] = 1
+ } else {
+ dAtA[i] = 0
+ }
+ i++
+ }
+ if len(m.AnalyServerId) > 0 {
+ dAtA[i] = 0x62
+ i++
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.AnalyServerId)))
+ i += copy(dAtA[i:], m.AnalyServerId)
+ }
+ return i, nil
+}
+
+func (m *CompareEvent) 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 *CompareEvent) MarshalTo(dAtA []byte) (int, error) {
+ var i int
+ _ = i
+ var l int
+ _ = l
+ if m.EventType != 0 {
+ dAtA[i] = 0x8
+ i++
+ i = encodeVarintProtomsg(dAtA, i, uint64(m.EventType))
+ }
+ if len(m.Payload) > 0 {
+ dAtA[i] = 0x12
+ i++
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Payload)))
+ i += copy(dAtA[i:], m.Payload)
+ }
+ return i, nil
+}
+
+func (m *SdkCompareEach) 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 *SdkCompareEach) 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.Tableid) > 0 {
+ dAtA[i] = 0x12
+ i++
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Tableid)))
+ i += copy(dAtA[i:], m.Tableid)
+ }
+ if m.CompareScore != 0 {
+ dAtA[i] = 0x1d
+ i++
+ encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.CompareScore))))
+ i += 4
+ }
+ return i, nil
+}
+
+func (m *SdkCompareResult) 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 *SdkCompareResult) MarshalTo(dAtA []byte) (int, error) {
+ var i int
+ _ = i
+ var l int
+ _ = l
+ if len(m.CompareResult) > 0 {
+ for _, msg := range m.CompareResult {
+ dAtA[i] = 0xa
+ i++
+ i = encodeVarintProtomsg(dAtA, i, uint64(msg.Size()))
+ n, err := msg.MarshalTo(dAtA[i:])
+ if err != nil {
+ return 0, err
+ }
+ i += n
+ }
+ }
+ return i, nil
+}
+
+func (m *EventPush) 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 *EventPush) 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.TimeStart) > 0 {
+ dAtA[i] = 0x1a
+ i++
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.TimeStart)))
+ i += copy(dAtA[i:], m.TimeStart)
+ }
+ if len(m.TimeEnd) > 0 {
+ dAtA[i] = 0x22
+ i++
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.TimeEnd)))
+ i += copy(dAtA[i:], m.TimeEnd)
+ }
+ if m.IsSatisfyAll {
+ dAtA[i] = 0x28
+ i++
+ if m.IsSatisfyAll {
+ dAtA[i] = 1
+ } else {
+ dAtA[i] = 0
+ }
+ i++
+ }
+ if len(m.RuleText) > 0 {
+ dAtA[i] = 0x32
+ i++
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.RuleText)))
+ i += copy(dAtA[i:], m.RuleText)
+ }
+ if m.Enable {
+ dAtA[i] = 0x38
+ i++
+ if m.Enable {
+ dAtA[i] = 1
+ } else {
+ dAtA[i] = 0
+ }
+ i++
+ }
+ if len(m.LinkType) > 0 {
+ dAtA[i] = 0x42
+ i++
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.LinkType)))
+ i += copy(dAtA[i:], m.LinkType)
+ }
+ if len(m.LinkDevice) > 0 {
+ dAtA[i] = 0x4a
+ i++
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.LinkDevice)))
+ i += copy(dAtA[i:], m.LinkDevice)
+ }
+ if len(m.IpPorts) > 0 {
+ for _, msg := range m.IpPorts {
+ dAtA[i] = 0x52
+ 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.Urls) > 0 {
+ for _, msg := range m.Urls {
+ dAtA[i] = 0x5a
+ 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.Rules) > 0 {
+ for _, msg := range m.Rules {
+ dAtA[i] = 0x62
+ i++
+ i = encodeVarintProtomsg(dAtA, i, uint64(msg.Size()))
+ n, err := msg.MarshalTo(dAtA[i:])
+ if err != nil {
+ return 0, err
+ }
+ i += n
+ }
+ }
+ return i, nil
+}
+
+func (m *EventPushRule) 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 *EventPushRule) 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.TopicType) > 0 {
+ dAtA[i] = 0x12
+ i++
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.TopicType)))
+ i += copy(dAtA[i:], m.TopicType)
+ }
+ if len(m.TopicArg) > 0 {
+ dAtA[i] = 0x1a
+ i++
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.TopicArg)))
+ i += copy(dAtA[i:], m.TopicArg)
+ }
+ if len(m.Operator) > 0 {
+ dAtA[i] = 0x22
+ i++
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Operator)))
+ i += copy(dAtA[i:], m.Operator)
+ }
+ if len(m.OperatorType) > 0 {
+ dAtA[i] = 0x2a
+ i++
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.OperatorType)))
+ i += copy(dAtA[i:], m.OperatorType)
+ }
+ if len(m.RuleValue) > 0 {
+ dAtA[i] = 0x32
+ i++
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.RuleValue)))
+ i += copy(dAtA[i:], m.RuleValue)
+ }
+ if len(m.EventPushId) > 0 {
+ dAtA[i] = 0x3a
+ i++
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.EventPushId)))
+ i += copy(dAtA[i:], m.EventPushId)
+ }
+ return i, nil
+}
+
+func (m *PushIpPort) 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 *PushIpPort) MarshalTo(dAtA []byte) (int, error) {
+ var i int
+ _ = i
+ var l int
+ _ = l
+ if len(m.ServerIp) > 0 {
+ dAtA[i] = 0xa
+ i++
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.ServerIp)))
+ i += copy(dAtA[i:], m.ServerIp)
+ }
+ if m.Port != 0 {
+ dAtA[i] = 0x10
+ i++
+ i = encodeVarintProtomsg(dAtA, i, uint64(m.Port))
+ }
+ if m.Enable {
+ dAtA[i] = 0x18
+ i++
+ if m.Enable {
+ dAtA[i] = 1
+ } else {
+ dAtA[i] = 0
+ }
+ i++
+ }
+ return i, nil
+}
+
+func (m *PushUrl) 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 *PushUrl) MarshalTo(dAtA []byte) (int, error) {
+ var i int
+ _ = i
+ var l int
+ _ = l
+ if len(m.Url) > 0 {
+ dAtA[i] = 0xa
+ i++
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Url)))
+ i += copy(dAtA[i:], m.Url)
+ }
+ if m.Enable {
+ dAtA[i] = 0x10
+ i++
+ if m.Enable {
+ dAtA[i] = 1
+ } else {
+ dAtA[i] = 0
+ }
+ i++
+ }
+ return i, nil
+}
+
+func (m *PushAttach) 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 *PushAttach) MarshalTo(dAtA []byte) (int, error) {
+ var i int
+ _ = i
+ var l int
+ _ = l
+ if len(m.PushId) > 0 {
+ dAtA[i] = 0xa
+ i++
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.PushId)))
+ i += copy(dAtA[i:], m.PushId)
+ }
+ if m.Cam != nil {
+ dAtA[i] = 0x12
+ i++
+ i = encodeVarintProtomsg(dAtA, i, uint64(m.Cam.Size()))
+ n4, err4 := m.Cam.MarshalTo(dAtA[i:])
+ if err4 != nil {
+ return 0, err4
+ }
+ i += n4
+ }
+ if len(m.ServerId) > 0 {
+ dAtA[i] = 0x1a
+ i++
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.ServerId)))
+ i += copy(dAtA[i:], m.ServerId)
+ }
+ if len(m.ServerName) > 0 {
+ dAtA[i] = 0x22
+ i++
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.ServerName)))
+ i += copy(dAtA[i:], m.ServerName)
+ }
+ if len(m.LocalIp) > 0 {
+ dAtA[i] = 0x2a
+ i++
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.LocalIp)))
+ i += copy(dAtA[i:], m.LocalIp)
+ }
+ if len(m.VideoUrl) > 0 {
+ dAtA[i] = 0x32
+ i++
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.VideoUrl)))
+ i += copy(dAtA[i:], m.VideoUrl)
+ }
+ return i, nil
+}
+
+func (m *EsPersonCacheChange) 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 *EsPersonCacheChange) MarshalTo(dAtA []byte) (int, error) {
+ var i int
+ _ = i
+ var l int
+ _ = l
+ if m.Type != 0 {
+ dAtA[i] = 0x8
+ i++
+ i = encodeVarintProtomsg(dAtA, i, uint64(m.Type))
+ }
+ if len(m.TableId) > 0 {
+ for _, s := range m.TableId {
+ 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 len(m.PersonId) > 0 {
+ dAtA[i] = 0x1a
+ i++
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.PersonId)))
+ i += copy(dAtA[i:], m.PersonId)
+ }
+ if len(m.Feature) > 0 {
+ dAtA[i] = 0x22
+ i++
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Feature)))
+ i += copy(dAtA[i:], m.Feature)
+ }
+ if m.Action != 0 {
+ dAtA[i] = 0x28
+ i++
+ i = encodeVarintProtomsg(dAtA, i, uint64(m.Action))
+ }
+ if m.Enable != 0 {
+ dAtA[i] = 0x30
+ i++
+ i = encodeVarintProtomsg(dAtA, i, uint64(m.Enable))
+ }
+ return i, nil
+}
+
func encodeVarintProtomsg(dAtA []byte, offset int, v uint64) int {
for v >= 1<<7 {
dAtA[offset] = uint8(v&0x7f | 0x80)
@@ -3115,14 +5160,14 @@
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
+ }
+ if m.Floor != 0 {
+ n += 1 + sovProtomsg(uint64(m.Floor))
}
l = len(m.Rtsp)
if l > 0 {
@@ -3599,6 +5644,79 @@
return n
}
+func (m *TaskSdkRule) 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 m.Enable {
+ n += 2
+ }
+ if len(m.SdkRules) > 0 {
+ for _, e := range m.SdkRules {
+ l = e.Size()
+ n += 1 + l + sovProtomsg(uint64(l))
+ }
+ }
+ return n
+}
+
+func (m *SdkRuleSet) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.SdkId)
+ if l > 0 {
+ n += 1 + l + sovProtomsg(uint64(l))
+ }
+ l = len(m.IpcId)
+ 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.Sort != 0 {
+ n += 1 + sovProtomsg(uint64(m.Sort))
+ }
+ return n
+}
+
+func (m *SdkRule) 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.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.SdkArgValue)
+ if l > 0 {
+ n += 1 + l + sovProtomsg(uint64(l))
+ }
+ return n
+}
+
func (m *SdkArg) Size() (n int) {
if m == nil {
return 0
@@ -3625,6 +5743,14 @@
n += 1 + l + sovProtomsg(uint64(l))
}
l = len(m.Range)
+ if l > 0 {
+ n += 1 + l + sovProtomsg(uint64(l))
+ }
+ l = len(m.DefaultValue)
+ if l > 0 {
+ n += 1 + l + sovProtomsg(uint64(l))
+ }
+ l = len(m.DefaultOperator)
if l > 0 {
n += 1 + l + sovProtomsg(uint64(l))
}
@@ -3693,6 +5819,357 @@
}
if m.DefenceState != 0 {
n += 1 + sovProtomsg(uint64(m.DefenceState))
+ }
+ return n
+}
+
+func (m *VideotapeInfo) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.EsDataId)
+ 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 m.ImgId != 0 {
+ n += 1 + sovProtomsg(uint64(m.ImgId))
+ }
+ l = len(m.VideoUrl)
+ 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.Type != 0 {
+ n += 1 + sovProtomsg(uint64(m.Type))
+ }
+ return n
+}
+
+func (m *CompareArgs) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if len(m.TableIds) > 0 {
+ for _, s := range m.TableIds {
+ l = len(s)
+ n += 1 + l + sovProtomsg(uint64(l))
+ }
+ }
+ if m.CompareThreshold != 0 {
+ n += 5
+ }
+ l = len(m.FaceFeature)
+ if l > 0 {
+ n += 1 + l + sovProtomsg(uint64(l))
+ }
+ if len(m.Tasks) > 0 {
+ for _, s := range m.Tasks {
+ l = len(s)
+ n += 1 + l + sovProtomsg(uint64(l))
+ }
+ }
+ if len(m.TreeNodes) > 0 {
+ for _, s := range m.TreeNodes {
+ l = len(s)
+ n += 1 + l + sovProtomsg(uint64(l))
+ }
+ }
+ if len(m.Tabs) > 0 {
+ for _, s := range m.Tabs {
+ l = len(s)
+ n += 1 + l + sovProtomsg(uint64(l))
+ }
+ }
+ l = len(m.AlarmLevel)
+ if l > 0 {
+ n += 1 + l + sovProtomsg(uint64(l))
+ }
+ if len(m.SearchTime) > 0 {
+ for _, s := range m.SearchTime {
+ l = len(s)
+ n += 1 + l + sovProtomsg(uint64(l))
+ }
+ }
+ l = len(m.InputValue)
+ if l > 0 {
+ n += 1 + l + sovProtomsg(uint64(l))
+ }
+ l = len(m.Collection)
+ if l > 0 {
+ n += 1 + l + sovProtomsg(uint64(l))
+ }
+ if m.Source {
+ n += 2
+ }
+ l = len(m.AnalyServerId)
+ if l > 0 {
+ n += 1 + l + sovProtomsg(uint64(l))
+ }
+ return n
+}
+
+func (m *CompareEvent) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.EventType != 0 {
+ n += 1 + sovProtomsg(uint64(m.EventType))
+ }
+ l = len(m.Payload)
+ if l > 0 {
+ n += 1 + l + sovProtomsg(uint64(l))
+ }
+ return n
+}
+
+func (m *SdkCompareEach) 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.Tableid)
+ if l > 0 {
+ n += 1 + l + sovProtomsg(uint64(l))
+ }
+ if m.CompareScore != 0 {
+ n += 5
+ }
+ return n
+}
+
+func (m *SdkCompareResult) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if len(m.CompareResult) > 0 {
+ for _, e := range m.CompareResult {
+ l = e.Size()
+ n += 1 + l + sovProtomsg(uint64(l))
+ }
+ }
+ return n
+}
+
+func (m *EventPush) 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.TimeStart)
+ if l > 0 {
+ n += 1 + l + sovProtomsg(uint64(l))
+ }
+ l = len(m.TimeEnd)
+ if l > 0 {
+ n += 1 + l + sovProtomsg(uint64(l))
+ }
+ if m.IsSatisfyAll {
+ n += 2
+ }
+ l = len(m.RuleText)
+ if l > 0 {
+ n += 1 + l + sovProtomsg(uint64(l))
+ }
+ if m.Enable {
+ n += 2
+ }
+ l = len(m.LinkType)
+ if l > 0 {
+ n += 1 + l + sovProtomsg(uint64(l))
+ }
+ l = len(m.LinkDevice)
+ if l > 0 {
+ n += 1 + l + sovProtomsg(uint64(l))
+ }
+ if len(m.IpPorts) > 0 {
+ for _, e := range m.IpPorts {
+ l = e.Size()
+ n += 1 + l + sovProtomsg(uint64(l))
+ }
+ }
+ if len(m.Urls) > 0 {
+ for _, e := range m.Urls {
+ l = e.Size()
+ 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))
+ }
+ }
+ return n
+}
+
+func (m *EventPushRule) 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.TopicType)
+ if l > 0 {
+ n += 1 + l + sovProtomsg(uint64(l))
+ }
+ l = len(m.TopicArg)
+ 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.RuleValue)
+ if l > 0 {
+ n += 1 + l + sovProtomsg(uint64(l))
+ }
+ l = len(m.EventPushId)
+ if l > 0 {
+ n += 1 + l + sovProtomsg(uint64(l))
+ }
+ return n
+}
+
+func (m *PushIpPort) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.ServerIp)
+ if l > 0 {
+ n += 1 + l + sovProtomsg(uint64(l))
+ }
+ if m.Port != 0 {
+ n += 1 + sovProtomsg(uint64(m.Port))
+ }
+ if m.Enable {
+ n += 2
+ }
+ return n
+}
+
+func (m *PushUrl) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.Url)
+ if l > 0 {
+ n += 1 + l + sovProtomsg(uint64(l))
+ }
+ if m.Enable {
+ n += 2
+ }
+ return n
+}
+
+func (m *PushAttach) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.PushId)
+ if l > 0 {
+ n += 1 + l + sovProtomsg(uint64(l))
+ }
+ if m.Cam != nil {
+ l = m.Cam.Size()
+ n += 1 + l + sovProtomsg(uint64(l))
+ }
+ l = len(m.ServerId)
+ if l > 0 {
+ n += 1 + l + sovProtomsg(uint64(l))
+ }
+ l = len(m.ServerName)
+ if l > 0 {
+ n += 1 + l + sovProtomsg(uint64(l))
+ }
+ l = len(m.LocalIp)
+ if l > 0 {
+ n += 1 + l + sovProtomsg(uint64(l))
+ }
+ l = len(m.VideoUrl)
+ if l > 0 {
+ n += 1 + l + sovProtomsg(uint64(l))
+ }
+ return n
+}
+
+func (m *EsPersonCacheChange) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.Type != 0 {
+ n += 1 + sovProtomsg(uint64(m.Type))
+ }
+ if len(m.TableId) > 0 {
+ for _, s := range m.TableId {
+ l = len(s)
+ n += 1 + l + sovProtomsg(uint64(l))
+ }
+ }
+ l = len(m.PersonId)
+ if l > 0 {
+ n += 1 + l + sovProtomsg(uint64(l))
+ }
+ l = len(m.Feature)
+ if l > 0 {
+ n += 1 + l + sovProtomsg(uint64(l))
+ }
+ if m.Action != 0 {
+ n += 1 + sovProtomsg(uint64(m.Action))
+ }
+ if m.Enable != 0 {
+ n += 1 + sovProtomsg(uint64(m.Enable))
}
return n
}
@@ -4035,25 +6512,6 @@
m.Addr = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 7:
- 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 8:
if wireType != 5 {
return fmt.Errorf("proto: wrong wireType = %d for field Longitude", wireType)
}
@@ -4064,7 +6522,7 @@
v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:]))
iNdEx += 4
m.Longitude = float32(math.Float32frombits(v))
- case 9:
+ case 8:
if wireType != 5 {
return fmt.Errorf("proto: wrong wireType = %d for field Latitude", wireType)
}
@@ -4075,6 +6533,25 @@
v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:]))
iNdEx += 4
m.Latitude = float32(math.Float32frombits(v))
+ case 9:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Floor", wireType)
+ }
+ m.Floor = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProtomsg
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.Floor |= int32(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
case 10:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Rtsp", wireType)
@@ -7379,6 +9856,496 @@
}
return nil
}
+func (m *TaskSdkRule) 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: TaskSdkRule: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: TaskSdkRule: 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 != 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 3:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field SdkRules", 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.SdkRules = append(m.SdkRules, &SdkRuleSet{})
+ if err := m.SdkRules[len(m.SdkRules)-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
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *SdkRuleSet) 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: SdkRuleSet: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: SdkRuleSet: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field SdkId", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return 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 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field IpcId", 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.IpcId = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 3:
+ 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, &SdkRule{})
+ if err := m.Rules[len(m.Rules)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 4:
+ 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
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *SdkRule) 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: SdkRule: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: SdkRule: 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 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 3:
+ 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 4:
+ 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
+ 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
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
func (m *SdkArg) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -7589,6 +10556,70 @@
m.Range = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 7:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field DefaultValue", 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.DefaultValue = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 8:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field DefaultOperator", 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.DefaultOperator = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 9:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field Sort", wireType)
}
@@ -8082,6 +11113,2364 @@
}
return nil
}
+func (m *VideotapeInfo) 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: VideotapeInfo: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: VideotapeInfo: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field EsDataId", 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.EsDataId = 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 != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field ImgId", wireType)
+ }
+ m.ImgId = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProtomsg
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.ImgId |= int64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 5:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field VideoUrl", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return 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.VideoUrl = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 6:
+ 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 7:
+ 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
+ }
+ }
+ 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
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *CompareArgs) 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: CompareArgs: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: CompareArgs: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field TableIds", 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.TableIds = append(m.TableIds, string(dAtA[iNdEx:postIndex]))
+ iNdEx = postIndex
+ case 2:
+ if wireType != 5 {
+ return fmt.Errorf("proto: wrong wireType = %d for field CompareThreshold", wireType)
+ }
+ var v uint32
+ if (iNdEx + 4) > l {
+ return io.ErrUnexpectedEOF
+ }
+ v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:]))
+ iNdEx += 4
+ m.CompareThreshold = float32(math.Float32frombits(v))
+ case 3:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field FaceFeature", 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.FaceFeature = append(m.FaceFeature[:0], dAtA[iNdEx:postIndex]...)
+ if m.FaceFeature == nil {
+ m.FaceFeature = []byte{}
+ }
+ iNdEx = postIndex
+ case 4:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Tasks", 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.Tasks = append(m.Tasks, string(dAtA[iNdEx:postIndex]))
+ iNdEx = postIndex
+ case 5:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field TreeNodes", 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.TreeNodes = append(m.TreeNodes, string(dAtA[iNdEx:postIndex]))
+ iNdEx = postIndex
+ case 6:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Tabs", 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.Tabs = append(m.Tabs, string(dAtA[iNdEx:postIndex]))
+ iNdEx = postIndex
+ case 7:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field AlarmLevel", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return 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.AlarmLevel = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 8:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field SearchTime", 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.SearchTime = append(m.SearchTime, string(dAtA[iNdEx:postIndex]))
+ iNdEx = postIndex
+ case 9:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field InputValue", 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.InputValue = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 10:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Collection", 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.Collection = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 11:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Source", 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.Source = bool(v != 0)
+ case 12:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field AnalyServerId", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return 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.AnalyServerId = 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
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *CompareEvent) 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: CompareEvent: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: CompareEvent: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field EventType", wireType)
+ }
+ m.EventType = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProtomsg
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.EventType |= CompareEventType(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Payload", 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.Payload = append(m.Payload[:0], dAtA[iNdEx:postIndex]...)
+ if m.Payload == nil {
+ m.Payload = []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
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *SdkCompareEach) 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: SdkCompareEach: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: SdkCompareEach: 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 Tableid", 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.Tableid = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 3:
+ if wireType != 5 {
+ return fmt.Errorf("proto: wrong wireType = %d for field CompareScore", wireType)
+ }
+ var v uint32
+ if (iNdEx + 4) > l {
+ return io.ErrUnexpectedEOF
+ }
+ v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:]))
+ iNdEx += 4
+ m.CompareScore = float32(math.Float32frombits(v))
+ 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
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *SdkCompareResult) 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: SdkCompareResult: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: SdkCompareResult: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field CompareResult", 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.CompareResult = append(m.CompareResult, &SdkCompareEach{})
+ if err := m.CompareResult[len(m.CompareResult)-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
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *EventPush) 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: EventPush: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: EventPush: 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 TimeStart", 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.TimeStart = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 4:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field TimeEnd", 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.TimeEnd = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 5:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field IsSatisfyAll", 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.IsSatisfyAll = bool(v != 0)
+ case 6:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field RuleText", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return 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.RuleText = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 7:
+ 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 8:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field LinkType", 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.LinkType = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 9:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field LinkDevice", 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.LinkDevice = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 10:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field IpPorts", 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.IpPorts = append(m.IpPorts, &PushIpPort{})
+ if err := m.IpPorts[len(m.IpPorts)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 11:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Urls", 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.Urls = append(m.Urls, &PushUrl{})
+ if err := m.Urls[len(m.Urls)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 12:
+ 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, &EventPushRule{})
+ 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
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *EventPushRule) 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: EventPushRule: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: EventPushRule: 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 TopicType", 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.TopicType = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 3:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field TopicArg", 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.TopicArg = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 4:
+ 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 5:
+ 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 6:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field RuleValue", 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.RuleValue = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 7:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field EventPushId", 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.EventPushId = 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
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *PushIpPort) 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: PushIpPort: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: PushIpPort: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field ServerIp", 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.ServerIp = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 2:
+ 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 3:
+ 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)
+ 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
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *PushUrl) 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: PushUrl: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: PushUrl: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ 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 2:
+ 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)
+ 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
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *PushAttach) 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: PushAttach: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: PushAttach: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field PushId", 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.PushId = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Cam", 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.Cam == nil {
+ m.Cam = &Camera{}
+ }
+ if err := m.Cam.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 3:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field ServerId", 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.ServerId = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 4:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field ServerName", 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.ServerName = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 5:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field LocalIp", 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.LocalIp = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 6:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field VideoUrl", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return 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.VideoUrl = 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
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *EsPersonCacheChange) 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: EsPersonCacheChange: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: EsPersonCacheChange: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ 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 |= EsCacheChanged(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field TableId", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return 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.TableId = append(m.TableId, string(dAtA[iNdEx:postIndex]))
+ iNdEx = postIndex
+ case 3:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field PersonId", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return 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.PersonId = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 4:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Feature", 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.Feature = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 5:
+ 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 6:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Enable", wireType)
+ }
+ m.Enable = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProtomsg
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.Enable |= int32(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ default:
+ iNdEx = preIndex
+ skippy, err := 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
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
func skipProtomsg(dAtA []byte) (n int, err error) {
l := len(dAtA)
iNdEx := 0
--
Gitblit v1.8.0