From 2c631d93058dfc5173bc4eacdac848f8dd13246e Mon Sep 17 00:00:00 2001
From: 554325746@qq.com <554325746@qq.com>
Date: 星期四, 13 二月 2020 14:40:44 +0800
Subject: [PATCH] add sdkChanSet
---
protomsg.proto | 6
protomsg.pb.go | 3503 +++++++++++++++++++++++++++++++++-------------------------
2 files changed, 1,997 insertions(+), 1,512 deletions(-)
diff --git a/protomsg.pb.go b/protomsg.pb.go
index 457b82c..5117bdf 100644
--- a/protomsg.pb.go
+++ b/protomsg.pb.go
@@ -21,7 +21,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.GoGoProtoPackageIsVersion2 // please upgrade the proto package
+const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
//TableChanged enum
type TableChanged int32
@@ -40,6 +40,7 @@
TableChanged_T_PollConfig TableChanged = 10
TableChanged_T_File TableChanged = 11
TableChanged_T_FileSetting TableChanged = 12
+ TableChanged_T_SdkChanSet TableChanged = 13
)
var TableChanged_name = map[int32]string{
@@ -56,6 +57,7 @@
10: "T_PollConfig",
11: "T_File",
12: "T_FileSetting",
+ 13: "T_SdkChanSet",
}
var TableChanged_value = map[string]int32{
@@ -72,6 +74,7 @@
"T_PollConfig": 10,
"T_File": 11,
"T_FileSetting": 12,
+ "T_SdkChanSet": 13,
}
func (x TableChanged) String() string {
@@ -184,7 +187,7 @@
return xxx_messageInfo_Area.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
- n, err := m.MarshalTo(b)
+ n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
@@ -262,7 +265,7 @@
return xxx_messageInfo_Camera.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
- n, err := m.MarshalTo(b)
+ n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
@@ -441,7 +444,7 @@
return xxx_messageInfo_CameraLink.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
- n, err := m.MarshalTo(b)
+ n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
@@ -494,7 +497,7 @@
return xxx_messageInfo_CameraAndTaskInfo.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
- n, err := m.MarshalTo(b)
+ n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
@@ -553,7 +556,7 @@
return xxx_messageInfo_Task.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
- n, err := m.MarshalTo(b)
+ n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
@@ -647,7 +650,7 @@
return xxx_messageInfo_TaskSdkInfo.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
- n, err := m.MarshalTo(b)
+ n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
@@ -699,7 +702,7 @@
return xxx_messageInfo_SdkRun.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
- n, err := m.MarshalTo(b)
+ n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
@@ -751,7 +754,7 @@
return xxx_messageInfo_TaskSdkRun.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
- n, err := m.MarshalTo(b)
+ n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
@@ -814,7 +817,7 @@
return xxx_messageInfo_CameraTask.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
- n, err := m.MarshalTo(b)
+ n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
@@ -938,7 +941,7 @@
return xxx_messageInfo_CameraTimerule.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
- n, err := m.MarshalTo(b)
+ n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
@@ -998,7 +1001,7 @@
return xxx_messageInfo_DayCtl.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
- n, err := m.MarshalTo(b)
+ n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
@@ -1051,7 +1054,7 @@
return xxx_messageInfo_TimeRange.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
- n, err := m.MarshalTo(b)
+ n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
@@ -1105,7 +1108,7 @@
return xxx_messageInfo_Polygon.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
- n, err := m.MarshalTo(b)
+ n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
@@ -1164,7 +1167,7 @@
return xxx_messageInfo_CameraTaskArgs.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
- n, err := m.MarshalTo(b)
+ n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
@@ -1217,7 +1220,7 @@
return xxx_messageInfo_TaskGroupArgs.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
- n, err := m.MarshalTo(b)
+ n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
@@ -1280,7 +1283,7 @@
return xxx_messageInfo_GroupRule.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
- n, err := m.MarshalTo(b)
+ n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
@@ -1370,7 +1373,7 @@
return xxx_messageInfo_Rule.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
- n, err := m.MarshalTo(b)
+ n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
@@ -1503,7 +1506,7 @@
return xxx_messageInfo_Sdk.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
- n, err := m.MarshalTo(b)
+ n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
@@ -1626,7 +1629,7 @@
return xxx_messageInfo_TaskSdkRule.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
- n, err := m.MarshalTo(b)
+ n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
@@ -1687,7 +1690,7 @@
return xxx_messageInfo_SdkRuleSet.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
- n, err := m.MarshalTo(b)
+ n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
@@ -1755,7 +1758,7 @@
return xxx_messageInfo_SdkRule.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
- n, err := m.MarshalTo(b)
+ n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
@@ -1829,7 +1832,7 @@
return xxx_messageInfo_SdkArg.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
- n, err := m.MarshalTo(b)
+ n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
@@ -1911,6 +1914,58 @@
return 0
}
+type SdkChanSet struct {
+ SdkType string `protobuf:"bytes,1,opt,name=sdk_type,json=sdkType,proto3" json:"sdk_type,omitempty"`
+ ChanNum int32 `protobuf:"varint,2,opt,name=chan_num,json=chanNum,proto3" json:"chan_num,omitempty"`
+}
+
+func (m *SdkChanSet) Reset() { *m = SdkChanSet{} }
+func (m *SdkChanSet) String() string { return proto.CompactTextString(m) }
+func (*SdkChanSet) ProtoMessage() {}
+func (*SdkChanSet) Descriptor() ([]byte, []int) {
+ return fileDescriptor_32de24555f916688, []int{22}
+}
+func (m *SdkChanSet) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *SdkChanSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_SdkChanSet.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *SdkChanSet) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_SdkChanSet.Merge(m, src)
+}
+func (m *SdkChanSet) XXX_Size() int {
+ return m.Size()
+}
+func (m *SdkChanSet) XXX_DiscardUnknown() {
+ xxx_messageInfo_SdkChanSet.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_SdkChanSet proto.InternalMessageInfo
+
+func (m *SdkChanSet) GetSdkType() string {
+ if m != nil {
+ return m.SdkType
+ }
+ return ""
+}
+
+func (m *SdkChanSet) GetChanNum() int32 {
+ if m != nil {
+ return m.ChanNum
+ }
+ return 0
+}
+
//publish db change message
type DbChangeMessage struct {
Table TableChanged `protobuf:"varint,1,opt,name=table,proto3,enum=protomsg.TableChanged" json:"table,omitempty"`
@@ -1923,7 +1978,7 @@
func (m *DbChangeMessage) String() string { return proto.CompactTextString(m) }
func (*DbChangeMessage) ProtoMessage() {}
func (*DbChangeMessage) Descriptor() ([]byte, []int) {
- return fileDescriptor_32de24555f916688, []int{22}
+ return fileDescriptor_32de24555f916688, []int{23}
}
func (m *DbChangeMessage) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -1933,7 +1988,7 @@
return xxx_messageInfo_DbChangeMessage.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
- n, err := m.MarshalTo(b)
+ n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
@@ -1995,7 +2050,7 @@
func (m *CameraPolygon) String() string { return proto.CompactTextString(m) }
func (*CameraPolygon) ProtoMessage() {}
func (*CameraPolygon) Descriptor() ([]byte, []int) {
- return fileDescriptor_32de24555f916688, []int{23}
+ return fileDescriptor_32de24555f916688, []int{24}
}
func (m *CameraPolygon) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -2005,7 +2060,7 @@
return xxx_messageInfo_CameraPolygon.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
- n, err := m.MarshalTo(b)
+ n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
@@ -2094,7 +2149,7 @@
func (m *VideotapeInfo) String() string { return proto.CompactTextString(m) }
func (*VideotapeInfo) ProtoMessage() {}
func (*VideotapeInfo) Descriptor() ([]byte, []int) {
- return fileDescriptor_32de24555f916688, []int{24}
+ return fileDescriptor_32de24555f916688, []int{25}
}
func (m *VideotapeInfo) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -2104,7 +2159,7 @@
return xxx_messageInfo_VideotapeInfo.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
- n, err := m.MarshalTo(b)
+ n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
@@ -2191,7 +2246,7 @@
func (m *CompareArgs) String() string { return proto.CompactTextString(m) }
func (*CompareArgs) ProtoMessage() {}
func (*CompareArgs) Descriptor() ([]byte, []int) {
- return fileDescriptor_32de24555f916688, []int{25}
+ return fileDescriptor_32de24555f916688, []int{26}
}
func (m *CompareArgs) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -2201,7 +2256,7 @@
return xxx_messageInfo_CompareArgs.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
- n, err := m.MarshalTo(b)
+ n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
@@ -2313,7 +2368,7 @@
func (m *CompareEvent) String() string { return proto.CompactTextString(m) }
func (*CompareEvent) ProtoMessage() {}
func (*CompareEvent) Descriptor() ([]byte, []int) {
- return fileDescriptor_32de24555f916688, []int{26}
+ return fileDescriptor_32de24555f916688, []int{27}
}
func (m *CompareEvent) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -2323,7 +2378,7 @@
return xxx_messageInfo_CompareEvent.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
- n, err := m.MarshalTo(b)
+ n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
@@ -2366,7 +2421,7 @@
func (m *SdkCompareEach) String() string { return proto.CompactTextString(m) }
func (*SdkCompareEach) ProtoMessage() {}
func (*SdkCompareEach) Descriptor() ([]byte, []int) {
- return fileDescriptor_32de24555f916688, []int{27}
+ return fileDescriptor_32de24555f916688, []int{28}
}
func (m *SdkCompareEach) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -2376,7 +2431,7 @@
return xxx_messageInfo_SdkCompareEach.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
- n, err := m.MarshalTo(b)
+ n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
@@ -2424,7 +2479,7 @@
func (m *SdkCompareResult) String() string { return proto.CompactTextString(m) }
func (*SdkCompareResult) ProtoMessage() {}
func (*SdkCompareResult) Descriptor() ([]byte, []int) {
- return fileDescriptor_32de24555f916688, []int{28}
+ return fileDescriptor_32de24555f916688, []int{29}
}
func (m *SdkCompareResult) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -2434,7 +2489,7 @@
return xxx_messageInfo_SdkCompareResult.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
- n, err := m.MarshalTo(b)
+ n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
@@ -2479,7 +2534,7 @@
func (m *EventPush) String() string { return proto.CompactTextString(m) }
func (*EventPush) ProtoMessage() {}
func (*EventPush) Descriptor() ([]byte, []int) {
- return fileDescriptor_32de24555f916688, []int{29}
+ return fileDescriptor_32de24555f916688, []int{30}
}
func (m *EventPush) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -2489,7 +2544,7 @@
return xxx_messageInfo_EventPush.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
- n, err := m.MarshalTo(b)
+ n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
@@ -2606,7 +2661,7 @@
func (m *EventPushRule) String() string { return proto.CompactTextString(m) }
func (*EventPushRule) ProtoMessage() {}
func (*EventPushRule) Descriptor() ([]byte, []int) {
- return fileDescriptor_32de24555f916688, []int{30}
+ return fileDescriptor_32de24555f916688, []int{31}
}
func (m *EventPushRule) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -2616,7 +2671,7 @@
return xxx_messageInfo_EventPushRule.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
- n, err := m.MarshalTo(b)
+ n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
@@ -2694,7 +2749,7 @@
func (m *PushIpPort) String() string { return proto.CompactTextString(m) }
func (*PushIpPort) ProtoMessage() {}
func (*PushIpPort) Descriptor() ([]byte, []int) {
- return fileDescriptor_32de24555f916688, []int{31}
+ return fileDescriptor_32de24555f916688, []int{32}
}
func (m *PushIpPort) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -2704,7 +2759,7 @@
return xxx_messageInfo_PushIpPort.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
- n, err := m.MarshalTo(b)
+ n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
@@ -2753,7 +2808,7 @@
func (m *PushUrl) String() string { return proto.CompactTextString(m) }
func (*PushUrl) ProtoMessage() {}
func (*PushUrl) Descriptor() ([]byte, []int) {
- return fileDescriptor_32de24555f916688, []int{32}
+ return fileDescriptor_32de24555f916688, []int{33}
}
func (m *PushUrl) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -2763,7 +2818,7 @@
return xxx_messageInfo_PushUrl.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
- n, err := m.MarshalTo(b)
+ n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
@@ -2809,7 +2864,7 @@
func (m *PushAttach) String() string { return proto.CompactTextString(m) }
func (*PushAttach) ProtoMessage() {}
func (*PushAttach) Descriptor() ([]byte, []int) {
- return fileDescriptor_32de24555f916688, []int{33}
+ return fileDescriptor_32de24555f916688, []int{34}
}
func (m *PushAttach) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -2819,7 +2874,7 @@
return xxx_messageInfo_PushAttach.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
- n, err := m.MarshalTo(b)
+ n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
@@ -2893,7 +2948,7 @@
func (m *EsPersonCacheChange) String() string { return proto.CompactTextString(m) }
func (*EsPersonCacheChange) ProtoMessage() {}
func (*EsPersonCacheChange) Descriptor() ([]byte, []int) {
- return fileDescriptor_32de24555f916688, []int{34}
+ return fileDescriptor_32de24555f916688, []int{35}
}
func (m *EsPersonCacheChange) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -2903,7 +2958,7 @@
return xxx_messageInfo_EsPersonCacheChange.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
- n, err := m.MarshalTo(b)
+ n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
@@ -2991,6 +3046,7 @@
proto.RegisterType((*SdkRuleSet)(nil), "protomsg.SdkRuleSet")
proto.RegisterType((*SdkRule)(nil), "protomsg.SdkRule")
proto.RegisterType((*SdkArg)(nil), "protomsg.SdkArg")
+ proto.RegisterType((*SdkChanSet)(nil), "protomsg.SdkChanSet")
proto.RegisterType((*DbChangeMessage)(nil), "protomsg.DbChangeMessage")
proto.RegisterType((*CameraPolygon)(nil), "protomsg.CameraPolygon")
proto.RegisterType((*VideotapeInfo)(nil), "protomsg.VideotapeInfo")
@@ -3009,175 +3065,177 @@
func init() { proto.RegisterFile("protomsg.proto", fileDescriptor_32de24555f916688) }
var fileDescriptor_32de24555f916688 = []byte{
- // 2582 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x58, 0xcd, 0x8e, 0xdc, 0xc6,
- 0xf1, 0x5f, 0xce, 0x37, 0x6b, 0x66, 0x56, 0x14, 0xa5, 0xbf, 0x3d, 0x92, 0xff, 0x5e, 0xaf, 0x19,
- 0x19, 0x56, 0x04, 0xc7, 0x09, 0x64, 0x1f, 0x82, 0x1c, 0x02, 0x8c, 0xb5, 0x52, 0x30, 0x80, 0xed,
- 0x6c, 0xb8, 0x2b, 0xe5, 0x16, 0xa2, 0x87, 0xec, 0x9d, 0x25, 0xb6, 0x97, 0x24, 0xba, 0xc9, 0xb5,
- 0xf7, 0x90, 0x07, 0xc8, 0x29, 0x79, 0xa1, 0x20, 0x39, 0xe6, 0x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x5c, 0x9e,
+ 0x83, 0xeb, 0x23, 0x2e, 0x78, 0xc1, 0xbd, 0xce, 0xa3, 0x05, 0x78, 0xdb, 0xa5, 0xca, 0xbf, 0x05,
+ 0xe3, 0x90, 0x2f, 0xd3, 0xa4, 0x20, 0x5b, 0x7b, 0x7b, 0x08, 0xe8, 0x8f, 0x35, 0xe0, 0xf8, 0x63,
+ 0x18, 0x9a, 0xaf, 0xbc, 0xce, 0xa3, 0x4f, 0x60, 0xd6, 0x76, 0x0b, 0xad, 0xa7, 0xa3, 0x15, 0x69,
+ 0xdf, 0xdb, 0xd3, 0x9a, 0x30, 0xa4, 0xf6, 0x35, 0xcf, 0xf9, 0x74, 0xfe, 0xe7, 0x6f, 0xf6, 0x9d,
+ 0xaf, 0xbe, 0xd9, 0x77, 0xfe, 0xf1, 0xcd, 0xbe, 0xf3, 0xfb, 0x97, 0xfb, 0x7b, 0x5f, 0xbd, 0xdc,
+ 0xdf, 0xfb, 0xdb, 0xcb, 0xfd, 0xbd, 0xd5, 0x80, 0x6c, 0xfd, 0xf1, 0xff, 0x03, 0x00, 0x00, 0xff,
+ 0xff, 0x03, 0x44, 0xb9, 0x10, 0x9a, 0x19, 0x00, 0x00,
}
func (m *Area) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
@@ -3185,33 +3243,39 @@
}
func (m *Area) MarshalTo(dAtA []byte) (int, error) {
- var i int
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *Area) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
_ = i
var l int
_ = l
- if m.Id != 0 {
- dAtA[i] = 0x8
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(m.Id))
+ if len(m.Name) > 0 {
+ i -= len(m.Name)
+ copy(dAtA[i:], m.Name)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Name)))
+ i--
+ dAtA[i] = 0x1a
}
if m.Parentid != 0 {
- dAtA[i] = 0x10
- i++
i = encodeVarintProtomsg(dAtA, i, uint64(m.Parentid))
+ i--
+ dAtA[i] = 0x10
}
- if len(m.Name) > 0 {
- dAtA[i] = 0x1a
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Name)))
- i += copy(dAtA[i:], m.Name)
+ if m.Id != 0 {
+ i = encodeVarintProtomsg(dAtA, i, uint64(m.Id))
+ i--
+ dAtA[i] = 0x8
}
- return i, nil
+ return len(dAtA) - i, nil
}
func (m *Camera) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
@@ -3219,151 +3283,168 @@
}
func (m *Camera) MarshalTo(dAtA []byte) (int, error) {
- var i int
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *Camera) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
_ = 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.Alias) > 0 {
- dAtA[i] = 0x1a
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Alias)))
- i += copy(dAtA[i:], m.Alias)
- }
- if len(m.SnapshotUrl) > 0 {
- dAtA[i] = 0x22
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(len(m.SnapshotUrl)))
- i += copy(dAtA[i:], m.SnapshotUrl)
- }
- if m.Type != 0 {
- dAtA[i] = 0x28
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(m.Type))
- }
- if len(m.Addr) > 0 {
- dAtA[i] = 0x32
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Addr)))
- i += copy(dAtA[i:], m.Addr)
- }
- if m.Longitude != 0 {
- dAtA[i] = 0x3d
- i++
- encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.Longitude))))
- i += 4
- }
- if m.Latitude != 0 {
- 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
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Rtsp)))
- i += copy(dAtA[i:], m.Rtsp)
- }
- if len(m.Ip) > 0 {
- dAtA[i] = 0x5a
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Ip)))
- i += copy(dAtA[i:], m.Ip)
- }
- if m.Port != 0 {
- dAtA[i] = 0x60
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(m.Port))
- }
- if len(m.Username) > 0 {
- dAtA[i] = 0x6a
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Username)))
- i += copy(dAtA[i:], m.Username)
- }
- if len(m.Password) > 0 {
- dAtA[i] = 0x72
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Password)))
- i += copy(dAtA[i:], m.Password)
- }
- if len(m.Brand) > 0 {
- dAtA[i] = 0x7a
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Brand)))
- i += copy(dAtA[i:], m.Brand)
- }
- if len(m.Reserved) > 0 {
- dAtA[i] = 0x82
- i++
+ if len(m.RunServerId) > 0 {
+ i -= len(m.RunServerId)
+ copy(dAtA[i:], m.RunServerId)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.RunServerId)))
+ i--
dAtA[i] = 0x1
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Reserved)))
- i += copy(dAtA[i:], m.Reserved)
+ i--
+ dAtA[i] = 0xa2
}
- if m.IsRunning {
- dAtA[i] = 0x88
- i++
+ if m.RunType != 0 {
+ i = encodeVarintProtomsg(dAtA, i, uint64(m.RunType))
+ i--
dAtA[i] = 0x1
- i++
- if m.IsRunning {
- dAtA[i] = 1
- } else {
- dAtA[i] = 0
- }
- i++
+ i--
+ dAtA[i] = 0x98
}
if m.RunEnable {
- dAtA[i] = 0x90
- i++
- dAtA[i] = 0x1
- i++
+ i--
if m.RunEnable {
dAtA[i] = 1
} else {
dAtA[i] = 0
}
- i++
- }
- if m.RunType != 0 {
- dAtA[i] = 0x98
- i++
+ i--
dAtA[i] = 0x1
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(m.RunType))
+ i--
+ dAtA[i] = 0x90
}
- if len(m.RunServerId) > 0 {
- dAtA[i] = 0xa2
- i++
+ if m.IsRunning {
+ i--
+ if m.IsRunning {
+ dAtA[i] = 1
+ } else {
+ dAtA[i] = 0
+ }
+ i--
dAtA[i] = 0x1
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(len(m.RunServerId)))
- i += copy(dAtA[i:], m.RunServerId)
+ i--
+ dAtA[i] = 0x88
}
- return i, nil
+ if len(m.Reserved) > 0 {
+ i -= len(m.Reserved)
+ copy(dAtA[i:], m.Reserved)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Reserved)))
+ i--
+ dAtA[i] = 0x1
+ i--
+ dAtA[i] = 0x82
+ }
+ if len(m.Brand) > 0 {
+ i -= len(m.Brand)
+ copy(dAtA[i:], m.Brand)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Brand)))
+ i--
+ dAtA[i] = 0x7a
+ }
+ if len(m.Password) > 0 {
+ i -= len(m.Password)
+ copy(dAtA[i:], m.Password)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Password)))
+ i--
+ dAtA[i] = 0x72
+ }
+ if len(m.Username) > 0 {
+ i -= len(m.Username)
+ copy(dAtA[i:], m.Username)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Username)))
+ i--
+ dAtA[i] = 0x6a
+ }
+ if m.Port != 0 {
+ i = encodeVarintProtomsg(dAtA, i, uint64(m.Port))
+ i--
+ dAtA[i] = 0x60
+ }
+ if len(m.Ip) > 0 {
+ i -= len(m.Ip)
+ copy(dAtA[i:], m.Ip)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Ip)))
+ i--
+ dAtA[i] = 0x5a
+ }
+ if len(m.Rtsp) > 0 {
+ i -= len(m.Rtsp)
+ copy(dAtA[i:], m.Rtsp)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Rtsp)))
+ i--
+ dAtA[i] = 0x52
+ }
+ if m.Floor != 0 {
+ i = encodeVarintProtomsg(dAtA, i, uint64(m.Floor))
+ i--
+ dAtA[i] = 0x48
+ }
+ if m.Latitude != 0 {
+ i -= 4
+ encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.Latitude))))
+ i--
+ dAtA[i] = 0x45
+ }
+ if m.Longitude != 0 {
+ i -= 4
+ encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.Longitude))))
+ i--
+ dAtA[i] = 0x3d
+ }
+ if len(m.Addr) > 0 {
+ i -= len(m.Addr)
+ copy(dAtA[i:], m.Addr)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Addr)))
+ i--
+ dAtA[i] = 0x32
+ }
+ if m.Type != 0 {
+ i = encodeVarintProtomsg(dAtA, i, uint64(m.Type))
+ i--
+ dAtA[i] = 0x28
+ }
+ if len(m.SnapshotUrl) > 0 {
+ i -= len(m.SnapshotUrl)
+ copy(dAtA[i:], m.SnapshotUrl)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.SnapshotUrl)))
+ i--
+ dAtA[i] = 0x22
+ }
+ if len(m.Alias) > 0 {
+ i -= len(m.Alias)
+ copy(dAtA[i:], m.Alias)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Alias)))
+ i--
+ dAtA[i] = 0x1a
+ }
+ if len(m.Name) > 0 {
+ i -= len(m.Name)
+ copy(dAtA[i:], m.Name)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Name)))
+ i--
+ dAtA[i] = 0x12
+ }
+ if len(m.Id) > 0 {
+ i -= len(m.Id)
+ copy(dAtA[i:], m.Id)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Id)))
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
}
func (m *CameraLink) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
@@ -3371,29 +3452,36 @@
}
func (m *CameraLink) MarshalTo(dAtA []byte) (int, error) {
- var i int
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *CameraLink) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
_ = i
var l int
_ = l
- if len(m.CameraIds) > 0 {
- dAtA[i] = 0xa
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(len(m.CameraIds)))
- i += copy(dAtA[i:], m.CameraIds)
- }
if len(m.LinkTaskId) > 0 {
- dAtA[i] = 0x12
- i++
+ i -= len(m.LinkTaskId)
+ copy(dAtA[i:], m.LinkTaskId)
i = encodeVarintProtomsg(dAtA, i, uint64(len(m.LinkTaskId)))
- i += copy(dAtA[i:], m.LinkTaskId)
+ i--
+ dAtA[i] = 0x12
}
- return i, nil
+ if len(m.CameraIds) > 0 {
+ i -= len(m.CameraIds)
+ copy(dAtA[i:], m.CameraIds)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.CameraIds)))
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
}
func (m *CameraAndTaskInfo) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
@@ -3401,39 +3489,48 @@
}
func (m *CameraAndTaskInfo) MarshalTo(dAtA []byte) (int, error) {
- var i int
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *CameraAndTaskInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
_ = i
var l int
_ = l
- if m.Camera != nil {
- dAtA[i] = 0xa
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(m.Camera.Size()))
- n1, err1 := m.Camera.MarshalTo(dAtA[i:])
- if err1 != nil {
- return 0, err1
- }
- i += n1
- }
if len(m.Tasks) > 0 {
- for _, msg := range m.Tasks {
+ for iNdEx := len(m.Tasks) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.Tasks[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintProtomsg(dAtA, i, uint64(size))
+ }
+ i--
dAtA[i] = 0x12
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(msg.Size()))
- n, err := msg.MarshalTo(dAtA[i:])
+ }
+ }
+ if m.Camera != nil {
+ {
+ size, err := m.Camera.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
- i += n
+ i -= size
+ i = encodeVarintProtomsg(dAtA, i, uint64(size))
}
+ i--
+ dAtA[i] = 0xa
}
- return i, nil
+ return len(dAtA) - i, nil
}
func (m *Task) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
@@ -3441,77 +3538,87 @@
}
func (m *Task) MarshalTo(dAtA []byte) (int, error) {
- var i int
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *Task) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
_ = i
var l int
_ = l
- if len(m.Taskid) > 0 {
- dAtA[i] = 0xa
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Taskid)))
- i += copy(dAtA[i:], m.Taskid)
- }
- if len(m.Taskname) > 0 {
- dAtA[i] = 0x12
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Taskname)))
- i += copy(dAtA[i:], m.Taskname)
- }
- if len(m.CreateAt) > 0 {
- dAtA[i] = 0x1a
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(len(m.CreateAt)))
- i += copy(dAtA[i:], m.CreateAt)
- }
- if len(m.CreateBy) > 0 {
- dAtA[i] = 0x22
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(len(m.CreateBy)))
- i += copy(dAtA[i:], m.CreateBy)
- }
- if len(m.UpdateAt) > 0 {
- dAtA[i] = 0x2a
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(len(m.UpdateAt)))
- i += copy(dAtA[i:], m.UpdateAt)
- }
- if m.Enable {
- dAtA[i] = 0x30
- i++
- if m.Enable {
- dAtA[i] = 1
- } else {
- dAtA[i] = 0
- }
- i++
- }
- if m.IsAlarm {
- dAtA[i] = 0x38
- i++
- if m.IsAlarm {
- dAtA[i] = 1
- } else {
- dAtA[i] = 0
- }
- i++
- }
if m.DelFlag {
- dAtA[i] = 0x40
- i++
+ i--
if m.DelFlag {
dAtA[i] = 1
} else {
dAtA[i] = 0
}
- i++
+ i--
+ dAtA[i] = 0x40
}
- return i, nil
+ if m.IsAlarm {
+ i--
+ if m.IsAlarm {
+ dAtA[i] = 1
+ } else {
+ dAtA[i] = 0
+ }
+ i--
+ dAtA[i] = 0x38
+ }
+ if m.Enable {
+ i--
+ if m.Enable {
+ dAtA[i] = 1
+ } else {
+ dAtA[i] = 0
+ }
+ i--
+ dAtA[i] = 0x30
+ }
+ if len(m.UpdateAt) > 0 {
+ i -= len(m.UpdateAt)
+ copy(dAtA[i:], m.UpdateAt)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.UpdateAt)))
+ i--
+ dAtA[i] = 0x2a
+ }
+ if len(m.CreateBy) > 0 {
+ i -= len(m.CreateBy)
+ copy(dAtA[i:], m.CreateBy)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.CreateBy)))
+ i--
+ dAtA[i] = 0x22
+ }
+ if len(m.CreateAt) > 0 {
+ i -= len(m.CreateAt)
+ copy(dAtA[i:], m.CreateAt)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.CreateAt)))
+ i--
+ dAtA[i] = 0x1a
+ }
+ if len(m.Taskname) > 0 {
+ i -= len(m.Taskname)
+ copy(dAtA[i:], m.Taskname)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Taskname)))
+ i--
+ dAtA[i] = 0x12
+ }
+ if len(m.Taskid) > 0 {
+ i -= len(m.Taskid)
+ copy(dAtA[i:], m.Taskid)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Taskid)))
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
}
func (m *TaskSdkInfo) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
@@ -3519,39 +3626,48 @@
}
func (m *TaskSdkInfo) MarshalTo(dAtA []byte) (int, error) {
- var i int
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *TaskSdkInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
_ = i
var l int
_ = l
- if m.Task != nil {
- dAtA[i] = 0xa
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(m.Task.Size()))
- n2, err2 := m.Task.MarshalTo(dAtA[i:])
- if err2 != nil {
- return 0, err2
- }
- i += n2
- }
if len(m.Sdks) > 0 {
- for _, msg := range m.Sdks {
+ for iNdEx := len(m.Sdks) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.Sdks[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintProtomsg(dAtA, i, uint64(size))
+ }
+ i--
dAtA[i] = 0x12
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(msg.Size()))
- n, err := msg.MarshalTo(dAtA[i:])
+ }
+ }
+ if m.Task != nil {
+ {
+ size, err := m.Task.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
- i += n
+ i -= size
+ i = encodeVarintProtomsg(dAtA, i, uint64(size))
}
+ i--
+ dAtA[i] = 0xa
}
- return i, nil
+ return len(dAtA) - i, nil
}
func (m *SdkRun) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
@@ -3559,29 +3675,36 @@
}
func (m *SdkRun) MarshalTo(dAtA []byte) (int, error) {
- var i int
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *SdkRun) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
_ = i
var l int
_ = l
- if len(m.IpcId) > 0 {
- dAtA[i] = 0xa
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(len(m.IpcId)))
- i += copy(dAtA[i:], m.IpcId)
- }
if len(m.SdkType) > 0 {
- dAtA[i] = 0x12
- i++
+ i -= len(m.SdkType)
+ copy(dAtA[i:], m.SdkType)
i = encodeVarintProtomsg(dAtA, i, uint64(len(m.SdkType)))
- i += copy(dAtA[i:], m.SdkType)
+ i--
+ dAtA[i] = 0x12
}
- return i, nil
+ if len(m.IpcId) > 0 {
+ i -= len(m.IpcId)
+ copy(dAtA[i:], m.IpcId)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.IpcId)))
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
}
func (m *TaskSdkRun) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
@@ -3589,39 +3712,48 @@
}
func (m *TaskSdkRun) MarshalTo(dAtA []byte) (int, error) {
- var i int
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *TaskSdkRun) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
_ = i
var l int
_ = l
- if m.Task != nil {
- dAtA[i] = 0xa
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(m.Task.Size()))
- n3, err3 := m.Task.MarshalTo(dAtA[i:])
- if err3 != nil {
- return 0, err3
- }
- i += n3
- }
if len(m.Sdks) > 0 {
- for _, msg := range m.Sdks {
+ for iNdEx := len(m.Sdks) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.Sdks[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintProtomsg(dAtA, i, uint64(size))
+ }
+ i--
dAtA[i] = 0x12
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(msg.Size()))
- n, err := msg.MarshalTo(dAtA[i:])
+ }
+ }
+ if m.Task != nil {
+ {
+ size, err := m.Task.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
- i += n
+ i -= size
+ i = encodeVarintProtomsg(dAtA, i, uint64(size))
}
+ i--
+ dAtA[i] = 0xa
}
- return i, nil
+ return len(dAtA) - i, nil
}
func (m *CameraTask) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
@@ -3629,104 +3761,116 @@
}
func (m *CameraTask) MarshalTo(dAtA []byte) (int, error) {
- var i int
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *CameraTask) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
_ = i
var l int
_ = l
- if len(m.Id) > 0 {
- dAtA[i] = 0xa
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Id)))
- i += copy(dAtA[i:], m.Id)
- }
- if len(m.CameraId) > 0 {
- dAtA[i] = 0x12
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(len(m.CameraId)))
- i += copy(dAtA[i:], m.CameraId)
- }
- if len(m.TaskId) > 0 {
- dAtA[i] = 0x1a
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(len(m.TaskId)))
- i += copy(dAtA[i:], m.TaskId)
- }
- if len(m.TimeRule) > 0 {
- dAtA[i] = 0x22
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(len(m.TimeRule)))
- i += copy(dAtA[i:], m.TimeRule)
- }
- if len(m.ReactRule) > 0 {
- dAtA[i] = 0x2a
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(len(m.ReactRule)))
- i += copy(dAtA[i:], m.ReactRule)
- }
- if len(m.ReactDevice) > 0 {
- dAtA[i] = 0x32
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(len(m.ReactDevice)))
- i += copy(dAtA[i:], m.ReactDevice)
- }
- if m.DelFlag {
- dAtA[i] = 0x38
- i++
- if m.DelFlag {
- dAtA[i] = 1
- } else {
- dAtA[i] = 0
- }
- i++
- }
- if m.UpdateFlag {
- dAtA[i] = 0x40
- i++
- if m.UpdateFlag {
- dAtA[i] = 1
- } else {
- dAtA[i] = 0
- }
- i++
- }
- if m.Enable {
- dAtA[i] = 0x48
- i++
- if m.Enable {
- dAtA[i] = 1
- } else {
- dAtA[i] = 0
- }
- i++
- }
- if m.Sort != 0 {
- dAtA[i] = 0x50
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(m.Sort))
+ if len(m.LinkTaskId) > 0 {
+ i -= len(m.LinkTaskId)
+ copy(dAtA[i:], m.LinkTaskId)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.LinkTaskId)))
+ i--
+ dAtA[i] = 0x62
}
if m.IsFull {
- dAtA[i] = 0x58
- i++
+ i--
if m.IsFull {
dAtA[i] = 1
} else {
dAtA[i] = 0
}
- i++
+ i--
+ dAtA[i] = 0x58
}
- if len(m.LinkTaskId) > 0 {
- dAtA[i] = 0x62
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(len(m.LinkTaskId)))
- i += copy(dAtA[i:], m.LinkTaskId)
+ if m.Sort != 0 {
+ i = encodeVarintProtomsg(dAtA, i, uint64(m.Sort))
+ i--
+ dAtA[i] = 0x50
}
- return i, nil
+ if m.Enable {
+ i--
+ if m.Enable {
+ dAtA[i] = 1
+ } else {
+ dAtA[i] = 0
+ }
+ i--
+ dAtA[i] = 0x48
+ }
+ if m.UpdateFlag {
+ i--
+ if m.UpdateFlag {
+ dAtA[i] = 1
+ } else {
+ dAtA[i] = 0
+ }
+ i--
+ dAtA[i] = 0x40
+ }
+ if m.DelFlag {
+ i--
+ if m.DelFlag {
+ dAtA[i] = 1
+ } else {
+ dAtA[i] = 0
+ }
+ i--
+ dAtA[i] = 0x38
+ }
+ if len(m.ReactDevice) > 0 {
+ i -= len(m.ReactDevice)
+ copy(dAtA[i:], m.ReactDevice)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.ReactDevice)))
+ i--
+ dAtA[i] = 0x32
+ }
+ if len(m.ReactRule) > 0 {
+ i -= len(m.ReactRule)
+ copy(dAtA[i:], m.ReactRule)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.ReactRule)))
+ i--
+ dAtA[i] = 0x2a
+ }
+ if len(m.TimeRule) > 0 {
+ i -= len(m.TimeRule)
+ copy(dAtA[i:], m.TimeRule)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.TimeRule)))
+ i--
+ dAtA[i] = 0x22
+ }
+ if len(m.TaskId) > 0 {
+ i -= len(m.TaskId)
+ copy(dAtA[i:], m.TaskId)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.TaskId)))
+ i--
+ dAtA[i] = 0x1a
+ }
+ if len(m.CameraId) > 0 {
+ i -= len(m.CameraId)
+ copy(dAtA[i:], m.CameraId)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.CameraId)))
+ i--
+ dAtA[i] = 0x12
+ }
+ if len(m.Id) > 0 {
+ i -= len(m.Id)
+ copy(dAtA[i:], m.Id)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Id)))
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
}
func (m *CameraTimerule) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
@@ -3734,35 +3878,43 @@
}
func (m *CameraTimerule) MarshalTo(dAtA []byte) (int, error) {
- var i int
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *CameraTimerule) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
_ = 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.TimeRule) > 0 {
+ i -= len(m.TimeRule)
+ copy(dAtA[i:], m.TimeRule)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.TimeRule)))
+ i--
+ dAtA[i] = 0x1a
}
if len(m.Name) > 0 {
- dAtA[i] = 0x12
- i++
+ i -= len(m.Name)
+ copy(dAtA[i:], m.Name)
i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Name)))
- i += copy(dAtA[i:], m.Name)
+ i--
+ dAtA[i] = 0x12
}
- if len(m.TimeRule) > 0 {
- dAtA[i] = 0x1a
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(len(m.TimeRule)))
- i += copy(dAtA[i:], m.TimeRule)
+ if len(m.Id) > 0 {
+ i -= len(m.Id)
+ copy(dAtA[i:], m.Id)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Id)))
+ i--
+ dAtA[i] = 0xa
}
- return i, nil
+ return len(dAtA) - i, nil
}
func (m *DayCtl) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
@@ -3770,34 +3922,41 @@
}
func (m *DayCtl) MarshalTo(dAtA []byte) (int, error) {
- var i int
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *DayCtl) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
_ = i
var l int
_ = l
- if m.Day != 0 {
- dAtA[i] = 0x8
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(m.Day))
- }
if len(m.TimeRange) > 0 {
- for _, msg := range m.TimeRange {
- dAtA[i] = 0x12
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(msg.Size()))
- n, err := msg.MarshalTo(dAtA[i:])
- if err != nil {
- return 0, err
+ for iNdEx := len(m.TimeRange) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.TimeRange[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintProtomsg(dAtA, i, uint64(size))
}
- i += n
+ i--
+ dAtA[i] = 0x12
}
}
- return i, nil
+ if m.Day != 0 {
+ i = encodeVarintProtomsg(dAtA, i, uint64(m.Day))
+ i--
+ dAtA[i] = 0x8
+ }
+ return len(dAtA) - i, nil
}
func (m *TimeRange) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
@@ -3805,29 +3964,36 @@
}
func (m *TimeRange) MarshalTo(dAtA []byte) (int, error) {
- var i int
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *TimeRange) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
_ = i
var l int
_ = l
- if len(m.Start) > 0 {
- dAtA[i] = 0xa
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Start)))
- i += copy(dAtA[i:], m.Start)
- }
if len(m.End) > 0 {
- dAtA[i] = 0x12
- i++
+ i -= len(m.End)
+ copy(dAtA[i:], m.End)
i = encodeVarintProtomsg(dAtA, i, uint64(len(m.End)))
- i += copy(dAtA[i:], m.End)
+ i--
+ dAtA[i] = 0x12
}
- return i, nil
+ if len(m.Start) > 0 {
+ i -= len(m.Start)
+ copy(dAtA[i:], m.Start)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Start)))
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
}
func (m *Polygon) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
@@ -3835,41 +4001,50 @@
}
func (m *Polygon) MarshalTo(dAtA []byte) (int, error) {
- var i int
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *Polygon) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
_ = i
var l int
_ = l
- if len(m.Id) > 0 {
- dAtA[i] = 0xa
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Id)))
- i += copy(dAtA[i:], m.Id)
- }
- if len(m.Name) > 0 {
- dAtA[i] = 0x12
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Name)))
- i += copy(dAtA[i:], m.Name)
- }
if len(m.Points) > 0 {
- for _, msg := range m.Points {
- dAtA[i] = 0x1a
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(msg.Size()))
- n, err := msg.MarshalTo(dAtA[i:])
- if err != nil {
- return 0, err
+ for iNdEx := len(m.Points) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.Points[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintProtomsg(dAtA, i, uint64(size))
}
- i += n
+ i--
+ dAtA[i] = 0x1a
}
}
- return i, nil
+ if len(m.Name) > 0 {
+ i -= len(m.Name)
+ copy(dAtA[i:], m.Name)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Name)))
+ i--
+ dAtA[i] = 0x12
+ }
+ if len(m.Id) > 0 {
+ i -= len(m.Id)
+ copy(dAtA[i:], m.Id)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Id)))
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
}
func (m *CameraTaskArgs) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
@@ -3877,35 +4052,43 @@
}
func (m *CameraTaskArgs) MarshalTo(dAtA []byte) (int, error) {
- var i int
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *CameraTaskArgs) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
_ = i
var l int
_ = l
- if len(m.CameraId) > 0 {
- dAtA[i] = 0xa
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(len(m.CameraId)))
- i += copy(dAtA[i:], m.CameraId)
- }
if len(m.TaskArgs) > 0 {
- for _, msg := range m.TaskArgs {
- dAtA[i] = 0x12
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(msg.Size()))
- n, err := msg.MarshalTo(dAtA[i:])
- if err != nil {
- return 0, err
+ for iNdEx := len(m.TaskArgs) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.TaskArgs[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintProtomsg(dAtA, i, uint64(size))
}
- i += n
+ i--
+ dAtA[i] = 0x12
}
}
- return i, nil
+ if len(m.CameraId) > 0 {
+ i -= len(m.CameraId)
+ copy(dAtA[i:], m.CameraId)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.CameraId)))
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
}
func (m *TaskGroupArgs) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
@@ -3913,45 +4096,53 @@
}
func (m *TaskGroupArgs) MarshalTo(dAtA []byte) (int, error) {
- var i int
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *TaskGroupArgs) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
_ = i
var l int
_ = l
- if len(m.TaskId) > 0 {
- dAtA[i] = 0xa
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(len(m.TaskId)))
- i += copy(dAtA[i:], m.TaskId)
- }
- if len(m.GroupRules) > 0 {
- for _, msg := range m.GroupRules {
- dAtA[i] = 0x12
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(msg.Size()))
- n, err := msg.MarshalTo(dAtA[i:])
- if err != nil {
- return 0, err
- }
- i += n
- }
- }
if m.Enable {
- dAtA[i] = 0x18
- i++
+ i--
if m.Enable {
dAtA[i] = 1
} else {
dAtA[i] = 0
}
- i++
+ i--
+ dAtA[i] = 0x18
}
- return i, nil
+ if len(m.GroupRules) > 0 {
+ for iNdEx := len(m.GroupRules) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.GroupRules[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintProtomsg(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x12
+ }
+ }
+ if len(m.TaskId) > 0 {
+ i -= len(m.TaskId)
+ copy(dAtA[i:], m.TaskId)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.TaskId)))
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
}
func (m *GroupRule) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
@@ -3959,62 +4150,72 @@
}
func (m *GroupRule) MarshalTo(dAtA []byte) (int, error) {
- var i int
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *GroupRule) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
_ = i
var l int
_ = l
- if len(m.GroupId) > 0 {
- dAtA[i] = 0xa
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(len(m.GroupId)))
- i += copy(dAtA[i:], m.GroupId)
- }
- if len(m.GroupText) > 0 {
- dAtA[i] = 0x12
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(len(m.GroupText)))
- i += copy(dAtA[i:], m.GroupText)
- }
- if m.AlarmLevel != 0 {
- dAtA[i] = 0x18
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(m.AlarmLevel))
- }
- if len(m.Rules) > 0 {
- for _, msg := range m.Rules {
- dAtA[i] = 0x22
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(msg.Size()))
- n, err := msg.MarshalTo(dAtA[i:])
- if err != nil {
- return 0, err
- }
- i += n
- }
- }
- if len(m.SetType) > 0 {
- dAtA[i] = 0x2a
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(len(m.SetType)))
- i += copy(dAtA[i:], m.SetType)
- }
if m.DefenceState {
- dAtA[i] = 0x30
- i++
+ i--
if m.DefenceState {
dAtA[i] = 1
} else {
dAtA[i] = 0
}
- i++
+ i--
+ dAtA[i] = 0x30
}
- return i, nil
+ if len(m.SetType) > 0 {
+ i -= len(m.SetType)
+ copy(dAtA[i:], m.SetType)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.SetType)))
+ i--
+ dAtA[i] = 0x2a
+ }
+ if len(m.Rules) > 0 {
+ for iNdEx := len(m.Rules) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.Rules[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintProtomsg(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x22
+ }
+ }
+ if m.AlarmLevel != 0 {
+ i = encodeVarintProtomsg(dAtA, i, uint64(m.AlarmLevel))
+ i--
+ dAtA[i] = 0x18
+ }
+ if len(m.GroupText) > 0 {
+ i -= len(m.GroupText)
+ copy(dAtA[i:], m.GroupText)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.GroupText)))
+ i--
+ dAtA[i] = 0x12
+ }
+ if len(m.GroupId) > 0 {
+ i -= len(m.GroupId)
+ copy(dAtA[i:], m.GroupId)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.GroupId)))
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
}
func (m *Rule) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
@@ -4022,88 +4223,104 @@
}
func (m *Rule) MarshalTo(dAtA []byte) (int, error) {
- var i int
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *Rule) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
_ = i
var l int
_ = l
- if len(m.Id) > 0 {
- dAtA[i] = 0xa
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Id)))
- i += copy(dAtA[i:], m.Id)
- }
- if len(m.CameraTaskId) > 0 {
- dAtA[i] = 0x12
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(len(m.CameraTaskId)))
- i += copy(dAtA[i:], m.CameraTaskId)
- }
- if len(m.CameraId) > 0 {
- dAtA[i] = 0x1a
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(len(m.CameraId)))
- i += copy(dAtA[i:], m.CameraId)
- }
- if len(m.PolygonId) > 0 {
- dAtA[i] = 0x22
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(len(m.PolygonId)))
- i += copy(dAtA[i:], m.PolygonId)
- }
- if len(m.SdkId) > 0 {
- dAtA[i] = 0x2a
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(len(m.SdkId)))
- i += copy(dAtA[i:], m.SdkId)
- }
- if len(m.SdkArgAlias) > 0 {
- dAtA[i] = 0x32
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(len(m.SdkArgAlias)))
- i += copy(dAtA[i:], m.SdkArgAlias)
- }
- if len(m.Operator) > 0 {
- dAtA[i] = 0x3a
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Operator)))
- i += copy(dAtA[i:], m.Operator)
- }
- if len(m.OperatorType) > 0 {
- dAtA[i] = 0x42
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(len(m.OperatorType)))
- i += copy(dAtA[i:], m.OperatorType)
- }
- if len(m.SdkArgValue) > 0 {
- dAtA[i] = 0x4a
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(len(m.SdkArgValue)))
- i += copy(dAtA[i:], m.SdkArgValue)
- }
- if m.Sort != 0 {
- dAtA[i] = 0x50
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(m.Sort))
+ if len(m.GroupId) > 0 {
+ i -= len(m.GroupId)
+ copy(dAtA[i:], m.GroupId)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.GroupId)))
+ i--
+ dAtA[i] = 0x62
}
if len(m.RuleWithPre) > 0 {
- dAtA[i] = 0x5a
- i++
+ i -= len(m.RuleWithPre)
+ copy(dAtA[i:], m.RuleWithPre)
i = encodeVarintProtomsg(dAtA, i, uint64(len(m.RuleWithPre)))
- i += copy(dAtA[i:], m.RuleWithPre)
+ i--
+ dAtA[i] = 0x5a
}
- if len(m.GroupId) > 0 {
- dAtA[i] = 0x62
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(len(m.GroupId)))
- i += copy(dAtA[i:], m.GroupId)
+ if m.Sort != 0 {
+ i = encodeVarintProtomsg(dAtA, i, uint64(m.Sort))
+ i--
+ dAtA[i] = 0x50
}
- return i, nil
+ if len(m.SdkArgValue) > 0 {
+ i -= len(m.SdkArgValue)
+ copy(dAtA[i:], m.SdkArgValue)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.SdkArgValue)))
+ i--
+ dAtA[i] = 0x4a
+ }
+ if len(m.OperatorType) > 0 {
+ i -= len(m.OperatorType)
+ copy(dAtA[i:], m.OperatorType)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.OperatorType)))
+ i--
+ dAtA[i] = 0x42
+ }
+ if len(m.Operator) > 0 {
+ i -= len(m.Operator)
+ copy(dAtA[i:], m.Operator)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Operator)))
+ i--
+ dAtA[i] = 0x3a
+ }
+ if len(m.SdkArgAlias) > 0 {
+ i -= len(m.SdkArgAlias)
+ copy(dAtA[i:], m.SdkArgAlias)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.SdkArgAlias)))
+ i--
+ dAtA[i] = 0x32
+ }
+ if len(m.SdkId) > 0 {
+ i -= len(m.SdkId)
+ copy(dAtA[i:], m.SdkId)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.SdkId)))
+ i--
+ dAtA[i] = 0x2a
+ }
+ if len(m.PolygonId) > 0 {
+ i -= len(m.PolygonId)
+ copy(dAtA[i:], m.PolygonId)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.PolygonId)))
+ i--
+ dAtA[i] = 0x22
+ }
+ if len(m.CameraId) > 0 {
+ i -= len(m.CameraId)
+ copy(dAtA[i:], m.CameraId)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.CameraId)))
+ i--
+ dAtA[i] = 0x1a
+ }
+ if len(m.CameraTaskId) > 0 {
+ i -= len(m.CameraTaskId)
+ copy(dAtA[i:], m.CameraTaskId)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.CameraTaskId)))
+ i--
+ dAtA[i] = 0x12
+ }
+ if len(m.Id) > 0 {
+ i -= len(m.Id)
+ copy(dAtA[i:], m.Id)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Id)))
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
}
func (m *Sdk) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
@@ -4111,98 +4328,114 @@
}
func (m *Sdk) MarshalTo(dAtA []byte) (int, error) {
- var i int
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *Sdk) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
_ = 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.IpcId) > 0 {
- dAtA[i] = 0x12
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(len(m.IpcId)))
- i += copy(dAtA[i:], m.IpcId)
- }
- if len(m.SdkType) > 0 {
- dAtA[i] = 0x1a
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(len(m.SdkType)))
- i += copy(dAtA[i:], m.SdkType)
- }
- if len(m.SdkName) > 0 {
- dAtA[i] = 0x22
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(len(m.SdkName)))
- i += copy(dAtA[i:], m.SdkName)
- }
- if len(m.Args) > 0 {
- for _, msg := range m.Args {
- dAtA[i] = 0x2a
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(msg.Size()))
- n, err := msg.MarshalTo(dAtA[i:])
- if err != nil {
- return 0, err
- }
- i += n
- }
- }
- if len(m.Icon) > 0 {
- dAtA[i] = 0x32
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Icon)))
- i += copy(dAtA[i:], m.Icon)
- }
- if len(m.Url) > 0 {
- dAtA[i] = 0x3a
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Url)))
- i += copy(dAtA[i:], m.Url)
- }
- if len(m.CreateTime) > 0 {
- dAtA[i] = 0x42
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(len(m.CreateTime)))
- i += copy(dAtA[i:], m.CreateTime)
- }
- if len(m.UpdateTime) > 0 {
- dAtA[i] = 0x4a
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(len(m.UpdateTime)))
- i += copy(dAtA[i:], m.UpdateTime)
- }
- if len(m.CreateBy) > 0 {
- dAtA[i] = 0x52
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(len(m.CreateBy)))
- i += copy(dAtA[i:], m.CreateBy)
+ if m.DelFlag != 0 {
+ i = encodeVarintProtomsg(dAtA, i, uint64(m.DelFlag))
+ i--
+ dAtA[i] = 0x60
}
if m.Enable {
- dAtA[i] = 0x58
- i++
+ i--
if m.Enable {
dAtA[i] = 1
} else {
dAtA[i] = 0
}
- i++
+ i--
+ dAtA[i] = 0x58
}
- if m.DelFlag != 0 {
- dAtA[i] = 0x60
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(m.DelFlag))
+ if len(m.CreateBy) > 0 {
+ i -= len(m.CreateBy)
+ copy(dAtA[i:], m.CreateBy)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.CreateBy)))
+ i--
+ dAtA[i] = 0x52
}
- return i, nil
+ if len(m.UpdateTime) > 0 {
+ i -= len(m.UpdateTime)
+ copy(dAtA[i:], m.UpdateTime)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.UpdateTime)))
+ i--
+ dAtA[i] = 0x4a
+ }
+ if len(m.CreateTime) > 0 {
+ i -= len(m.CreateTime)
+ copy(dAtA[i:], m.CreateTime)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.CreateTime)))
+ i--
+ dAtA[i] = 0x42
+ }
+ if len(m.Url) > 0 {
+ i -= len(m.Url)
+ copy(dAtA[i:], m.Url)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Url)))
+ i--
+ dAtA[i] = 0x3a
+ }
+ if len(m.Icon) > 0 {
+ i -= len(m.Icon)
+ copy(dAtA[i:], m.Icon)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Icon)))
+ i--
+ dAtA[i] = 0x32
+ }
+ if len(m.Args) > 0 {
+ for iNdEx := len(m.Args) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.Args[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintProtomsg(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x2a
+ }
+ }
+ if len(m.SdkName) > 0 {
+ i -= len(m.SdkName)
+ copy(dAtA[i:], m.SdkName)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.SdkName)))
+ i--
+ dAtA[i] = 0x22
+ }
+ if len(m.SdkType) > 0 {
+ i -= len(m.SdkType)
+ copy(dAtA[i:], m.SdkType)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.SdkType)))
+ i--
+ dAtA[i] = 0x1a
+ }
+ if len(m.IpcId) > 0 {
+ i -= len(m.IpcId)
+ copy(dAtA[i:], m.IpcId)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.IpcId)))
+ i--
+ dAtA[i] = 0x12
+ }
+ if len(m.Id) > 0 {
+ i -= len(m.Id)
+ copy(dAtA[i:], m.Id)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Id)))
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
}
func (m *TaskSdkRule) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
@@ -4210,45 +4443,53 @@
}
func (m *TaskSdkRule) MarshalTo(dAtA []byte) (int, error) {
- var i int
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *TaskSdkRule) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
_ = i
var l int
_ = l
- if len(m.TaskId) > 0 {
- dAtA[i] = 0xa
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(len(m.TaskId)))
- i += copy(dAtA[i:], m.TaskId)
+ if len(m.SdkRules) > 0 {
+ for iNdEx := len(m.SdkRules) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.SdkRules[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintProtomsg(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x1a
+ }
}
if m.Enable {
- dAtA[i] = 0x10
- i++
+ i--
if m.Enable {
dAtA[i] = 1
} else {
dAtA[i] = 0
}
- i++
+ i--
+ dAtA[i] = 0x10
}
- 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
- }
+ if len(m.TaskId) > 0 {
+ i -= len(m.TaskId)
+ copy(dAtA[i:], m.TaskId)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.TaskId)))
+ i--
+ dAtA[i] = 0xa
}
- return i, nil
+ return len(dAtA) - i, nil
}
func (m *SdkRuleSet) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
@@ -4256,46 +4497,55 @@
}
func (m *SdkRuleSet) MarshalTo(dAtA []byte) (int, error) {
- var i int
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *SdkRuleSet) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
_ = 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 m.Sort != 0 {
+ i = encodeVarintProtomsg(dAtA, i, uint64(m.Sort))
+ i--
+ dAtA[i] = 0x20
}
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
+ for iNdEx := len(m.Rules) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.Rules[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintProtomsg(dAtA, i, uint64(size))
}
- i += n
+ i--
+ dAtA[i] = 0x1a
}
}
- if m.Sort != 0 {
- dAtA[i] = 0x20
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(m.Sort))
+ if len(m.IpcId) > 0 {
+ i -= len(m.IpcId)
+ copy(dAtA[i:], m.IpcId)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.IpcId)))
+ i--
+ dAtA[i] = 0x12
}
- return i, nil
+ if len(m.SdkId) > 0 {
+ i -= len(m.SdkId)
+ copy(dAtA[i:], m.SdkId)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.SdkId)))
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
}
func (m *SdkRule) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
@@ -4303,41 +4553,50 @@
}
func (m *SdkRule) MarshalTo(dAtA []byte) (int, error) {
- var i int
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *SdkRule) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
_ = 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.SdkArgValue) > 0 {
+ i -= len(m.SdkArgValue)
+ copy(dAtA[i:], m.SdkArgValue)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.SdkArgValue)))
+ i--
+ dAtA[i] = 0x22
}
if len(m.Operator) > 0 {
- dAtA[i] = 0x1a
- i++
+ i -= len(m.Operator)
+ copy(dAtA[i:], m.Operator)
i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Operator)))
- i += copy(dAtA[i:], m.Operator)
+ i--
+ dAtA[i] = 0x1a
}
- if len(m.SdkArgValue) > 0 {
- dAtA[i] = 0x22
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(len(m.SdkArgValue)))
- i += copy(dAtA[i:], m.SdkArgValue)
+ if len(m.SdkArgAlias) > 0 {
+ i -= len(m.SdkArgAlias)
+ copy(dAtA[i:], m.SdkArgAlias)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.SdkArgAlias)))
+ i--
+ dAtA[i] = 0x12
}
- return i, nil
+ if len(m.Id) > 0 {
+ i -= len(m.Id)
+ copy(dAtA[i:], m.Id)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Id)))
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
}
func (m *SdkArg) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
@@ -4345,74 +4604,121 @@
}
func (m *SdkArg) MarshalTo(dAtA []byte) (int, error) {
- var i int
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *SdkArg) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
_ = i
var l int
_ = l
- if len(m.Alias) > 0 {
- dAtA[i] = 0xa
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Alias)))
- i += copy(dAtA[i:], m.Alias)
+ if m.Sort != 0 {
+ i = encodeVarintProtomsg(dAtA, i, uint64(m.Sort))
+ i--
+ dAtA[i] = 0x48
}
- 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.DefaultOperator) > 0 {
+ i -= len(m.DefaultOperator)
+ copy(dAtA[i:], m.DefaultOperator)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.DefaultOperator)))
+ i--
+ dAtA[i] = 0x42
}
- if len(m.Type) > 0 {
- dAtA[i] = 0x1a
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Type)))
- i += copy(dAtA[i:], m.Type)
+ if len(m.DefaultValue) > 0 {
+ i -= len(m.DefaultValue)
+ copy(dAtA[i:], m.DefaultValue)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.DefaultValue)))
+ i--
+ dAtA[i] = 0x3a
+ }
+ if len(m.Range) > 0 {
+ i -= len(m.Range)
+ copy(dAtA[i:], m.Range)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Range)))
+ i--
+ dAtA[i] = 0x32
+ }
+ if len(m.Unit) > 0 {
+ i -= len(m.Unit)
+ copy(dAtA[i:], m.Unit)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Unit)))
+ i--
+ dAtA[i] = 0x2a
}
if m.Must {
- dAtA[i] = 0x20
- i++
+ i--
if m.Must {
dAtA[i] = 1
} else {
dAtA[i] = 0
}
- i++
+ i--
+ dAtA[i] = 0x20
}
- if len(m.Unit) > 0 {
- dAtA[i] = 0x2a
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Unit)))
- i += copy(dAtA[i:], m.Unit)
+ if len(m.Type) > 0 {
+ i -= len(m.Type)
+ copy(dAtA[i:], m.Type)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Type)))
+ i--
+ dAtA[i] = 0x1a
}
- if len(m.Range) > 0 {
- dAtA[i] = 0x32
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Range)))
- i += copy(dAtA[i:], m.Range)
+ if len(m.Name) > 0 {
+ i -= len(m.Name)
+ copy(dAtA[i:], m.Name)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Name)))
+ i--
+ dAtA[i] = 0x12
}
- 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.Alias) > 0 {
+ i -= len(m.Alias)
+ copy(dAtA[i:], m.Alias)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Alias)))
+ i--
+ dAtA[i] = 0xa
}
- if len(m.DefaultOperator) > 0 {
- dAtA[i] = 0x42
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(len(m.DefaultOperator)))
- i += copy(dAtA[i:], m.DefaultOperator)
+ return len(dAtA) - i, nil
+}
+
+func (m *SdkChanSet) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
}
- if m.Sort != 0 {
- dAtA[i] = 0x48
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(m.Sort))
+ return dAtA[:n], nil
+}
+
+func (m *SdkChanSet) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *SdkChanSet) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if m.ChanNum != 0 {
+ i = encodeVarintProtomsg(dAtA, i, uint64(m.ChanNum))
+ i--
+ dAtA[i] = 0x10
}
- return i, nil
+ if len(m.SdkType) > 0 {
+ i -= len(m.SdkType)
+ copy(dAtA[i:], m.SdkType)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.SdkType)))
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
}
func (m *DbChangeMessage) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
@@ -4420,39 +4726,46 @@
}
func (m *DbChangeMessage) MarshalTo(dAtA []byte) (int, error) {
- var i int
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *DbChangeMessage) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
_ = i
var l int
_ = l
- if m.Table != 0 {
- dAtA[i] = 0x8
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(m.Table))
- }
- if len(m.Id) > 0 {
- dAtA[i] = 0x12
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Id)))
- i += copy(dAtA[i:], m.Id)
+ if len(m.Info) > 0 {
+ i -= len(m.Info)
+ copy(dAtA[i:], m.Info)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Info)))
+ i--
+ dAtA[i] = 0x22
}
if m.Action != 0 {
- dAtA[i] = 0x18
- i++
i = encodeVarintProtomsg(dAtA, i, uint64(m.Action))
+ i--
+ dAtA[i] = 0x18
}
- if len(m.Info) > 0 {
- dAtA[i] = 0x22
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Info)))
- i += copy(dAtA[i:], m.Info)
+ if len(m.Id) > 0 {
+ i -= len(m.Id)
+ copy(dAtA[i:], m.Id)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Id)))
+ i--
+ dAtA[i] = 0x12
}
- return i, nil
+ if m.Table != 0 {
+ i = encodeVarintProtomsg(dAtA, i, uint64(m.Table))
+ i--
+ dAtA[i] = 0x8
+ }
+ return len(dAtA) - i, nil
}
func (m *CameraPolygon) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
@@ -4460,64 +4773,76 @@
}
func (m *CameraPolygon) MarshalTo(dAtA []byte) (int, error) {
- var i int
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *CameraPolygon) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
_ = i
var l int
_ = l
- if len(m.Id) > 0 {
- dAtA[i] = 0xa
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Id)))
- i += copy(dAtA[i:], m.Id)
- }
- if len(m.CameraId) > 0 {
- dAtA[i] = 0x12
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(len(m.CameraId)))
- i += copy(dAtA[i:], m.CameraId)
- }
- if len(m.Name) > 0 {
- dAtA[i] = 0x1a
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Name)))
- i += copy(dAtA[i:], m.Name)
- }
- if len(m.Polygon) > 0 {
- dAtA[i] = 0x22
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Polygon)))
- i += copy(dAtA[i:], m.Polygon)
- }
- if len(m.TriggerLine) > 0 {
- dAtA[i] = 0x2a
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(len(m.TriggerLine)))
- i += copy(dAtA[i:], m.TriggerLine)
- }
- if len(m.DirectionLine) > 0 {
- dAtA[i] = 0x32
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(len(m.DirectionLine)))
- i += copy(dAtA[i:], m.DirectionLine)
+ if m.DefenceState != 0 {
+ i = encodeVarintProtomsg(dAtA, i, uint64(m.DefenceState))
+ i--
+ dAtA[i] = 0x40
}
if len(m.Type) > 0 {
- dAtA[i] = 0x3a
- i++
+ i -= len(m.Type)
+ copy(dAtA[i:], m.Type)
i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Type)))
- i += copy(dAtA[i:], m.Type)
+ i--
+ dAtA[i] = 0x3a
}
- if m.DefenceState != 0 {
- dAtA[i] = 0x40
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(m.DefenceState))
+ if len(m.DirectionLine) > 0 {
+ i -= len(m.DirectionLine)
+ copy(dAtA[i:], m.DirectionLine)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.DirectionLine)))
+ i--
+ dAtA[i] = 0x32
}
- return i, nil
+ if len(m.TriggerLine) > 0 {
+ i -= len(m.TriggerLine)
+ copy(dAtA[i:], m.TriggerLine)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.TriggerLine)))
+ i--
+ dAtA[i] = 0x2a
+ }
+ if len(m.Polygon) > 0 {
+ i -= len(m.Polygon)
+ copy(dAtA[i:], m.Polygon)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Polygon)))
+ i--
+ dAtA[i] = 0x22
+ }
+ if len(m.Name) > 0 {
+ i -= len(m.Name)
+ copy(dAtA[i:], m.Name)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Name)))
+ i--
+ dAtA[i] = 0x1a
+ }
+ if len(m.CameraId) > 0 {
+ i -= len(m.CameraId)
+ copy(dAtA[i:], m.CameraId)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.CameraId)))
+ i--
+ dAtA[i] = 0x12
+ }
+ if len(m.Id) > 0 {
+ i -= len(m.Id)
+ copy(dAtA[i:], m.Id)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Id)))
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
}
func (m *VideotapeInfo) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
@@ -4525,66 +4850,69 @@
}
func (m *VideotapeInfo) MarshalTo(dAtA []byte) (int, error) {
- var i int
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *VideotapeInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
_ = 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 m.Type != 0 {
+ i = encodeVarintProtomsg(dAtA, i, uint64(m.Type))
+ i--
+ dAtA[i] = 0x38
}
if len(m.SdkIds) > 0 {
- for _, s := range m.SdkIds {
+ for iNdEx := len(m.SdkIds) - 1; iNdEx >= 0; iNdEx-- {
+ i -= len(m.SdkIds[iNdEx])
+ copy(dAtA[i:], m.SdkIds[iNdEx])
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.SdkIds[iNdEx])))
+ i--
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))
+ if len(m.VideoUrl) > 0 {
+ i -= len(m.VideoUrl)
+ copy(dAtA[i:], m.VideoUrl)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.VideoUrl)))
+ i--
+ dAtA[i] = 0x2a
}
- return i, nil
+ if m.ImgId != 0 {
+ i = encodeVarintProtomsg(dAtA, i, uint64(m.ImgId))
+ i--
+ dAtA[i] = 0x20
+ }
+ if len(m.TaskId) > 0 {
+ i -= len(m.TaskId)
+ copy(dAtA[i:], m.TaskId)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.TaskId)))
+ i--
+ dAtA[i] = 0x1a
+ }
+ if len(m.CameraId) > 0 {
+ i -= len(m.CameraId)
+ copy(dAtA[i:], m.CameraId)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.CameraId)))
+ i--
+ dAtA[i] = 0x12
+ }
+ if len(m.EsDataId) > 0 {
+ i -= len(m.EsDataId)
+ copy(dAtA[i:], m.EsDataId)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.EsDataId)))
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
}
func (m *CompareArgs) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
@@ -4592,138 +4920,118 @@
}
func (m *CompareArgs) MarshalTo(dAtA []byte) (int, error) {
- var i int
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *CompareArgs) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
_ = 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 len(m.AnalyServerId) > 0 {
+ i -= len(m.AnalyServerId)
+ copy(dAtA[i:], m.AnalyServerId)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.AnalyServerId)))
+ i--
+ dAtA[i] = 0x62
}
if m.Source {
- dAtA[i] = 0x58
- i++
+ i--
if m.Source {
dAtA[i] = 1
} else {
dAtA[i] = 0
}
- i++
+ i--
+ dAtA[i] = 0x58
}
- if len(m.AnalyServerId) > 0 {
- dAtA[i] = 0x62
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(len(m.AnalyServerId)))
- i += copy(dAtA[i:], m.AnalyServerId)
+ if len(m.Collection) > 0 {
+ i -= len(m.Collection)
+ copy(dAtA[i:], m.Collection)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Collection)))
+ i--
+ dAtA[i] = 0x52
}
- return i, nil
+ if len(m.InputValue) > 0 {
+ i -= len(m.InputValue)
+ copy(dAtA[i:], m.InputValue)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.InputValue)))
+ i--
+ dAtA[i] = 0x4a
+ }
+ if len(m.SearchTime) > 0 {
+ for iNdEx := len(m.SearchTime) - 1; iNdEx >= 0; iNdEx-- {
+ i -= len(m.SearchTime[iNdEx])
+ copy(dAtA[i:], m.SearchTime[iNdEx])
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.SearchTime[iNdEx])))
+ i--
+ dAtA[i] = 0x42
+ }
+ }
+ if len(m.AlarmLevel) > 0 {
+ i -= len(m.AlarmLevel)
+ copy(dAtA[i:], m.AlarmLevel)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.AlarmLevel)))
+ i--
+ dAtA[i] = 0x3a
+ }
+ if len(m.Tabs) > 0 {
+ for iNdEx := len(m.Tabs) - 1; iNdEx >= 0; iNdEx-- {
+ i -= len(m.Tabs[iNdEx])
+ copy(dAtA[i:], m.Tabs[iNdEx])
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Tabs[iNdEx])))
+ i--
+ dAtA[i] = 0x32
+ }
+ }
+ if len(m.TreeNodes) > 0 {
+ for iNdEx := len(m.TreeNodes) - 1; iNdEx >= 0; iNdEx-- {
+ i -= len(m.TreeNodes[iNdEx])
+ copy(dAtA[i:], m.TreeNodes[iNdEx])
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.TreeNodes[iNdEx])))
+ i--
+ dAtA[i] = 0x2a
+ }
+ }
+ if len(m.Tasks) > 0 {
+ for iNdEx := len(m.Tasks) - 1; iNdEx >= 0; iNdEx-- {
+ i -= len(m.Tasks[iNdEx])
+ copy(dAtA[i:], m.Tasks[iNdEx])
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Tasks[iNdEx])))
+ i--
+ dAtA[i] = 0x22
+ }
+ }
+ if len(m.FaceFeature) > 0 {
+ i -= len(m.FaceFeature)
+ copy(dAtA[i:], m.FaceFeature)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.FaceFeature)))
+ i--
+ dAtA[i] = 0x1a
+ }
+ if m.CompareThreshold != 0 {
+ i -= 4
+ encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.CompareThreshold))))
+ i--
+ dAtA[i] = 0x15
+ }
+ if len(m.TableIds) > 0 {
+ for iNdEx := len(m.TableIds) - 1; iNdEx >= 0; iNdEx-- {
+ i -= len(m.TableIds[iNdEx])
+ copy(dAtA[i:], m.TableIds[iNdEx])
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.TableIds[iNdEx])))
+ i--
+ dAtA[i] = 0xa
+ }
+ }
+ return len(dAtA) - i, nil
}
func (m *CompareEvent) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
@@ -4731,28 +5039,34 @@
}
func (m *CompareEvent) MarshalTo(dAtA []byte) (int, error) {
- var i int
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *CompareEvent) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
_ = 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 -= len(m.Payload)
+ copy(dAtA[i:], m.Payload)
i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Payload)))
- i += copy(dAtA[i:], m.Payload)
+ i--
+ dAtA[i] = 0x12
}
- return i, nil
+ if m.EventType != 0 {
+ i = encodeVarintProtomsg(dAtA, i, uint64(m.EventType))
+ i--
+ dAtA[i] = 0x8
+ }
+ return len(dAtA) - i, nil
}
func (m *SdkCompareEach) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
@@ -4760,35 +5074,42 @@
}
func (m *SdkCompareEach) MarshalTo(dAtA []byte) (int, error) {
- var i int
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *SdkCompareEach) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
_ = 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 m.CompareScore != 0 {
+ i -= 4
+ encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.CompareScore))))
+ i--
+ dAtA[i] = 0x1d
}
if len(m.Tableid) > 0 {
- dAtA[i] = 0x12
- i++
+ i -= len(m.Tableid)
+ copy(dAtA[i:], m.Tableid)
i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Tableid)))
- i += copy(dAtA[i:], m.Tableid)
+ i--
+ dAtA[i] = 0x12
}
- if m.CompareScore != 0 {
- dAtA[i] = 0x1d
- i++
- encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.CompareScore))))
- i += 4
+ if len(m.Id) > 0 {
+ i -= len(m.Id)
+ copy(dAtA[i:], m.Id)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Id)))
+ i--
+ dAtA[i] = 0xa
}
- return i, nil
+ return len(dAtA) - i, nil
}
func (m *SdkCompareResult) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
@@ -4796,29 +5117,36 @@
}
func (m *SdkCompareResult) MarshalTo(dAtA []byte) (int, error) {
- var i int
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *SdkCompareResult) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
_ = 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
+ for iNdEx := len(m.CompareResult) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.CompareResult[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintProtomsg(dAtA, i, uint64(size))
}
- i += n
+ i--
+ dAtA[i] = 0xa
}
}
- return i, nil
+ return len(dAtA) - i, nil
}
func (m *EventPush) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
@@ -4826,115 +5154,133 @@
}
func (m *EventPush) MarshalTo(dAtA []byte) (int, error) {
- var i int
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *EventPush) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
_ = 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
+ if len(m.Rules) > 0 {
+ for iNdEx := len(m.Rules) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.Rules[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintProtomsg(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x62
}
- 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 len(m.Urls) > 0 {
+ for iNdEx := len(m.Urls) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.Urls[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintProtomsg(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x5a
+ }
+ }
+ if len(m.IpPorts) > 0 {
+ for iNdEx := len(m.IpPorts) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.IpPorts[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintProtomsg(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x52
+ }
+ }
+ if len(m.LinkDevice) > 0 {
+ i -= len(m.LinkDevice)
+ copy(dAtA[i:], m.LinkDevice)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.LinkDevice)))
+ i--
+ dAtA[i] = 0x4a
+ }
+ if len(m.LinkType) > 0 {
+ i -= len(m.LinkType)
+ copy(dAtA[i:], m.LinkType)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.LinkType)))
+ i--
+ dAtA[i] = 0x42
}
if m.Enable {
- dAtA[i] = 0x38
- i++
+ i--
if m.Enable {
dAtA[i] = 1
} else {
dAtA[i] = 0
}
- i++
+ i--
+ dAtA[i] = 0x38
}
- 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.RuleText) > 0 {
+ i -= len(m.RuleText)
+ copy(dAtA[i:], m.RuleText)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.RuleText)))
+ i--
+ dAtA[i] = 0x32
}
- 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 m.IsSatisfyAll {
+ i--
+ if m.IsSatisfyAll {
+ dAtA[i] = 1
+ } else {
+ dAtA[i] = 0
}
+ i--
+ dAtA[i] = 0x28
}
- 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.TimeEnd) > 0 {
+ i -= len(m.TimeEnd)
+ copy(dAtA[i:], m.TimeEnd)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.TimeEnd)))
+ i--
+ dAtA[i] = 0x22
}
- 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
- }
+ if len(m.TimeStart) > 0 {
+ i -= len(m.TimeStart)
+ copy(dAtA[i:], m.TimeStart)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.TimeStart)))
+ i--
+ dAtA[i] = 0x1a
}
- return i, nil
+ if len(m.Name) > 0 {
+ i -= len(m.Name)
+ copy(dAtA[i:], m.Name)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Name)))
+ i--
+ dAtA[i] = 0x12
+ }
+ if len(m.Id) > 0 {
+ i -= len(m.Id)
+ copy(dAtA[i:], m.Id)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Id)))
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
}
func (m *EventPushRule) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
@@ -4942,59 +5288,71 @@
}
func (m *EventPushRule) MarshalTo(dAtA []byte) (int, error) {
- var i int
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *EventPushRule) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
_ = 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.EventPushId) > 0 {
+ i -= len(m.EventPushId)
+ copy(dAtA[i:], m.EventPushId)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.EventPushId)))
+ i--
+ dAtA[i] = 0x3a
}
if len(m.RuleValue) > 0 {
- dAtA[i] = 0x32
- i++
+ i -= len(m.RuleValue)
+ copy(dAtA[i:], m.RuleValue)
i = encodeVarintProtomsg(dAtA, i, uint64(len(m.RuleValue)))
- i += copy(dAtA[i:], m.RuleValue)
+ i--
+ dAtA[i] = 0x32
}
- if len(m.EventPushId) > 0 {
- dAtA[i] = 0x3a
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(len(m.EventPushId)))
- i += copy(dAtA[i:], m.EventPushId)
+ if len(m.OperatorType) > 0 {
+ i -= len(m.OperatorType)
+ copy(dAtA[i:], m.OperatorType)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.OperatorType)))
+ i--
+ dAtA[i] = 0x2a
}
- return i, nil
+ if len(m.Operator) > 0 {
+ i -= len(m.Operator)
+ copy(dAtA[i:], m.Operator)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Operator)))
+ i--
+ dAtA[i] = 0x22
+ }
+ if len(m.TopicArg) > 0 {
+ i -= len(m.TopicArg)
+ copy(dAtA[i:], m.TopicArg)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.TopicArg)))
+ i--
+ dAtA[i] = 0x1a
+ }
+ if len(m.TopicType) > 0 {
+ i -= len(m.TopicType)
+ copy(dAtA[i:], m.TopicType)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.TopicType)))
+ i--
+ dAtA[i] = 0x12
+ }
+ if len(m.Id) > 0 {
+ i -= len(m.Id)
+ copy(dAtA[i:], m.Id)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Id)))
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
}
func (m *PushIpPort) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
@@ -5002,38 +5360,44 @@
}
func (m *PushIpPort) MarshalTo(dAtA []byte) (int, error) {
- var i int
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *PushIpPort) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
_ = 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++
+ i--
if m.Enable {
dAtA[i] = 1
} else {
dAtA[i] = 0
}
- i++
+ i--
+ dAtA[i] = 0x18
}
- return i, nil
+ if m.Port != 0 {
+ i = encodeVarintProtomsg(dAtA, i, uint64(m.Port))
+ i--
+ dAtA[i] = 0x10
+ }
+ if len(m.ServerIp) > 0 {
+ i -= len(m.ServerIp)
+ copy(dAtA[i:], m.ServerIp)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.ServerIp)))
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
}
func (m *PushUrl) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
@@ -5041,33 +5405,39 @@
}
func (m *PushUrl) MarshalTo(dAtA []byte) (int, error) {
- var i int
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *PushUrl) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
_ = 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++
+ i--
if m.Enable {
dAtA[i] = 1
} else {
dAtA[i] = 0
}
- i++
+ i--
+ dAtA[i] = 0x10
}
- return i, nil
+ if len(m.Url) > 0 {
+ i -= len(m.Url)
+ copy(dAtA[i:], m.Url)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Url)))
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
}
func (m *PushAttach) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
@@ -5075,57 +5445,69 @@
}
func (m *PushAttach) MarshalTo(dAtA []byte) (int, error) {
- var i int
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *PushAttach) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
_ = 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.VideoUrl) > 0 {
+ i -= len(m.VideoUrl)
+ copy(dAtA[i:], m.VideoUrl)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.VideoUrl)))
+ i--
+ dAtA[i] = 0x32
}
if len(m.LocalIp) > 0 {
- dAtA[i] = 0x2a
- i++
+ i -= len(m.LocalIp)
+ copy(dAtA[i:], m.LocalIp)
i = encodeVarintProtomsg(dAtA, i, uint64(len(m.LocalIp)))
- i += copy(dAtA[i:], m.LocalIp)
+ i--
+ dAtA[i] = 0x2a
}
- if len(m.VideoUrl) > 0 {
- dAtA[i] = 0x32
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(len(m.VideoUrl)))
- i += copy(dAtA[i:], m.VideoUrl)
+ if len(m.ServerName) > 0 {
+ i -= len(m.ServerName)
+ copy(dAtA[i:], m.ServerName)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.ServerName)))
+ i--
+ dAtA[i] = 0x22
}
- return i, nil
+ if len(m.ServerId) > 0 {
+ i -= len(m.ServerId)
+ copy(dAtA[i:], m.ServerId)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.ServerId)))
+ i--
+ dAtA[i] = 0x1a
+ }
+ if m.Cam != nil {
+ {
+ size, err := m.Cam.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintProtomsg(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x12
+ }
+ if len(m.PushId) > 0 {
+ i -= len(m.PushId)
+ copy(dAtA[i:], m.PushId)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.PushId)))
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
}
func (m *EsPersonCacheChange) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
@@ -5133,63 +5515,66 @@
}
func (m *EsPersonCacheChange) MarshalTo(dAtA []byte) (int, error) {
- var i int
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *EsPersonCacheChange) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
_ = 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.Enable != 0 {
+ i = encodeVarintProtomsg(dAtA, i, uint64(m.Enable))
+ i--
+ dAtA[i] = 0x30
}
if m.Action != 0 {
- dAtA[i] = 0x28
- i++
i = encodeVarintProtomsg(dAtA, i, uint64(m.Action))
+ i--
+ dAtA[i] = 0x28
}
- if m.Enable != 0 {
- dAtA[i] = 0x30
- i++
- i = encodeVarintProtomsg(dAtA, i, uint64(m.Enable))
+ if len(m.Feature) > 0 {
+ i -= len(m.Feature)
+ copy(dAtA[i:], m.Feature)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Feature)))
+ i--
+ dAtA[i] = 0x22
}
- return i, nil
+ if len(m.PersonId) > 0 {
+ i -= len(m.PersonId)
+ copy(dAtA[i:], m.PersonId)
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.PersonId)))
+ i--
+ dAtA[i] = 0x1a
+ }
+ if len(m.TableId) > 0 {
+ for iNdEx := len(m.TableId) - 1; iNdEx >= 0; iNdEx-- {
+ i -= len(m.TableId[iNdEx])
+ copy(dAtA[i:], m.TableId[iNdEx])
+ i = encodeVarintProtomsg(dAtA, i, uint64(len(m.TableId[iNdEx])))
+ i--
+ dAtA[i] = 0x12
+ }
+ }
+ if m.Type != 0 {
+ i = encodeVarintProtomsg(dAtA, i, uint64(m.Type))
+ i--
+ dAtA[i] = 0x8
+ }
+ return len(dAtA) - i, nil
}
func encodeVarintProtomsg(dAtA []byte, offset int, v uint64) int {
+ offset -= sovProtomsg(v)
+ base := offset
for v >= 1<<7 {
dAtA[offset] = uint8(v&0x7f | 0x80)
v >>= 7
offset++
}
dAtA[offset] = uint8(v)
- return offset + 1
+ return base
}
func (m *Area) Size() (n int) {
if m == nil {
@@ -5850,6 +6235,22 @@
}
if m.Sort != 0 {
n += 1 + sovProtomsg(uint64(m.Sort))
+ }
+ return n
+}
+
+func (m *SdkChanSet) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.SdkType)
+ if l > 0 {
+ n += 1 + l + sovProtomsg(uint64(l))
+ }
+ if m.ChanNum != 0 {
+ n += 1 + sovProtomsg(uint64(m.ChanNum))
}
return n
}
@@ -10871,6 +11272,110 @@
}
return nil
}
+func (m *SdkChanSet) 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: SdkChanSet: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: SdkChanSet: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field SdkType", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProtomsg
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProtomsg
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProtomsg
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.SdkType = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 2:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field ChanNum", wireType)
+ }
+ m.ChanNum = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProtomsg
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.ChanNum |= 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 *DbChangeMessage) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -13683,6 +14188,7 @@
func skipProtomsg(dAtA []byte) (n int, err error) {
l := len(dAtA)
iNdEx := 0
+ depth := 0
for iNdEx < l {
var wire uint64
for shift := uint(0); ; shift += 7 {
@@ -13714,10 +14220,8 @@
break
}
}
- return iNdEx, nil
case 1:
iNdEx += 8
- return iNdEx, nil
case 2:
var length int
for shift := uint(0); ; shift += 7 {
@@ -13738,55 +14242,30 @@
return 0, ErrInvalidLengthProtomsg
}
iNdEx += length
- if iNdEx < 0 {
- return 0, ErrInvalidLengthProtomsg
- }
- return iNdEx, nil
case 3:
- for {
- var innerWire uint64
- var start int = iNdEx
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return 0, ErrIntOverflowProtomsg
- }
- if iNdEx >= l {
- return 0, io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- innerWire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- innerWireType := int(innerWire & 0x7)
- if innerWireType == 4 {
- break
- }
- next, err := skipProtomsg(dAtA[start:])
- if err != nil {
- return 0, err
- }
- iNdEx = start + next
- if iNdEx < 0 {
- return 0, ErrInvalidLengthProtomsg
- }
- }
- return iNdEx, nil
+ depth++
case 4:
- return iNdEx, nil
+ if depth == 0 {
+ return 0, ErrUnexpectedEndOfGroupProtomsg
+ }
+ depth--
case 5:
iNdEx += 4
- return iNdEx, nil
default:
return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
}
+ if iNdEx < 0 {
+ return 0, ErrInvalidLengthProtomsg
+ }
+ if depth == 0 {
+ return iNdEx, nil
+ }
}
- panic("unreachable")
+ return 0, io.ErrUnexpectedEOF
}
var (
- ErrInvalidLengthProtomsg = fmt.Errorf("proto: negative length found during unmarshaling")
- ErrIntOverflowProtomsg = fmt.Errorf("proto: integer overflow")
+ ErrInvalidLengthProtomsg = fmt.Errorf("proto: negative length found during unmarshaling")
+ ErrIntOverflowProtomsg = fmt.Errorf("proto: integer overflow")
+ ErrUnexpectedEndOfGroupProtomsg = fmt.Errorf("proto: unexpected end of group")
)
diff --git a/protomsg.proto b/protomsg.proto
index 9e4359e..16410fa 100644
--- a/protomsg.proto
+++ b/protomsg.proto
@@ -203,6 +203,11 @@
int32 sort = 9;//鍙傛暟鎺掑簭
}
+message SdkChanSet {
+ string sdk_type = 1;
+ int32 chan_num = 2;
+}
+
//TableChanged enum
enum TableChanged {
T_Camera = 0;//鎽勫儚鏈哄彉鍖�
@@ -218,6 +223,7 @@
T_PollConfig = 10;//杞閰嶇疆鍙樺寲
T_File = 11;//鏈湴鏂囦欢鍙樺寲
T_FileSetting = 12;//鏈湴鏂囦欢鍒嗘瀽璁剧疆
+ T_SdkChanSet = 13;//绠楁硶閫氶亾璁剧疆鍙樺寲
}
enum DbAction {
--
Gitblit v1.8.0