-
Notifications
You must be signed in to change notification settings - Fork 1
/
alert_event.pb.go
749 lines (679 loc) · 26.8 KB
/
alert_event.pb.go
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
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: alert_event.proto
package monitor
import (
fmt "fmt"
_ "github.com/gogo/protobuf/gogoproto"
proto "github.com/gogo/protobuf/proto"
types "github.com/gogo/protobuf/types"
_ "github.com/mwitkow/go-proto-validators"
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.GoGoProtoPackageIsVersion3 // please upgrade the proto package
//
//告警事件 Model
type AlertEvent struct {
//
//记录 ID
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" form:"id"`
//
//告警 ID
AlertId string `protobuf:"bytes,2,opt,name=alert_id,json=alertId,proto3" json:"alert_id" form:"alert_id"`
//
//告警规则 ID
RuleId string `protobuf:"bytes,3,opt,name=rule_id,json=ruleId,proto3" json:"rule_id" form:"rule_id"`
//
//告警是否已恢复
IsRecover bool `protobuf:"varint,4,opt,name=is_recover,json=isRecover,proto3" json:"is_recover" form:"is_recover"`
//
//告警是否发送成功
SendSucc bool `protobuf:"varint,5,opt,name=send_succ,json=sendSucc,proto3" json:"send_succ" form:"send_succ"`
//
//告警主题
Subject string `protobuf:"bytes,6,opt,name=subject,proto3" json:"subject" form:"subject"`
//
//告警内容
Content string `protobuf:"bytes,7,opt,name=content,proto3" json:"content" form:"content"`
//
//告警来源(system:easyops平台)
Source string `protobuf:"bytes,8,opt,name=source,proto3" json:"source" form:"source"`
//
//告警状态: 0-告警已发送,1-告警被收敛,2-告警恢复,3-告警被屏蔽
Status int32 `protobuf:"varint,9,opt,name=status,proto3" json:"status" form:"status"`
//
//是否发送邮件成功(0:未发送/失败,1:成功)
SendDetail int32 `protobuf:"varint,10,opt,name=send_detail,json=sendDetail,proto3" json:"send_detail" form:"send_detail"`
//
//告警恢复类型(auto:自动恢复,manual:手动恢复)
RecoverType string `protobuf:"bytes,11,opt,name=recover_type,json=recoverType,proto3" json:"recover_type" form:"recover_type"`
//
//org
Org int32 `protobuf:"varint,12,opt,name=org,proto3" json:"org" form:"org"`
//
//告警对象
Target string `protobuf:"bytes,13,opt,name=target,proto3" json:"target" form:"target"`
//
//告警等级
Level int32 `protobuf:"varint,14,opt,name=level,proto3" json:"level" form:"level"`
//
//告警值
Value int32 `protobuf:"varint,15,opt,name=value,proto3" json:"value" form:"value"`
//
//告警持续时间
AlertDuration float32 `protobuf:"fixed32,16,opt,name=alert_duration,json=alertDuration,proto3" json:"alert_duration" form:"alert_duration"`
//
//告警开始时间
AlertBeginTime int32 `protobuf:"varint,17,opt,name=alert_begin_time,json=alertBeginTime,proto3" json:"alert_begin_time" form:"alert_begin_time"`
//
//告警结束时间
AlertEndTime int32 `protobuf:"varint,18,opt,name=alert_end_time,json=alertEndTime,proto3" json:"alert_end_time" form:"alert_end_time"`
//
//告警时间
Time int32 `protobuf:"varint,19,opt,name=time,proto3" json:"time" form:"time"`
//
//告警开始时间
StartTime int32 `protobuf:"varint,20,opt,name=start_time,json=startTime,proto3" json:"start_time" form:"start_time"`
//
//插入 mongodb 时间戳
InsertTime int32 `protobuf:"varint,21,opt,name=insert_time,json=insertTime,proto3" json:"insert_time" form:"insert_time"`
//
//告警接收人
AlertReceivers []*AlertEvent_AlertReceivers `protobuf:"bytes,22,rep,name=alert_receivers,json=alertReceivers,proto3" json:"alert_receivers" form:"alert_receivers"`
//
//告警维度
AlertDims []*AlertEvent_AlertDims `protobuf:"bytes,23,rep,name=alert_dims,json=alertDims,proto3" json:"alert_dims" form:"alert_dims"`
//
//告警发生后的动作,可以是通知或者执行工具流程
Actions []*AlertEvent_Actions `protobuf:"bytes,24,rep,name=actions,proto3" json:"actions" form:"actions"`
//
//告警条件
AlertConditions *AlertConditions `protobuf:"bytes,25,opt,name=alert_conditions,json=alertConditions,proto3" json:"alert_conditions" form:"alert_conditions"`
//
//模型id
ObjectId string `protobuf:"bytes,26,opt,name=objectId,proto3" json:"objectId" form:"objectId"`
//
//实例id
InstanceId string `protobuf:"bytes,27,opt,name=instanceId,proto3" json:"instanceId" form:"instanceId"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AlertEvent) Reset() { *m = AlertEvent{} }
func (m *AlertEvent) String() string { return proto.CompactTextString(m) }
func (*AlertEvent) ProtoMessage() {}
func (*AlertEvent) Descriptor() ([]byte, []int) {
return fileDescriptor_783e30eadc53c1a4, []int{0}
}
func (m *AlertEvent) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AlertEvent.Unmarshal(m, b)
}
func (m *AlertEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AlertEvent.Marshal(b, m, deterministic)
}
func (m *AlertEvent) XXX_Merge(src proto.Message) {
xxx_messageInfo_AlertEvent.Merge(m, src)
}
func (m *AlertEvent) XXX_Size() int {
return xxx_messageInfo_AlertEvent.Size(m)
}
func (m *AlertEvent) XXX_DiscardUnknown() {
xxx_messageInfo_AlertEvent.DiscardUnknown(m)
}
var xxx_messageInfo_AlertEvent proto.InternalMessageInfo
func (m *AlertEvent) GetId() string {
if m != nil {
return m.Id
}
return ""
}
func (m *AlertEvent) GetAlertId() string {
if m != nil {
return m.AlertId
}
return ""
}
func (m *AlertEvent) GetRuleId() string {
if m != nil {
return m.RuleId
}
return ""
}
func (m *AlertEvent) GetIsRecover() bool {
if m != nil {
return m.IsRecover
}
return false
}
func (m *AlertEvent) GetSendSucc() bool {
if m != nil {
return m.SendSucc
}
return false
}
func (m *AlertEvent) GetSubject() string {
if m != nil {
return m.Subject
}
return ""
}
func (m *AlertEvent) GetContent() string {
if m != nil {
return m.Content
}
return ""
}
func (m *AlertEvent) GetSource() string {
if m != nil {
return m.Source
}
return ""
}
func (m *AlertEvent) GetStatus() int32 {
if m != nil {
return m.Status
}
return 0
}
func (m *AlertEvent) GetSendDetail() int32 {
if m != nil {
return m.SendDetail
}
return 0
}
func (m *AlertEvent) GetRecoverType() string {
if m != nil {
return m.RecoverType
}
return ""
}
func (m *AlertEvent) GetOrg() int32 {
if m != nil {
return m.Org
}
return 0
}
func (m *AlertEvent) GetTarget() string {
if m != nil {
return m.Target
}
return ""
}
func (m *AlertEvent) GetLevel() int32 {
if m != nil {
return m.Level
}
return 0
}
func (m *AlertEvent) GetValue() int32 {
if m != nil {
return m.Value
}
return 0
}
func (m *AlertEvent) GetAlertDuration() float32 {
if m != nil {
return m.AlertDuration
}
return 0
}
func (m *AlertEvent) GetAlertBeginTime() int32 {
if m != nil {
return m.AlertBeginTime
}
return 0
}
func (m *AlertEvent) GetAlertEndTime() int32 {
if m != nil {
return m.AlertEndTime
}
return 0
}
func (m *AlertEvent) GetTime() int32 {
if m != nil {
return m.Time
}
return 0
}
func (m *AlertEvent) GetStartTime() int32 {
if m != nil {
return m.StartTime
}
return 0
}
func (m *AlertEvent) GetInsertTime() int32 {
if m != nil {
return m.InsertTime
}
return 0
}
func (m *AlertEvent) GetAlertReceivers() []*AlertEvent_AlertReceivers {
if m != nil {
return m.AlertReceivers
}
return nil
}
func (m *AlertEvent) GetAlertDims() []*AlertEvent_AlertDims {
if m != nil {
return m.AlertDims
}
return nil
}
func (m *AlertEvent) GetActions() []*AlertEvent_Actions {
if m != nil {
return m.Actions
}
return nil
}
func (m *AlertEvent) GetAlertConditions() *AlertConditions {
if m != nil {
return m.AlertConditions
}
return nil
}
func (m *AlertEvent) GetObjectId() string {
if m != nil {
return m.ObjectId
}
return ""
}
func (m *AlertEvent) GetInstanceId() string {
if m != nil {
return m.InstanceId
}
return ""
}
type AlertEvent_AlertReceivers struct {
//
//接收人名称
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name" form:"name"`
//
//通知方式, e.g.: email
Method string `protobuf:"bytes,2,opt,name=method,proto3" json:"method" form:"method"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AlertEvent_AlertReceivers) Reset() { *m = AlertEvent_AlertReceivers{} }
func (m *AlertEvent_AlertReceivers) String() string { return proto.CompactTextString(m) }
func (*AlertEvent_AlertReceivers) ProtoMessage() {}
func (*AlertEvent_AlertReceivers) Descriptor() ([]byte, []int) {
return fileDescriptor_783e30eadc53c1a4, []int{0, 0}
}
func (m *AlertEvent_AlertReceivers) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AlertEvent_AlertReceivers.Unmarshal(m, b)
}
func (m *AlertEvent_AlertReceivers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AlertEvent_AlertReceivers.Marshal(b, m, deterministic)
}
func (m *AlertEvent_AlertReceivers) XXX_Merge(src proto.Message) {
xxx_messageInfo_AlertEvent_AlertReceivers.Merge(m, src)
}
func (m *AlertEvent_AlertReceivers) XXX_Size() int {
return xxx_messageInfo_AlertEvent_AlertReceivers.Size(m)
}
func (m *AlertEvent_AlertReceivers) XXX_DiscardUnknown() {
xxx_messageInfo_AlertEvent_AlertReceivers.DiscardUnknown(m)
}
var xxx_messageInfo_AlertEvent_AlertReceivers proto.InternalMessageInfo
func (m *AlertEvent_AlertReceivers) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *AlertEvent_AlertReceivers) GetMethod() string {
if m != nil {
return m.Method
}
return ""
}
type AlertEvent_AlertDims struct {
//
//告警维度前台展示名字
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name" form:"name"`
//
//告警维度值
Value *types.Struct `protobuf:"bytes,2,opt,name=value,proto3" json:"value" form:"value"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AlertEvent_AlertDims) Reset() { *m = AlertEvent_AlertDims{} }
func (m *AlertEvent_AlertDims) String() string { return proto.CompactTextString(m) }
func (*AlertEvent_AlertDims) ProtoMessage() {}
func (*AlertEvent_AlertDims) Descriptor() ([]byte, []int) {
return fileDescriptor_783e30eadc53c1a4, []int{0, 1}
}
func (m *AlertEvent_AlertDims) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AlertEvent_AlertDims.Unmarshal(m, b)
}
func (m *AlertEvent_AlertDims) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AlertEvent_AlertDims.Marshal(b, m, deterministic)
}
func (m *AlertEvent_AlertDims) XXX_Merge(src proto.Message) {
xxx_messageInfo_AlertEvent_AlertDims.Merge(m, src)
}
func (m *AlertEvent_AlertDims) XXX_Size() int {
return xxx_messageInfo_AlertEvent_AlertDims.Size(m)
}
func (m *AlertEvent_AlertDims) XXX_DiscardUnknown() {
xxx_messageInfo_AlertEvent_AlertDims.DiscardUnknown(m)
}
var xxx_messageInfo_AlertEvent_AlertDims proto.InternalMessageInfo
func (m *AlertEvent_AlertDims) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *AlertEvent_AlertDims) GetValue() *types.Struct {
if m != nil {
return m.Value
}
return nil
}
type AlertEvent_Actions struct {
//
//动作触发条件
Condition *AlertEvent_Actions_Condition `protobuf:"bytes,1,opt,name=condition,proto3" json:"condition" form:"condition"`
//
//动作类型
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type" form:"type"`
//
//告警动作执行状态(0:未执行, 1:已执行)
Status int32 `protobuf:"varint,3,opt,name=status,proto3" json:"status" form:"status"`
//
//告警动作是否升级
Upgrade bool `protobuf:"varint,4,opt,name=upgrade,proto3" json:"upgrade" form:"upgrade"`
//
//告警动作是否执行
Run bool `protobuf:"varint,5,opt,name=run,proto3" json:"run" form:"run"`
//
//告警通知方法
Method []string `protobuf:"bytes,6,rep,name=method,proto3" json:"method" form:"method"`
//
//告警通知人列表
Receivers []string `protobuf:"bytes,7,rep,name=receivers,proto3" json:"receivers" form:"receivers"`
//
//告警通知用户组列表
ReceiverUserGroups []string `protobuf:"bytes,8,rep,name=receiver_user_groups,json=receiverUserGroups,proto3" json:"receiver_user_groups" form:"receiver_user_groups"`
//
//告警通知运维负责人列表
ReceiverOwners []*AlertEvent_Actions_ReceiverOwners `protobuf:"bytes,9,rep,name=receiver_owners,json=receiverOwners,proto3" json:"receiver_owners" form:"receiver_owners"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AlertEvent_Actions) Reset() { *m = AlertEvent_Actions{} }
func (m *AlertEvent_Actions) String() string { return proto.CompactTextString(m) }
func (*AlertEvent_Actions) ProtoMessage() {}
func (*AlertEvent_Actions) Descriptor() ([]byte, []int) {
return fileDescriptor_783e30eadc53c1a4, []int{0, 2}
}
func (m *AlertEvent_Actions) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AlertEvent_Actions.Unmarshal(m, b)
}
func (m *AlertEvent_Actions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AlertEvent_Actions.Marshal(b, m, deterministic)
}
func (m *AlertEvent_Actions) XXX_Merge(src proto.Message) {
xxx_messageInfo_AlertEvent_Actions.Merge(m, src)
}
func (m *AlertEvent_Actions) XXX_Size() int {
return xxx_messageInfo_AlertEvent_Actions.Size(m)
}
func (m *AlertEvent_Actions) XXX_DiscardUnknown() {
xxx_messageInfo_AlertEvent_Actions.DiscardUnknown(m)
}
var xxx_messageInfo_AlertEvent_Actions proto.InternalMessageInfo
func (m *AlertEvent_Actions) GetCondition() *AlertEvent_Actions_Condition {
if m != nil {
return m.Condition
}
return nil
}
func (m *AlertEvent_Actions) GetType() string {
if m != nil {
return m.Type
}
return ""
}
func (m *AlertEvent_Actions) GetStatus() int32 {
if m != nil {
return m.Status
}
return 0
}
func (m *AlertEvent_Actions) GetUpgrade() bool {
if m != nil {
return m.Upgrade
}
return false
}
func (m *AlertEvent_Actions) GetRun() bool {
if m != nil {
return m.Run
}
return false
}
func (m *AlertEvent_Actions) GetMethod() []string {
if m != nil {
return m.Method
}
return nil
}
func (m *AlertEvent_Actions) GetReceivers() []string {
if m != nil {
return m.Receivers
}
return nil
}
func (m *AlertEvent_Actions) GetReceiverUserGroups() []string {
if m != nil {
return m.ReceiverUserGroups
}
return nil
}
func (m *AlertEvent_Actions) GetReceiverOwners() []*AlertEvent_Actions_ReceiverOwners {
if m != nil {
return m.ReceiverOwners
}
return nil
}
type AlertEvent_Actions_Condition struct {
//
//告警持续时间多久后升级,单位:分钟
LastingFor int32 `protobuf:"varint,1,opt,name=lasting_for,json=lastingFor,proto3" json:"lasting_for" form:"lasting_for"`
//
//告警等级大于多少升级
Level int32 `protobuf:"varint,2,opt,name=level,proto3" json:"level" form:"level"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AlertEvent_Actions_Condition) Reset() { *m = AlertEvent_Actions_Condition{} }
func (m *AlertEvent_Actions_Condition) String() string { return proto.CompactTextString(m) }
func (*AlertEvent_Actions_Condition) ProtoMessage() {}
func (*AlertEvent_Actions_Condition) Descriptor() ([]byte, []int) {
return fileDescriptor_783e30eadc53c1a4, []int{0, 2, 0}
}
func (m *AlertEvent_Actions_Condition) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AlertEvent_Actions_Condition.Unmarshal(m, b)
}
func (m *AlertEvent_Actions_Condition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AlertEvent_Actions_Condition.Marshal(b, m, deterministic)
}
func (m *AlertEvent_Actions_Condition) XXX_Merge(src proto.Message) {
xxx_messageInfo_AlertEvent_Actions_Condition.Merge(m, src)
}
func (m *AlertEvent_Actions_Condition) XXX_Size() int {
return xxx_messageInfo_AlertEvent_Actions_Condition.Size(m)
}
func (m *AlertEvent_Actions_Condition) XXX_DiscardUnknown() {
xxx_messageInfo_AlertEvent_Actions_Condition.DiscardUnknown(m)
}
var xxx_messageInfo_AlertEvent_Actions_Condition proto.InternalMessageInfo
func (m *AlertEvent_Actions_Condition) GetLastingFor() int32 {
if m != nil {
return m.LastingFor
}
return 0
}
func (m *AlertEvent_Actions_Condition) GetLevel() int32 {
if m != nil {
return m.Level
}
return 0
}
type AlertEvent_Actions_ReceiverOwners struct {
//
//描述
Translate string `protobuf:"bytes,1,opt,name=translate,proto3" json:"translate" form:"translate"`
//
//模型 ID
ObjectId string `protobuf:"bytes,2,opt,name=object_id,json=objectId,proto3" json:"object_id" form:"object_id"`
//
//模型属性 ID
ObjectAttrId string `protobuf:"bytes,3,opt,name=object_attr_id,json=objectAttrId,proto3" json:"object_attr_id" form:"object_attr_id"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AlertEvent_Actions_ReceiverOwners) Reset() { *m = AlertEvent_Actions_ReceiverOwners{} }
func (m *AlertEvent_Actions_ReceiverOwners) String() string { return proto.CompactTextString(m) }
func (*AlertEvent_Actions_ReceiverOwners) ProtoMessage() {}
func (*AlertEvent_Actions_ReceiverOwners) Descriptor() ([]byte, []int) {
return fileDescriptor_783e30eadc53c1a4, []int{0, 2, 1}
}
func (m *AlertEvent_Actions_ReceiverOwners) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AlertEvent_Actions_ReceiverOwners.Unmarshal(m, b)
}
func (m *AlertEvent_Actions_ReceiverOwners) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AlertEvent_Actions_ReceiverOwners.Marshal(b, m, deterministic)
}
func (m *AlertEvent_Actions_ReceiverOwners) XXX_Merge(src proto.Message) {
xxx_messageInfo_AlertEvent_Actions_ReceiverOwners.Merge(m, src)
}
func (m *AlertEvent_Actions_ReceiverOwners) XXX_Size() int {
return xxx_messageInfo_AlertEvent_Actions_ReceiverOwners.Size(m)
}
func (m *AlertEvent_Actions_ReceiverOwners) XXX_DiscardUnknown() {
xxx_messageInfo_AlertEvent_Actions_ReceiverOwners.DiscardUnknown(m)
}
var xxx_messageInfo_AlertEvent_Actions_ReceiverOwners proto.InternalMessageInfo
func (m *AlertEvent_Actions_ReceiverOwners) GetTranslate() string {
if m != nil {
return m.Translate
}
return ""
}
func (m *AlertEvent_Actions_ReceiverOwners) GetObjectId() string {
if m != nil {
return m.ObjectId
}
return ""
}
func (m *AlertEvent_Actions_ReceiverOwners) GetObjectAttrId() string {
if m != nil {
return m.ObjectAttrId
}
return ""
}
func init() {
proto.RegisterType((*AlertEvent)(nil), "monitor.AlertEvent")
proto.RegisterType((*AlertEvent_AlertReceivers)(nil), "monitor.AlertEvent.AlertReceivers")
proto.RegisterType((*AlertEvent_AlertDims)(nil), "monitor.AlertEvent.AlertDims")
proto.RegisterType((*AlertEvent_Actions)(nil), "monitor.AlertEvent.Actions")
proto.RegisterType((*AlertEvent_Actions_Condition)(nil), "monitor.AlertEvent.Actions.Condition")
proto.RegisterType((*AlertEvent_Actions_ReceiverOwners)(nil), "monitor.AlertEvent.Actions.ReceiverOwners")
}
func init() { proto.RegisterFile("alert_event.proto", fileDescriptor_783e30eadc53c1a4) }
var fileDescriptor_783e30eadc53c1a4 = []byte{
// 1240 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x56, 0xe1, 0x72, 0xd4, 0x36,
0x10, 0xee, 0x5d, 0x20, 0x17, 0xeb, 0x92, 0x4b, 0x22, 0x02, 0x31, 0x97, 0x32, 0xbe, 0x51, 0x29,
0x13, 0x5a, 0xee, 0x0e, 0x42, 0x07, 0xa6, 0xfc, 0xa1, 0x09, 0xd0, 0xce, 0xfd, 0xea, 0x54, 0xd0,
0x99, 0x16, 0x06, 0x0e, 0xc7, 0x16, 0xc6, 0xad, 0xcf, 0xba, 0xca, 0x72, 0x98, 0x94, 0xe1, 0xbd,
0xfa, 0x0e, 0xfd, 0xd3, 0x27, 0x70, 0x67, 0xfa, 0x08, 0x7e, 0x82, 0x8e, 0x56, 0xb2, 0xad, 0x3b,
0x4a, 0xda, 0x99, 0xfe, 0xd3, 0xee, 0xf7, 0xed, 0x6a, 0xa5, 0x5d, 0xed, 0x0a, 0x6d, 0xfb, 0x09,
0x13, 0x72, 0xca, 0x4e, 0x58, 0x2a, 0x47, 0x73, 0xc1, 0x25, 0xc7, 0x9d, 0x19, 0x4f, 0x63, 0xc9,
0x45, 0x7f, 0x18, 0xc5, 0xf2, 0x75, 0x7e, 0x3c, 0x0a, 0xf8, 0x6c, 0x1c, 0xf1, 0x88, 0x8f, 0x01,
0x3f, 0xce, 0x5f, 0x81, 0x04, 0x02, 0xac, 0xb4, 0x5d, 0xff, 0x87, 0x88, 0x8f, 0x98, 0x9f, 0x9d,
0xf2, 0x79, 0x36, 0x4a, 0x78, 0xe0, 0x27, 0xe3, 0x80, 0xa7, 0x52, 0xf8, 0x81, 0xcc, 0xb4, 0xa5,
0x60, 0x73, 0x3e, 0x9c, 0xf1, 0x90, 0x25, 0x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