liuxiaolong
2020-11-09 a3f0412bb804eab01554c9f8192d29de2c26acbc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: commsg.proto
 
package protomsg
 
import (
    fmt "fmt"
    proto "github.com/gogo/protobuf/proto"
    math "math"
)
 
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
 
// This is a compile-time assertion to ensure that this generated file
// 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
 
type SdkmsgWithTask struct {
    Ipcid                string   `protobuf:"bytes,1,opt,name=ipcid,proto3" json:"ipcid,omitempty"`
    Sdktype              string   `protobuf:"bytes,2,opt,name=sdktype,proto3" json:"sdktype,omitempty"`
    Sdkdata              []byte   `protobuf:"bytes,4,opt,name=sdkdata,proto3" json:"sdkdata,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}
 
func (m *SdkmsgWithTask) Reset()         { *m = SdkmsgWithTask{} }
func (m *SdkmsgWithTask) String() string { return proto.CompactTextString(m) }
func (*SdkmsgWithTask) ProtoMessage()    {}
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)
}
func (m *SdkmsgWithTask) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    return xxx_messageInfo_SdkmsgWithTask.Marshal(b, m, deterministic)
}
func (m *SdkmsgWithTask) XXX_Merge(src proto.Message) {
    xxx_messageInfo_SdkmsgWithTask.Merge(m, src)
}
func (m *SdkmsgWithTask) XXX_Size() int {
    return xxx_messageInfo_SdkmsgWithTask.Size(m)
}
func (m *SdkmsgWithTask) XXX_DiscardUnknown() {
    xxx_messageInfo_SdkmsgWithTask.DiscardUnknown(m)
}
 
var xxx_messageInfo_SdkmsgWithTask proto.InternalMessageInfo
 
func (m *SdkmsgWithTask) GetIpcid() string {
    if m != nil {
        return m.Ipcid
    }
    return ""
}
 
func (m *SdkmsgWithTask) GetSdktype() string {
    if m != nil {
        return m.Sdktype
    }
    return ""
}
 
func (m *SdkmsgWithTask) GetSdkdata() []byte {
    if m != nil {
        return m.Sdkdata
    }
    return nil
}
 
type TaskLabel 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"`
    Sdkinfos             []*SdkmsgWithTask `protobuf:"bytes,3,rep,name=sdkinfos,proto3" json:"sdkinfos,omitempty"`
    Index                int32             `protobuf:"varint,4,opt,name=index,proto3" json:"index,omitempty"`
    XXX_NoUnkeyedLiteral struct{}          `json:"-"`
    XXX_unrecognized     []byte            `json:"-"`
    XXX_sizecache        int32             `json:"-"`
}
 
func (m *TaskLabel) Reset()         { *m = TaskLabel{} }
func (m *TaskLabel) String() string { return proto.CompactTextString(m) }
func (*TaskLabel) ProtoMessage()    {}
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)
}
func (m *TaskLabel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    return xxx_messageInfo_TaskLabel.Marshal(b, m, deterministic)
}
func (m *TaskLabel) XXX_Merge(src proto.Message) {
    xxx_messageInfo_TaskLabel.Merge(m, src)
}
func (m *TaskLabel) XXX_Size() int {
    return xxx_messageInfo_TaskLabel.Size(m)
}
func (m *TaskLabel) XXX_DiscardUnknown() {
    xxx_messageInfo_TaskLabel.DiscardUnknown(m)
}
 
var xxx_messageInfo_TaskLabel proto.InternalMessageInfo
 
func (m *TaskLabel) GetTaskid() string {
    if m != nil {
        return m.Taskid
    }
    return ""
}
 
func (m *TaskLabel) GetTaskname() string {
    if m != nil {
        return m.Taskname
    }
    return ""
}
 
func (m *TaskLabel) GetSdkinfos() []*SdkmsgWithTask {
    if m != nil {
        return m.Sdkinfos
    }
    return nil
}
 
func (m *TaskLabel) GetIndex() int32 {
    if m != nil {
        return m.Index
    }
    return 0
}
 
type SdkMessage struct {
    Cid                  string      `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid,omitempty"`
    Caddr                string      `protobuf:"bytes,2,opt,name=caddr,proto3" json:"caddr,omitempty"`
    Tasklab              *TaskLabel  `protobuf:"bytes,3,opt,name=tasklab,proto3" json:"tasklab,omitempty"`
    Data                 []byte      `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"`
    Push                 *PushAttach `protobuf:"bytes,5,opt,name=push,proto3" json:"push,omitempty"`
    XXX_NoUnkeyedLiteral struct{}    `json:"-"`
    XXX_unrecognized     []byte      `json:"-"`
    XXX_sizecache        int32       `json:"-"`
}
 
func (m *SdkMessage) Reset()         { *m = SdkMessage{} }
func (m *SdkMessage) String() string { return proto.CompactTextString(m) }
func (*SdkMessage) ProtoMessage()    {}
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)
}
func (m *SdkMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    return xxx_messageInfo_SdkMessage.Marshal(b, m, deterministic)
}
func (m *SdkMessage) XXX_Merge(src proto.Message) {
    xxx_messageInfo_SdkMessage.Merge(m, src)
}
func (m *SdkMessage) XXX_Size() int {
    return xxx_messageInfo_SdkMessage.Size(m)
}
func (m *SdkMessage) XXX_DiscardUnknown() {
    xxx_messageInfo_SdkMessage.DiscardUnknown(m)
}
 
var xxx_messageInfo_SdkMessage proto.InternalMessageInfo
 
func (m *SdkMessage) GetCid() string {
    if m != nil {
        return m.Cid
    }
    return ""
}
 
func (m *SdkMessage) GetCaddr() string {
    if m != nil {
        return m.Caddr
    }
    return ""
}
 
func (m *SdkMessage) GetTasklab() *TaskLabel {
    if m != nil {
        return m.Tasklab
    }
    return nil
}
 
func (m *SdkMessage) GetData() []byte {
    if m != nil {
        return m.Data
    }
    return nil
}
 
func (m *SdkMessage) GetPush() *PushAttach {
    if m != nil {
        return m.Push
    }
    return nil
}
 
type Recvmsg struct {
    Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
    Addr                 string   `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"`
    Picdata              []byte   `protobuf:"bytes,3,opt,name=picdata,proto3" json:"picdata,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}
 
func (m *Recvmsg) Reset()         { *m = Recvmsg{} }
func (m *Recvmsg) String() string { return proto.CompactTextString(m) }
func (*Recvmsg) ProtoMessage()    {}
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)
}
func (m *Recvmsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    return xxx_messageInfo_Recvmsg.Marshal(b, m, deterministic)
}
func (m *Recvmsg) XXX_Merge(src proto.Message) {
    xxx_messageInfo_Recvmsg.Merge(m, src)
}
func (m *Recvmsg) XXX_Size() int {
    return xxx_messageInfo_Recvmsg.Size(m)
}
func (m *Recvmsg) XXX_DiscardUnknown() {
    xxx_messageInfo_Recvmsg.DiscardUnknown(m)
}
 
var xxx_messageInfo_Recvmsg proto.InternalMessageInfo
 
func (m *Recvmsg) GetId() string {
    if m != nil {
        return m.Id
    }
    return ""
}
 
func (m *Recvmsg) GetAddr() string {
    if m != nil {
        return m.Addr
    }
    return ""
}
 
func (m *Recvmsg) GetPicdata() []byte {
    if m != nil {
        return m.Picdata
    }
    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{
    // 376 bytes of a gzipped FileDescriptorProto
    0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x52, 0xcd, 0x4e, 0x83, 0x40,
    0x18, 0x0c, 0xa5, 0x2d, 0xf4, 0xa3, 0x69, 0xcc, 0xda, 0x34, 0x9b, 0x9e, 0x08, 0x27, 0x0e, 0xda,
    0x43, 0xf5, 0x05, 0x7a, 0xf2, 0xa2, 0x89, 0xd9, 0x9a, 0x98, 0x78, 0xdb, 0xb2, 0x08, 0x04, 0xb6,
    0x10, 0x3e, 0x6a, 0xf4, 0x19, 0x7c, 0x0a, 0x1f, 0xc4, 0x77, 0x33, 0xbb, 0xcb, 0x4f, 0x7b, 0xf5,
    0xc4, 0x0c, 0x3b, 0xdf, 0xc7, 0xcc, 0x2c, 0x30, 0x8f, 0x4a, 0x29, 0x31, 0xd9, 0x54, 0x75, 0xd9,
    0x94, 0xc4, 0xd5, 0x0f, 0x89, 0xc9, 0x7a, 0xd1, 0x21, 0x73, 0xb2, 0xf6, 0x78, 0xc1, 0x6b, 0x69,
    0x48, 0xf0, 0x06, 0x8b, 0xbd, 0xc8, 0x25, 0x26, 0xaf, 0x59, 0x93, 0xbe, 0x70, 0xcc, 0xc9, 0x12,
    0x26, 0x59, 0x15, 0x65, 0x82, 0x5a, 0xbe, 0x15, 0xce, 0x98, 0x21, 0x84, 0x82, 0x83, 0x22, 0x6f,
    0xbe, 0xaa, 0x98, 0x8e, 0xf4, 0xfb, 0x8e, 0xb6, 0x27, 0x82, 0x37, 0x9c, 0x8e, 0x7d, 0x2b, 0x9c,
    0xb3, 0x8e, 0x06, 0xdf, 0x16, 0xcc, 0xd4, 0xca, 0x47, 0x7e, 0x88, 0x0b, 0xb2, 0x82, 0x69, 0xc3,
    0x31, 0xef, 0x17, 0xb7, 0x8c, 0xac, 0xc1, 0x55, 0xe8, 0xc8, 0x65, 0xb7, 0xba, 0xe7, 0xe4, 0x1e,
    0x5c, 0x14, 0x79, 0x76, 0x7c, 0x2f, 0x91, 0xda, 0xbe, 0x1d, 0x7a, 0x5b, 0xba, 0xe9, 0xd3, 0x5c,
    0xfa, 0x66, 0xbd, 0x52, 0x27, 0x38, 0x8a, 0xf8, 0x53, 0xfb, 0x99, 0x30, 0x43, 0x82, 0x1f, 0x0b,
    0x60, 0x2f, 0xf2, 0xa7, 0x18, 0x91, 0x27, 0x31, 0xb9, 0x02, 0x7b, 0x08, 0xa9, 0xa0, 0x1a, 0x8b,
    0xb8, 0x10, 0x75, 0xeb, 0xc2, 0x10, 0x72, 0x0b, 0x8e, 0xb2, 0x53, 0xf0, 0x03, 0xb5, 0x7d, 0x2b,
    0xf4, 0xb6, 0xd7, 0x83, 0x83, 0x3e, 0x1c, 0xeb, 0x34, 0x84, 0xc0, 0xf8, 0xac, 0x0a, 0x8d, 0x49,
    0x08, 0xe3, 0xea, 0x84, 0x29, 0x9d, 0xe8, 0xf9, 0xe5, 0x30, 0xff, 0x7c, 0xc2, 0x74, 0xd7, 0x34,
    0x3c, 0x4a, 0x99, 0x56, 0x04, 0x0f, 0xe0, 0xd4, 0x71, 0xf4, 0x21, 0x31, 0x21, 0x0b, 0x18, 0xf5,
    0xf6, 0x46, 0x99, 0x50, 0x8b, 0xcf, 0xcc, 0x69, 0xac, 0xaa, 0xaf, 0xb2, 0x48, 0x7f, 0xcf, 0x36,
    0xd5, 0xb7, 0x34, 0xf8, 0xb5, 0xc0, 0x63, 0xa7, 0x22, 0xee, 0xd2, 0xfe, 0xa7, 0x7c, 0x0a, 0x8e,
    0xc4, 0x44, 0x5f, 0xb9, 0x6d, 0xae, 0xbc, 0xa5, 0xe4, 0x06, 0xa6, 0xa8, 0xcb, 0xd7, 0x31, 0x2f,
    0x22, 0x0d, 0x0d, 0xb3, 0x56, 0x43, 0xb6, 0xe0, 0xea, 0x3f, 0x4e, 0xe9, 0x4d, 0x05, 0xab, 0x41,
    0xbf, 0x53, 0x27, 0xdd, 0x44, 0xaf, 0x3b, 0x4c, 0xb5, 0xe0, 0xee, 0x2f, 0x00, 0x00, 0xff, 0xff,
    0xc8, 0xc5, 0x13, 0x57, 0xd4, 0x02, 0x00, 0x00,
}