From 950d89112665bead13fa79ae7e37b8addc188ca8 Mon Sep 17 00:00:00 2001
From: liuxiaolong <liuxiaolong@aiotlink.com>
Date: 星期二, 13 十月 2020 10:47:43 +0800
Subject: [PATCH] isTriggerByPreSdk set 0:非触发,1:必要触发,2:非必要触发
---
commsg.pb.go | 127 +++++++++++++++++++++++++++++++++---------
1 files changed, 99 insertions(+), 28 deletions(-)
diff --git a/commsg.pb.go b/commsg.pb.go
index 7ec58cb..5e386e6 100644
--- a/commsg.pb.go
+++ b/commsg.pb.go
@@ -1,11 +1,11 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
+// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: commsg.proto
package protomsg
import (
fmt "fmt"
- proto "github.com/golang/protobuf/proto"
+ proto "github.com/gogo/protobuf/proto"
math "math"
)
@@ -18,7 +18,7 @@
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
-const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
+const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
type SdkmsgWithTask struct {
Ipcid string `protobuf:"bytes,1,opt,name=ipcid,proto3" json:"ipcid,omitempty"`
@@ -35,7 +35,6 @@
func (*SdkmsgWithTask) Descriptor() ([]byte, []int) {
return fileDescriptor_968fba5e415d8aac, []int{0}
}
-
func (m *SdkmsgWithTask) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SdkmsgWithTask.Unmarshal(m, b)
}
@@ -91,7 +90,6 @@
func (*TaskLabel) Descriptor() ([]byte, []int) {
return fileDescriptor_968fba5e415d8aac, []int{1}
}
-
func (m *TaskLabel) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_TaskLabel.Unmarshal(m, b)
}
@@ -155,7 +153,6 @@
func (*SdkMessage) Descriptor() ([]byte, []int) {
return fileDescriptor_968fba5e415d8aac, []int{2}
}
-
func (m *SdkMessage) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SdkMessage.Unmarshal(m, b)
}
@@ -224,7 +221,6 @@
func (*Recvmsg) Descriptor() ([]byte, []int) {
return fileDescriptor_968fba5e415d8aac, []int{3}
}
-
func (m *Recvmsg) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Recvmsg.Unmarshal(m, b)
}
@@ -264,35 +260,110 @@
return nil
}
+type RuleMessage struct {
+ Taskid string `protobuf:"bytes,1,opt,name=taskid,proto3" json:"taskid,omitempty"`
+ Taskname string `protobuf:"bytes,2,opt,name=taskname,proto3" json:"taskname,omitempty"`
+ Msgtype string `protobuf:"bytes,3,opt,name=msgtype,proto3" json:"msgtype,omitempty"`
+ Sdkmsg *SdkMessage `protobuf:"bytes,4,opt,name=sdkmsg,proto3" json:"sdkmsg,omitempty"`
+ Alarmmsg *AlarmMessage `protobuf:"bytes,5,opt,name=alarmmsg,proto3" json:"alarmmsg,omitempty"`
+ XXX_NoUnkeyedLiteral struct{} `json:"-"`
+ XXX_unrecognized []byte `json:"-"`
+ XXX_sizecache int32 `json:"-"`
+}
+
+func (m *RuleMessage) Reset() { *m = RuleMessage{} }
+func (m *RuleMessage) String() string { return proto.CompactTextString(m) }
+func (*RuleMessage) ProtoMessage() {}
+func (*RuleMessage) Descriptor() ([]byte, []int) {
+ return fileDescriptor_968fba5e415d8aac, []int{4}
+}
+func (m *RuleMessage) XXX_Unmarshal(b []byte) error {
+ return xxx_messageInfo_RuleMessage.Unmarshal(m, b)
+}
+func (m *RuleMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ return xxx_messageInfo_RuleMessage.Marshal(b, m, deterministic)
+}
+func (m *RuleMessage) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_RuleMessage.Merge(m, src)
+}
+func (m *RuleMessage) XXX_Size() int {
+ return xxx_messageInfo_RuleMessage.Size(m)
+}
+func (m *RuleMessage) XXX_DiscardUnknown() {
+ xxx_messageInfo_RuleMessage.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_RuleMessage proto.InternalMessageInfo
+
+func (m *RuleMessage) GetTaskid() string {
+ if m != nil {
+ return m.Taskid
+ }
+ return ""
+}
+
+func (m *RuleMessage) GetTaskname() string {
+ if m != nil {
+ return m.Taskname
+ }
+ return ""
+}
+
+func (m *RuleMessage) GetMsgtype() string {
+ if m != nil {
+ return m.Msgtype
+ }
+ return ""
+}
+
+func (m *RuleMessage) GetSdkmsg() *SdkMessage {
+ if m != nil {
+ return m.Sdkmsg
+ }
+ return nil
+}
+
+func (m *RuleMessage) GetAlarmmsg() *AlarmMessage {
+ if m != nil {
+ return m.Alarmmsg
+ }
+ return nil
+}
+
func init() {
proto.RegisterType((*SdkmsgWithTask)(nil), "protomsg.SdkmsgWithTask")
proto.RegisterType((*TaskLabel)(nil), "protomsg.TaskLabel")
proto.RegisterType((*SdkMessage)(nil), "protomsg.SdkMessage")
proto.RegisterType((*Recvmsg)(nil), "protomsg.recvmsg")
+ proto.RegisterType((*RuleMessage)(nil), "protomsg.RuleMessage")
}
func init() { proto.RegisterFile("commsg.proto", fileDescriptor_968fba5e415d8aac) }
var fileDescriptor_968fba5e415d8aac = []byte{
- // 313 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x90, 0x4d, 0x4e, 0xc3, 0x30,
- 0x10, 0x85, 0x95, 0xa6, 0xbf, 0xd3, 0xaa, 0x42, 0x43, 0x85, 0xac, 0xae, 0xa2, 0xac, 0xb2, 0xa1,
- 0x8b, 0xc2, 0x05, 0x58, 0xb1, 0x01, 0x09, 0xa5, 0x48, 0x48, 0xec, 0xdc, 0x38, 0x24, 0x96, 0xeb,
- 0x26, 0xea, 0xb8, 0x08, 0xce, 0xc0, 0x29, 0xb8, 0x29, 0xb2, 0x93, 0x38, 0x65, 0x95, 0xf7, 0xc5,
- 0xf3, 0xf3, 0xde, 0xc0, 0x22, 0xab, 0xb4, 0xa6, 0x62, 0x53, 0x9f, 0x2a, 0x53, 0xe1, 0xd4,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