From 10f3d96ecd9b7028a811794fc1df0aef81fc84b4 Mon Sep 17 00:00:00 2001
From: zhangmeng <775834166@qq.com>
Date: 星期三, 08 二月 2023 11:35:19 +0800
Subject: [PATCH] 修改提交的dataprocess.proto
---
dataprocess.pb.go | 2488 +---------------------------------------------------------
1 files changed, 63 insertions(+), 2,425 deletions(-)
diff --git a/dataprocess.pb.go b/dataprocess.pb.go
index b7387ce..67434bf 100644
--- a/dataprocess.pb.go
+++ b/dataprocess.pb.go
@@ -1,4 +1,4 @@
-// Code generated by protoc-gen-gogo. DO NOT EDIT.
+// Code generated by protoc-gen-go. DO NOT EDIT.
// source: dataprocess.proto
package protomsg
@@ -6,7 +6,6 @@
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
- io "io"
math "math"
)
@@ -19,7 +18,7 @@
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
-const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
+const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
type TaskBasicInfo struct {
CamId string `protobuf:"bytes,1,opt,name=CamId,proto3" json:"CamId,omitempty"`
@@ -42,26 +41,18 @@
func (*TaskBasicInfo) Descriptor() ([]byte, []int) {
return fileDescriptor_02f614a9207041cc, []int{0}
}
+
func (m *TaskBasicInfo) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
+ return xxx_messageInfo_TaskBasicInfo.Unmarshal(m, b)
}
func (m *TaskBasicInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_TaskBasicInfo.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
+ return xxx_messageInfo_TaskBasicInfo.Marshal(b, m, deterministic)
}
func (m *TaskBasicInfo) XXX_Merge(src proto.Message) {
xxx_messageInfo_TaskBasicInfo.Merge(m, src)
}
func (m *TaskBasicInfo) XXX_Size() int {
- return m.Size()
+ return xxx_messageInfo_TaskBasicInfo.Size(m)
}
func (m *TaskBasicInfo) XXX_DiscardUnknown() {
xxx_messageInfo_TaskBasicInfo.DiscardUnknown(m)
@@ -150,26 +141,18 @@
func (*SoTarget) Descriptor() ([]byte, []int) {
return fileDescriptor_02f614a9207041cc, []int{1}
}
+
func (m *SoTarget) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
+ return xxx_messageInfo_SoTarget.Unmarshal(m, b)
}
func (m *SoTarget) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_SoTarget.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
+ return xxx_messageInfo_SoTarget.Marshal(b, m, deterministic)
}
func (m *SoTarget) XXX_Merge(src proto.Message) {
xxx_messageInfo_SoTarget.Merge(m, src)
}
func (m *SoTarget) XXX_Size() int {
- return m.Size()
+ return xxx_messageInfo_SoTarget.Size(m)
}
func (m *SoTarget) XXX_DiscardUnknown() {
xxx_messageInfo_SoTarget.DiscardUnknown(m)
@@ -234,26 +217,18 @@
func (*EventCache) Descriptor() ([]byte, []int) {
return fileDescriptor_02f614a9207041cc, []int{2}
}
+
func (m *EventCache) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
+ return xxx_messageInfo_EventCache.Unmarshal(m, b)
}
func (m *EventCache) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_EventCache.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
+ return xxx_messageInfo_EventCache.Marshal(b, m, deterministic)
}
func (m *EventCache) XXX_Merge(src proto.Message) {
xxx_messageInfo_EventCache.Merge(m, src)
}
func (m *EventCache) XXX_Size() int {
- return m.Size()
+ return xxx_messageInfo_EventCache.Size(m)
}
func (m *EventCache) XXX_DiscardUnknown() {
xxx_messageInfo_EventCache.DiscardUnknown(m)
@@ -297,26 +272,18 @@
func (*TargetCache) Descriptor() ([]byte, []int) {
return fileDescriptor_02f614a9207041cc, []int{3}
}
+
func (m *TargetCache) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
+ return xxx_messageInfo_TargetCache.Unmarshal(m, b)
}
func (m *TargetCache) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_TargetCache.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
+ return xxx_messageInfo_TargetCache.Marshal(b, m, deterministic)
}
func (m *TargetCache) XXX_Merge(src proto.Message) {
xxx_messageInfo_TargetCache.Merge(m, src)
}
func (m *TargetCache) XXX_Size() int {
- return m.Size()
+ return xxx_messageInfo_TargetCache.Size(m)
}
func (m *TargetCache) XXX_DiscardUnknown() {
xxx_messageInfo_TargetCache.DiscardUnknown(m)
@@ -360,26 +327,18 @@
func (*FilterResult) Descriptor() ([]byte, []int) {
return fileDescriptor_02f614a9207041cc, []int{4}
}
+
func (m *FilterResult) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
+ return xxx_messageInfo_FilterResult.Unmarshal(m, b)
}
func (m *FilterResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_FilterResult.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
+ return xxx_messageInfo_FilterResult.Marshal(b, m, deterministic)
}
func (m *FilterResult) XXX_Merge(src proto.Message) {
xxx_messageInfo_FilterResult.Merge(m, src)
}
func (m *FilterResult) XXX_Size() int {
- return m.Size()
+ return xxx_messageInfo_FilterResult.Size(m)
}
func (m *FilterResult) XXX_DiscardUnknown() {
xxx_messageInfo_FilterResult.DiscardUnknown(m)
@@ -425,2366 +384,45 @@
func init() { proto.RegisterFile("dataprocess.proto", fileDescriptor_02f614a9207041cc) }
var fileDescriptor_02f614a9207041cc = []byte{
- // 657 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x94, 0x4d, 0x6e, 0xd3, 0x40,
- 0x14, 0xc7, 0x71, 0xdc, 0xa4, 0xc9, 0x73, 0xa1, 0x65, 0x28, 0x60, 0x59, 0x10, 0x19, 0x43, 0x25,
- 0x53, 0xa4, 0x2e, 0xda, 0x4d, 0x55, 0xd4, 0x05, 0xf9, 0x28, 0x98, 0x45, 0x11, 0xd3, 0x5e, 0x60,
- 0x1a, 0x0f, 0x21, 0xaa, 0x3f, 0x22, 0x8f, 0x53, 0xa9, 0x07, 0xe0, 0x0e, 0x5c, 0x85, 0x1b, 0xb0,
- 0xe4, 0x08, 0x28, 0x9c, 0x80, 0x35, 0x1b, 0x34, 0x6f, 0xec, 0x78, 0x12, 0x39, 0x62, 0xc5, 0x2a,
- 0xf3, 0x9e, 0xdf, 0xff, 0x37, 0x6f, 0xde, 0x47, 0xe0, 0x7e, 0xc8, 0x72, 0x36, 0xcd, 0xd2, 0x11,
- 0x17, 0xe2, 0x60, 0x9a, 0xa5, 0x79, 0x4a, 0xda, 0xf8, 0x13, 0x8b, 0xb1, 0xd3, 0x11, 0xe1, 0xb5,
- 0x72, 0x3a, 0x90, 0xcd, 0x22, 0x5e, 0x9c, 0xef, 0x95, 0x01, 0xca, 0xf6, 0xbe, 0x34, 0xe0, 0xee,
- 0x25, 0x13, 0xd7, 0x3d, 0x26, 0x26, 0xa3, 0x20, 0xf9, 0x94, 0x92, 0x5d, 0x68, 0xf6, 0x59, 0x1c,
- 0x84, 0xb6, 0xe1, 0x1a, 0x7e, 0x87, 0x2a, 0x83, 0xd8, 0xb0, 0xd9, 0x67, 0xf1, 0x39, 0x8b, 0xb9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0xd0, 0xc4, 0xb4, 0x70, 0xb4, 0xeb, 0xb2,
- 0xc5, 0x9f, 0xff, 0x51, 0x49, 0x6f, 0xde, 0x80, 0xad, 0xb3, 0x49, 0x94, 0xf3, 0x8c, 0x72, 0x31,
- 0x8b, 0x72, 0x72, 0x04, 0x6d, 0xb9, 0x03, 0xb8, 0x21, 0x6a, 0x61, 0x1f, 0xeb, 0x0f, 0xd2, 0xfe,
- 0xdf, 0xe8, 0x22, 0x90, 0x9c, 0x40, 0x0b, 0xa7, 0xaa, 0xac, 0x81, 0x57, 0x49, 0x74, 0xb8, 0x1a,
- 0xbd, 0x72, 0xde, 0x94, 0x41, 0x4e, 0xab, 0x65, 0x51, 0xa3, 0xfa, 0x7c, 0x8d, 0xb8, 0x76, 0x5d,
- 0x9c, 0x0f, 0x60, 0x69, 0xd4, 0x9a, 0x82, 0xec, 0x2f, 0x17, 0x64, 0xb7, 0x6e, 0x11, 0xf4, 0xd9,
- 0xfa, 0xb8, 0x7e, 0xfe, 0x0b, 0xe2, 0xab, 0x65, 0xe2, 0xc3, 0xda, 0x86, 0x6b, 0xc8, 0xde, 0xce,
- 0xf7, 0x79, 0xd7, 0xf8, 0x31, 0xef, 0x1a, 0x3f, 0xe7, 0x5d, 0xe3, 0xeb, 0xaf, 0xee, 0x9d, 0xab,
- 0x16, 0x4a, 0x8e, 0xfe, 0x06, 0x00, 0x00, 0xff, 0xff, 0x01, 0xe2, 0xd4, 0xf9, 0x79, 0x06, 0x00,
- 0x00,
+ // 633 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x94, 0xcd, 0x6e, 0xd3, 0x40,
+ 0x10, 0xc7, 0xe5, 0xb8, 0x49, 0xed, 0x71, 0xa1, 0x65, 0x29, 0x60, 0x59, 0x80, 0x8c, 0xa1, 0x92,
+ 0x29, 0x52, 0x0f, 0xed, 0xa5, 0x2a, 0xea, 0x81, 0x7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x5f, 0x6f, 0x11, 0xb7, 0xae, 0x8b, 0xf7, 0x05, 0x1c, 0x8d, 0xda, 0x52, 0x90,
+ 0xe3, 0xf5, 0x82, 0x1c, 0xb6, 0x2d, 0x82, 0x3e, 0x5b, 0x5f, 0xb7, 0xcf, 0x7f, 0x45, 0x7c, 0xb7,
+ 0x4e, 0x7c, 0xd2, 0xda, 0x70, 0x0d, 0x79, 0xdb, 0xc3, 0x80, 0xb3, 0xbf, 0x01, 0x00, 0x00, 0xff,
+ 0xff, 0x00, 0xb0, 0xb1, 0x5a, 0x67, 0x06, 0x00, 0x00,
}
-
-func (m *TaskBasicInfo) 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 *TaskBasicInfo) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if len(m.CamId) > 0 {
- dAtA[i] = 0xa
- i++
- i = encodeVarintDataprocess(dAtA, i, uint64(len(m.CamId)))
- i += copy(dAtA[i:], m.CamId)
- }
- if len(m.CamName) > 0 {
- dAtA[i] = 0x12
- i++
- i = encodeVarintDataprocess(dAtA, i, uint64(len(m.CamName)))
- i += copy(dAtA[i:], m.CamName)
- }
- if len(m.TaskID) > 0 {
- dAtA[i] = 0x1a
- i++
- i = encodeVarintDataprocess(dAtA, i, uint64(len(m.TaskID)))
- i += copy(dAtA[i:], m.TaskID)
- }
- if len(m.TaskName) > 0 {
- dAtA[i] = 0x22
- i++
- i = encodeVarintDataprocess(dAtA, i, uint64(len(m.TaskName)))
- i += copy(dAtA[i:], m.TaskName)
- }
- if len(m.HandleTime) > 0 {
- dAtA[i] = 0x2a
- i++
- i = encodeVarintDataprocess(dAtA, i, uint64(len(m.HandleTime)))
- i += copy(dAtA[i:], m.HandleTime)
- }
- if m.ImageId != 0 {
- dAtA[i] = 0x30
- i++
- i = encodeVarintDataprocess(dAtA, i, uint64(m.ImageId))
- }
- if len(m.ImageTime) > 0 {
- dAtA[i] = 0x3a
- i++
- i = encodeVarintDataprocess(dAtA, i, uint64(len(m.ImageTime)))
- i += copy(dAtA[i:], m.ImageTime)
- }
- if m.IsEndRecord {
- dAtA[i] = 0x40
- i++
- if m.IsEndRecord {
- dAtA[i] = 1
- } else {
- dAtA[i] = 0
- }
- i++
- }
- if len(m.FileId) > 0 {
- dAtA[i] = 0x4a
- i++
- i = encodeVarintDataprocess(dAtA, i, uint64(len(m.FileId)))
- i += copy(dAtA[i:], m.FileId)
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
-}
-
-func (m *SoTarget) 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 *SoTarget) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.SrcTarget != nil {
- dAtA[i] = 0xa
- i++
- i = encodeVarintDataprocess(dAtA, i, uint64(m.SrcTarget.Size()))
- n1, err1 := m.SrcTarget.MarshalTo(dAtA[i:])
- if err1 != nil {
- return 0, err1
- }
- i += n1
- }
- if len(m.AreaId) > 0 {
- dAtA[i] = 0x12
- i++
- i = encodeVarintDataprocess(dAtA, i, uint64(len(m.AreaId)))
- i += copy(dAtA[i:], m.AreaId)
- }
- if len(m.AreaName) > 0 {
- dAtA[i] = 0x1a
- i++
- i = encodeVarintDataprocess(dAtA, i, uint64(len(m.AreaName)))
- i += copy(dAtA[i:], m.AreaName)
- }
- if len(m.BelongsTargetID) > 0 {
- dAtA[i] = 0x22
- i++
- i = encodeVarintDataprocess(dAtA, i, uint64(len(m.BelongsTargetID)))
- i += copy(dAtA[i:], m.BelongsTargetID)
- }
- if len(m.CompDbInfo) > 0 {
- for _, msg := range m.CompDbInfo {
- dAtA[i] = 0x2a
- i++
- i = encodeVarintDataprocess(dAtA, i, uint64(msg.Size()))
- n, err := msg.MarshalTo(dAtA[i:])
- if err != nil {
- return 0, err
- }
- i += n
- }
- }
- if m.ImageId != 0 {
- dAtA[i] = 0x30
- i++
- i = encodeVarintDataprocess(dAtA, i, uint64(m.ImageId))
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
-}
-
-func (m *EventCache) 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 *EventCache) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if len(m.Targets) > 0 {
- for k, _ := range m.Targets {
- dAtA[i] = 0xa
- i++
- v := m.Targets[k]
- msgSize := 0
- if v != nil {
- msgSize = v.Size()
- msgSize += 1 + sovDataprocess(uint64(msgSize))
- }
- mapSize := 1 + sovDataprocess(uint64(k)) + msgSize
- i = encodeVarintDataprocess(dAtA, i, uint64(mapSize))
- dAtA[i] = 0x8
- i++
- i = encodeVarintDataprocess(dAtA, i, uint64(k))
- if v != nil {
- dAtA[i] = 0x12
- i++
- i = encodeVarintDataprocess(dAtA, i, uint64(v.Size()))
- n2, err2 := v.MarshalTo(dAtA[i:])
- if err2 != nil {
- return 0, err2
- }
- i += n2
- }
- }
- }
- if len(m.RuleGroups) > 0 {
- for k, _ := range m.RuleGroups {
- dAtA[i] = 0x12
- i++
- v := m.RuleGroups[k]
- msgSize := 0
- if v != nil {
- msgSize = v.Size()
- msgSize += 1 + sovDataprocess(uint64(msgSize))
- }
- mapSize := 1 + len(k) + sovDataprocess(uint64(len(k))) + msgSize
- i = encodeVarintDataprocess(dAtA, i, uint64(mapSize))
- dAtA[i] = 0xa
- i++
- i = encodeVarintDataprocess(dAtA, i, uint64(len(k)))
- i += copy(dAtA[i:], k)
- if v != nil {
- dAtA[i] = 0x12
- i++
- i = encodeVarintDataprocess(dAtA, i, uint64(v.Size()))
- n3, err3 := v.MarshalTo(dAtA[i:])
- if err3 != nil {
- return 0, err3
- }
- i += n3
- }
- }
- }
- if len(m.Images) > 0 {
- for k, _ := range m.Images {
- dAtA[i] = 0x1a
- i++
- v := m.Images[k]
- msgSize := 0
- if v != nil {
- msgSize = v.Size()
- msgSize += 1 + sovDataprocess(uint64(msgSize))
- }
- mapSize := 1 + sovDataprocess(uint64(k)) + msgSize
- i = encodeVarintDataprocess(dAtA, i, uint64(mapSize))
- dAtA[i] = 0x8
- i++
- i = encodeVarintDataprocess(dAtA, i, uint64(k))
- if v != nil {
- dAtA[i] = 0x12
- i++
- i = encodeVarintDataprocess(dAtA, i, uint64(v.Size()))
- n4, err4 := v.MarshalTo(dAtA[i:])
- if err4 != nil {
- return 0, err4
- }
- i += n4
- }
- }
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
-}
-
-func (m *TargetCache) 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 *TargetCache) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if len(m.Target) > 0 {
- for _, msg := range m.Target {
- dAtA[i] = 0xa
- i++
- i = encodeVarintDataprocess(dAtA, i, uint64(msg.Size()))
- n, err := msg.MarshalTo(dAtA[i:])
- if err != nil {
- return 0, err
- }
- i += n
- }
- }
- if len(m.RuleGroups) > 0 {
- for k, _ := range m.RuleGroups {
- dAtA[i] = 0x12
- i++
- v := m.RuleGroups[k]
- msgSize := 0
- if v != nil {
- msgSize = v.Size()
- msgSize += 1 + sovDataprocess(uint64(msgSize))
- }
- mapSize := 1 + len(k) + sovDataprocess(uint64(len(k))) + msgSize
- i = encodeVarintDataprocess(dAtA, i, uint64(mapSize))
- dAtA[i] = 0xa
- i++
- i = encodeVarintDataprocess(dAtA, i, uint64(len(k)))
- i += copy(dAtA[i:], k)
- if v != nil {
- dAtA[i] = 0x12
- i++
- i = encodeVarintDataprocess(dAtA, i, uint64(v.Size()))
- n5, err5 := v.MarshalTo(dAtA[i:])
- if err5 != nil {
- return 0, err5
- }
- i += n5
- }
- }
- }
- if m.Image != nil {
- dAtA[i] = 0x1a
- i++
- i = encodeVarintDataprocess(dAtA, i, uint64(m.Image.Size()))
- n6, err6 := m.Image.MarshalTo(dAtA[i:])
- if err6 != nil {
- return 0, err6
- }
- i += n6
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
-}
-
-func (m *FilterResult) 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 *FilterResult) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.BaseInfo != nil {
- dAtA[i] = 0xa
- i++
- i = encodeVarintDataprocess(dAtA, i, uint64(m.BaseInfo.Size()))
- n7, err7 := m.BaseInfo.MarshalTo(dAtA[i:])
- if err7 != nil {
- return 0, err7
- }
- i += n7
- }
- if len(m.Events) > 0 {
- for k, _ := range m.Events {
- dAtA[i] = 0x12
- i++
- v := m.Events[k]
- msgSize := 0
- if v != nil {
- msgSize = v.Size()
- msgSize += 1 + sovDataprocess(uint64(msgSize))
- }
- mapSize := 1 + len(k) + sovDataprocess(uint64(len(k))) + msgSize
- i = encodeVarintDataprocess(dAtA, i, uint64(mapSize))
- dAtA[i] = 0xa
- i++
- i = encodeVarintDataprocess(dAtA, i, uint64(len(k)))
- i += copy(dAtA[i:], k)
- if v != nil {
- dAtA[i] = 0x12
- i++
- i = encodeVarintDataprocess(dAtA, i, uint64(v.Size()))
- n8, err8 := v.MarshalTo(dAtA[i:])
- if err8 != nil {
- return 0, err8
- }
- i += n8
- }
- }
- }
- if len(m.Targets) > 0 {
- for k, _ := range m.Targets {
- dAtA[i] = 0x1a
- i++
- v := m.Targets[k]
- msgSize := 0
- if v != nil {
- msgSize = v.Size()
- msgSize += 1 + sovDataprocess(uint64(msgSize))
- }
- mapSize := 1 + len(k) + sovDataprocess(uint64(len(k))) + msgSize
- i = encodeVarintDataprocess(dAtA, i, uint64(mapSize))
- dAtA[i] = 0xa
- i++
- i = encodeVarintDataprocess(dAtA, i, uint64(len(k)))
- i += copy(dAtA[i:], k)
- if v != nil {
- dAtA[i] = 0x12
- i++
- i = encodeVarintDataprocess(dAtA, i, uint64(v.Size()))
- n9, err9 := v.MarshalTo(dAtA[i:])
- if err9 != nil {
- return 0, err9
- }
- i += n9
- }
- }
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
-}
-
-func encodeVarintDataprocess(dAtA []byte, offset int, v uint64) int {
- for v >= 1<<7 {
- dAtA[offset] = uint8(v&0x7f | 0x80)
- v >>= 7
- offset++
- }
- dAtA[offset] = uint8(v)
- return offset + 1
-}
-func (m *TaskBasicInfo) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.CamId)
- if l > 0 {
- n += 1 + l + sovDataprocess(uint64(l))
- }
- l = len(m.CamName)
- if l > 0 {
- n += 1 + l + sovDataprocess(uint64(l))
- }
- l = len(m.TaskID)
- if l > 0 {
- n += 1 + l + sovDataprocess(uint64(l))
- }
- l = len(m.TaskName)
- if l > 0 {
- n += 1 + l + sovDataprocess(uint64(l))
- }
- l = len(m.HandleTime)
- if l > 0 {
- n += 1 + l + sovDataprocess(uint64(l))
- }
- if m.ImageId != 0 {
- n += 1 + sovDataprocess(uint64(m.ImageId))
- }
- l = len(m.ImageTime)
- if l > 0 {
- n += 1 + l + sovDataprocess(uint64(l))
- }
- if m.IsEndRecord {
- n += 2
- }
- l = len(m.FileId)
- if l > 0 {
- n += 1 + l + sovDataprocess(uint64(l))
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
-}
-
-func (m *SoTarget) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.SrcTarget != nil {
- l = m.SrcTarget.Size()
- n += 1 + l + sovDataprocess(uint64(l))
- }
- l = len(m.AreaId)
- if l > 0 {
- n += 1 + l + sovDataprocess(uint64(l))
- }
- l = len(m.AreaName)
- if l > 0 {
- n += 1 + l + sovDataprocess(uint64(l))
- }
- l = len(m.BelongsTargetID)
- if l > 0 {
- n += 1 + l + sovDataprocess(uint64(l))
- }
- if len(m.CompDbInfo) > 0 {
- for _, e := range m.CompDbInfo {
- l = e.Size()
- n += 1 + l + sovDataprocess(uint64(l))
- }
- }
- if m.ImageId != 0 {
- n += 1 + sovDataprocess(uint64(m.ImageId))
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
-}
-
-func (m *EventCache) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if len(m.Targets) > 0 {
- for k, v := range m.Targets {
- _ = k
- _ = v
- l = 0
- if v != nil {
- l = v.Size()
- l += 1 + sovDataprocess(uint64(l))
- }
- mapEntrySize := 1 + sovDataprocess(uint64(k)) + l
- n += mapEntrySize + 1 + sovDataprocess(uint64(mapEntrySize))
- }
- }
- if len(m.RuleGroups) > 0 {
- for k, v := range m.RuleGroups {
- _ = k
- _ = v
- l = 0
- if v != nil {
- l = v.Size()
- l += 1 + sovDataprocess(uint64(l))
- }
- mapEntrySize := 1 + len(k) + sovDataprocess(uint64(len(k))) + l
- n += mapEntrySize + 1 + sovDataprocess(uint64(mapEntrySize))
- }
- }
- if len(m.Images) > 0 {
- for k, v := range m.Images {
- _ = k
- _ = v
- l = 0
- if v != nil {
- l = v.Size()
- l += 1 + sovDataprocess(uint64(l))
- }
- mapEntrySize := 1 + sovDataprocess(uint64(k)) + l
- n += mapEntrySize + 1 + sovDataprocess(uint64(mapEntrySize))
- }
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
-}
-
-func (m *TargetCache) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if len(m.Target) > 0 {
- for _, e := range m.Target {
- l = e.Size()
- n += 1 + l + sovDataprocess(uint64(l))
- }
- }
- if len(m.RuleGroups) > 0 {
- for k, v := range m.RuleGroups {
- _ = k
- _ = v
- l = 0
- if v != nil {
- l = v.Size()
- l += 1 + sovDataprocess(uint64(l))
- }
- mapEntrySize := 1 + len(k) + sovDataprocess(uint64(len(k))) + l
- n += mapEntrySize + 1 + sovDataprocess(uint64(mapEntrySize))
- }
- }
- if m.Image != nil {
- l = m.Image.Size()
- n += 1 + l + sovDataprocess(uint64(l))
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
-}
-
-func (m *FilterResult) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.BaseInfo != nil {
- l = m.BaseInfo.Size()
- n += 1 + l + sovDataprocess(uint64(l))
- }
- if len(m.Events) > 0 {
- for k, v := range m.Events {
- _ = k
- _ = v
- l = 0
- if v != nil {
- l = v.Size()
- l += 1 + sovDataprocess(uint64(l))
- }
- mapEntrySize := 1 + len(k) + sovDataprocess(uint64(len(k))) + l
- n += mapEntrySize + 1 + sovDataprocess(uint64(mapEntrySize))
- }
- }
- if len(m.Targets) > 0 {
- for k, v := range m.Targets {
- _ = k
- _ = v
- l = 0
- if v != nil {
- l = v.Size()
- l += 1 + sovDataprocess(uint64(l))
- }
- mapEntrySize := 1 + len(k) + sovDataprocess(uint64(len(k))) + l
- n += mapEntrySize + 1 + sovDataprocess(uint64(mapEntrySize))
- }
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
-}
-
-func sovDataprocess(x uint64) (n int) {
- for {
- n++
- x >>= 7
- if x == 0 {
- break
- }
- }
- return n
-}
-func sozDataprocess(x uint64) (n int) {
- return sovDataprocess(uint64((x << 1) ^ uint64((int64(x) >> 63))))
-}
-func (m *TaskBasicInfo) 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 ErrIntOverflowDataprocess
- }
- 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: TaskBasicInfo: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: TaskBasicInfo: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field CamId", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowDataprocess
- }
- 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 ErrInvalidLengthDataprocess
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthDataprocess
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.CamId = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field CamName", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowDataprocess
- }
- 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 ErrInvalidLengthDataprocess
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthDataprocess
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.CamName = 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 ErrIntOverflowDataprocess
- }
- 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 ErrInvalidLengthDataprocess
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthDataprocess
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.TaskID = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 4:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field TaskName", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowDataprocess
- }
- 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 ErrInvalidLengthDataprocess
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthDataprocess
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.TaskName = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 5:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field HandleTime", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowDataprocess
- }
- 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 ErrInvalidLengthDataprocess
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthDataprocess
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.HandleTime = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 6:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field ImageId", wireType)
- }
- m.ImageId = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowDataprocess
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.ImageId |= int64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 7:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field ImageTime", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowDataprocess
- }
- 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 ErrInvalidLengthDataprocess
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthDataprocess
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.ImageTime = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 8:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field IsEndRecord", wireType)
- }
- var v int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowDataprocess
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- v |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- m.IsEndRecord = bool(v != 0)
- case 9:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field FileId", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowDataprocess
- }
- 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 ErrInvalidLengthDataprocess
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthDataprocess
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.FileId = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipDataprocess(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthDataprocess
- }
- if (iNdEx + skippy) < 0 {
- return ErrInvalidLengthDataprocess
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *SoTarget) 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 ErrIntOverflowDataprocess
- }
- 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: SoTarget: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: SoTarget: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field SrcTarget", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowDataprocess
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthDataprocess
- }
- postIndex := iNdEx + msglen
- if postIndex < 0 {
- return ErrInvalidLengthDataprocess
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if m.SrcTarget == nil {
- m.SrcTarget = &Target{}
- }
- if err := m.SrcTarget.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field AreaId", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowDataprocess
- }
- 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 ErrInvalidLengthDataprocess
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthDataprocess
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.AreaId = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 3:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field AreaName", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowDataprocess
- }
- 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 ErrInvalidLengthDataprocess
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthDataprocess
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.AreaName = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 4:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field BelongsTargetID", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowDataprocess
- }
- 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 ErrInvalidLengthDataprocess
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthDataprocess
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.BelongsTargetID = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 5:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field CompDbInfo", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowDataprocess
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthDataprocess
- }
- postIndex := iNdEx + msglen
- if postIndex < 0 {
- return ErrInvalidLengthDataprocess
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.CompDbInfo = append(m.CompDbInfo, &RuleBaseCompareInfo{})
- if err := m.CompDbInfo[len(m.CompDbInfo)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 6:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field ImageId", wireType)
- }
- m.ImageId = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowDataprocess
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.ImageId |= int64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- default:
- iNdEx = preIndex
- skippy, err := skipDataprocess(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthDataprocess
- }
- if (iNdEx + skippy) < 0 {
- return ErrInvalidLengthDataprocess
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *EventCache) 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 ErrIntOverflowDataprocess
- }
- 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: EventCache: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: EventCache: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Targets", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowDataprocess
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthDataprocess
- }
- postIndex := iNdEx + msglen
- if postIndex < 0 {
- return ErrInvalidLengthDataprocess
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if m.Targets == nil {
- m.Targets = make(map[uint64]*SoTarget)
- }
- var mapkey uint64
- var mapvalue *SoTarget
- for iNdEx < postIndex {
- entryPreIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowDataprocess
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- if fieldNum == 1 {
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowDataprocess
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- mapkey |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- } else if fieldNum == 2 {
- var mapmsglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowDataprocess
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- mapmsglen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if mapmsglen < 0 {
- return ErrInvalidLengthDataprocess
- }
- postmsgIndex := iNdEx + mapmsglen
- if postmsgIndex < 0 {
- return ErrInvalidLengthDataprocess
- }
- if postmsgIndex > l {
- return io.ErrUnexpectedEOF
- }
- mapvalue = &SoTarget{}
- if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
- return err
- }
- iNdEx = postmsgIndex
- } else {
- iNdEx = entryPreIndex
- skippy, err := skipDataprocess(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthDataprocess
- }
- if (iNdEx + skippy) > postIndex {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
- m.Targets[mapkey] = mapvalue
- iNdEx = postIndex
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field RuleGroups", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowDataprocess
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthDataprocess
- }
- postIndex := iNdEx + msglen
- if postIndex < 0 {
- return ErrInvalidLengthDataprocess
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if m.RuleGroups == nil {
- m.RuleGroups = make(map[string]*GroupRule)
- }
- var mapkey string
- var mapvalue *GroupRule
- for iNdEx < postIndex {
- entryPreIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowDataprocess
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- if fieldNum == 1 {
- var stringLenmapkey uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowDataprocess
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLenmapkey |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLenmapkey := int(stringLenmapkey)
- if intStringLenmapkey < 0 {
- return ErrInvalidLengthDataprocess
- }
- postStringIndexmapkey := iNdEx + intStringLenmapkey
- if postStringIndexmapkey < 0 {
- return ErrInvalidLengthDataprocess
- }
- if postStringIndexmapkey > l {
- return io.ErrUnexpectedEOF
- }
- mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
- iNdEx = postStringIndexmapkey
- } else if fieldNum == 2 {
- var mapmsglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowDataprocess
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- mapmsglen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if mapmsglen < 0 {
- return ErrInvalidLengthDataprocess
- }
- postmsgIndex := iNdEx + mapmsglen
- if postmsgIndex < 0 {
- return ErrInvalidLengthDataprocess
- }
- if postmsgIndex > l {
- return io.ErrUnexpectedEOF
- }
- mapvalue = &GroupRule{}
- if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
- return err
- }
- iNdEx = postmsgIndex
- } else {
- iNdEx = entryPreIndex
- skippy, err := skipDataprocess(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthDataprocess
- }
- if (iNdEx + skippy) > postIndex {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
- m.RuleGroups[mapkey] = mapvalue
- iNdEx = postIndex
- case 3:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Images", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowDataprocess
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthDataprocess
- }
- postIndex := iNdEx + msglen
- if postIndex < 0 {
- return ErrInvalidLengthDataprocess
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if m.Images == nil {
- m.Images = make(map[int64]*Image)
- }
- var mapkey int64
- var mapvalue *Image
- for iNdEx < postIndex {
- entryPreIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowDataprocess
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- if fieldNum == 1 {
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowDataprocess
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- mapkey |= int64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- } else if fieldNum == 2 {
- var mapmsglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowDataprocess
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- mapmsglen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if mapmsglen < 0 {
- return ErrInvalidLengthDataprocess
- }
- postmsgIndex := iNdEx + mapmsglen
- if postmsgIndex < 0 {
- return ErrInvalidLengthDataprocess
- }
- if postmsgIndex > l {
- return io.ErrUnexpectedEOF
- }
- mapvalue = &Image{}
- if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
- return err
- }
- iNdEx = postmsgIndex
- } else {
- iNdEx = entryPreIndex
- skippy, err := skipDataprocess(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthDataprocess
- }
- if (iNdEx + skippy) > postIndex {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
- m.Images[mapkey] = mapvalue
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipDataprocess(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthDataprocess
- }
- if (iNdEx + skippy) < 0 {
- return ErrInvalidLengthDataprocess
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *TargetCache) 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 ErrIntOverflowDataprocess
- }
- 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: TargetCache: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: TargetCache: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Target", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowDataprocess
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthDataprocess
- }
- postIndex := iNdEx + msglen
- if postIndex < 0 {
- return ErrInvalidLengthDataprocess
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Target = append(m.Target, &SoTarget{})
- if err := m.Target[len(m.Target)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field RuleGroups", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowDataprocess
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthDataprocess
- }
- postIndex := iNdEx + msglen
- if postIndex < 0 {
- return ErrInvalidLengthDataprocess
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if m.RuleGroups == nil {
- m.RuleGroups = make(map[string]*GroupRule)
- }
- var mapkey string
- var mapvalue *GroupRule
- for iNdEx < postIndex {
- entryPreIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowDataprocess
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- if fieldNum == 1 {
- var stringLenmapkey uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowDataprocess
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLenmapkey |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLenmapkey := int(stringLenmapkey)
- if intStringLenmapkey < 0 {
- return ErrInvalidLengthDataprocess
- }
- postStringIndexmapkey := iNdEx + intStringLenmapkey
- if postStringIndexmapkey < 0 {
- return ErrInvalidLengthDataprocess
- }
- if postStringIndexmapkey > l {
- return io.ErrUnexpectedEOF
- }
- mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
- iNdEx = postStringIndexmapkey
- } else if fieldNum == 2 {
- var mapmsglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowDataprocess
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- mapmsglen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if mapmsglen < 0 {
- return ErrInvalidLengthDataprocess
- }
- postmsgIndex := iNdEx + mapmsglen
- if postmsgIndex < 0 {
- return ErrInvalidLengthDataprocess
- }
- if postmsgIndex > l {
- return io.ErrUnexpectedEOF
- }
- mapvalue = &GroupRule{}
- if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
- return err
- }
- iNdEx = postmsgIndex
- } else {
- iNdEx = entryPreIndex
- skippy, err := skipDataprocess(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthDataprocess
- }
- if (iNdEx + skippy) > postIndex {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
- m.RuleGroups[mapkey] = mapvalue
- iNdEx = postIndex
- case 3:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Image", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowDataprocess
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthDataprocess
- }
- postIndex := iNdEx + msglen
- if postIndex < 0 {
- return ErrInvalidLengthDataprocess
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if m.Image == nil {
- m.Image = &Image{}
- }
- if err := m.Image.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipDataprocess(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthDataprocess
- }
- if (iNdEx + skippy) < 0 {
- return ErrInvalidLengthDataprocess
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *FilterResult) 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 ErrIntOverflowDataprocess
- }
- 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: FilterResult: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: FilterResult: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field BaseInfo", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowDataprocess
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthDataprocess
- }
- postIndex := iNdEx + msglen
- if postIndex < 0 {
- return ErrInvalidLengthDataprocess
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if m.BaseInfo == nil {
- m.BaseInfo = &TaskBasicInfo{}
- }
- if err := m.BaseInfo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Events", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowDataprocess
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthDataprocess
- }
- postIndex := iNdEx + msglen
- if postIndex < 0 {
- return ErrInvalidLengthDataprocess
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if m.Events == nil {
- m.Events = make(map[string]*EventCache)
- }
- var mapkey string
- var mapvalue *EventCache
- for iNdEx < postIndex {
- entryPreIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowDataprocess
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- if fieldNum == 1 {
- var stringLenmapkey uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowDataprocess
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLenmapkey |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLenmapkey := int(stringLenmapkey)
- if intStringLenmapkey < 0 {
- return ErrInvalidLengthDataprocess
- }
- postStringIndexmapkey := iNdEx + intStringLenmapkey
- if postStringIndexmapkey < 0 {
- return ErrInvalidLengthDataprocess
- }
- if postStringIndexmapkey > l {
- return io.ErrUnexpectedEOF
- }
- mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
- iNdEx = postStringIndexmapkey
- } else if fieldNum == 2 {
- var mapmsglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowDataprocess
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- mapmsglen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if mapmsglen < 0 {
- return ErrInvalidLengthDataprocess
- }
- postmsgIndex := iNdEx + mapmsglen
- if postmsgIndex < 0 {
- return ErrInvalidLengthDataprocess
- }
- if postmsgIndex > l {
- return io.ErrUnexpectedEOF
- }
- mapvalue = &EventCache{}
- if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
- return err
- }
- iNdEx = postmsgIndex
- } else {
- iNdEx = entryPreIndex
- skippy, err := skipDataprocess(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthDataprocess
- }
- if (iNdEx + skippy) > postIndex {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
- m.Events[mapkey] = mapvalue
- iNdEx = postIndex
- case 3:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Targets", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowDataprocess
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthDataprocess
- }
- postIndex := iNdEx + msglen
- if postIndex < 0 {
- return ErrInvalidLengthDataprocess
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if m.Targets == nil {
- m.Targets = make(map[string]*TargetCache)
- }
- var mapkey string
- var mapvalue *TargetCache
- for iNdEx < postIndex {
- entryPreIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowDataprocess
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- if fieldNum == 1 {
- var stringLenmapkey uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowDataprocess
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLenmapkey |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLenmapkey := int(stringLenmapkey)
- if intStringLenmapkey < 0 {
- return ErrInvalidLengthDataprocess
- }
- postStringIndexmapkey := iNdEx + intStringLenmapkey
- if postStringIndexmapkey < 0 {
- return ErrInvalidLengthDataprocess
- }
- if postStringIndexmapkey > l {
- return io.ErrUnexpectedEOF
- }
- mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
- iNdEx = postStringIndexmapkey
- } else if fieldNum == 2 {
- var mapmsglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowDataprocess
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- mapmsglen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if mapmsglen < 0 {
- return ErrInvalidLengthDataprocess
- }
- postmsgIndex := iNdEx + mapmsglen
- if postmsgIndex < 0 {
- return ErrInvalidLengthDataprocess
- }
- if postmsgIndex > l {
- return io.ErrUnexpectedEOF
- }
- mapvalue = &TargetCache{}
- if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
- return err
- }
- iNdEx = postmsgIndex
- } else {
- iNdEx = entryPreIndex
- skippy, err := skipDataprocess(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthDataprocess
- }
- if (iNdEx + skippy) > postIndex {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
- m.Targets[mapkey] = mapvalue
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipDataprocess(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthDataprocess
- }
- if (iNdEx + skippy) < 0 {
- return ErrInvalidLengthDataprocess
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func skipDataprocess(dAtA []byte) (n int, err error) {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return 0, ErrIntOverflowDataprocess
- }
- if iNdEx >= l {
- return 0, io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- wireType := int(wire & 0x7)
- switch wireType {
- case 0:
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return 0, ErrIntOverflowDataprocess
- }
- if iNdEx >= l {
- return 0, io.ErrUnexpectedEOF
- }
- iNdEx++
- if dAtA[iNdEx-1] < 0x80 {
- break
- }
- }
- return iNdEx, nil
- case 1:
- iNdEx += 8
- return iNdEx, nil
- case 2:
- var length int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return 0, ErrIntOverflowDataprocess
- }
- if iNdEx >= l {
- return 0, io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- length |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if length < 0 {
- return 0, ErrInvalidLengthDataprocess
- }
- iNdEx += length
- if iNdEx < 0 {
- return 0, ErrInvalidLengthDataprocess
- }
- return iNdEx, nil
- case 3:
- for {
- var innerWire uint64
- var start int = iNdEx
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return 0, ErrIntOverflowDataprocess
- }
- if iNdEx >= l {
- return 0, io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- innerWire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- innerWireType := int(innerWire & 0x7)
- if innerWireType == 4 {
- break
- }
- next, err := skipDataprocess(dAtA[start:])
- if err != nil {
- return 0, err
- }
- iNdEx = start + next
- if iNdEx < 0 {
- return 0, ErrInvalidLengthDataprocess
- }
- }
- return iNdEx, nil
- case 4:
- return iNdEx, nil
- case 5:
- iNdEx += 4
- return iNdEx, nil
- default:
- return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
- }
- }
- panic("unreachable")
-}
-
-var (
- ErrInvalidLengthDataprocess = fmt.Errorf("proto: negative length found during unmarshaling")
- ErrIntOverflowDataprocess = fmt.Errorf("proto: integer overflow")
-)
--
Gitblit v1.8.0