/
cap.pb.go
1215 lines (1092 loc) · 41.9 KB
/
cap.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
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: cap.proto
package cap
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import _struct "github.com/golang/protobuf/ptypes/struct"
import timestamp "github.com/golang/protobuf/ptypes/timestamp"
// 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.ProtoPackageIsVersion2 // please upgrade the proto package
type Info_Category int32
const (
Info_CATEGORY_UNKNOWN Info_Category = 0
Info_GEO Info_Category = 1
Info_MET Info_Category = 2
Info_SAFETY Info_Category = 3
Info_SECURITY Info_Category = 4
Info_RESCUE Info_Category = 5
Info_FIRE Info_Category = 6
Info_HEALTH Info_Category = 7
Info_ENV Info_Category = 8
Info_TRANSPORT Info_Category = 9
Info_INFRA Info_Category = 10
Info_CBRNE Info_Category = 11
Info_OTHER Info_Category = 12
)
var Info_Category_name = map[int32]string{
0: "CATEGORY_UNKNOWN",
1: "GEO",
2: "MET",
3: "SAFETY",
4: "SECURITY",
5: "RESCUE",
6: "FIRE",
7: "HEALTH",
8: "ENV",
9: "TRANSPORT",
10: "INFRA",
11: "CBRNE",
12: "OTHER",
}
var Info_Category_value = map[string]int32{
"CATEGORY_UNKNOWN": 0,
"GEO": 1,
"MET": 2,
"SAFETY": 3,
"SECURITY": 4,
"RESCUE": 5,
"FIRE": 6,
"HEALTH": 7,
"ENV": 8,
"TRANSPORT": 9,
"INFRA": 10,
"CBRNE": 11,
"OTHER": 12,
}
func (x Info_Category) String() string {
return proto.EnumName(Info_Category_name, int32(x))
}
func (Info_Category) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_cap_5131ed39f6c4e353, []int{3, 0}
}
type Info_ResponseType int32
const (
Info_RESPONSE_TYPE_UNKNOWN Info_ResponseType = 0
Info_SHELTER Info_ResponseType = 1
Info_EVACUATE Info_ResponseType = 2
Info_PREPARE Info_ResponseType = 3
Info_EXECUTE Info_ResponseType = 4
Info_AVOID Info_ResponseType = 5
Info_MONITOR Info_ResponseType = 6
Info_ASSESS Info_ResponseType = 7
Info_ALL_CLEAR Info_ResponseType = 8
Info_NONE Info_ResponseType = 9
)
var Info_ResponseType_name = map[int32]string{
0: "RESPONSE_TYPE_UNKNOWN",
1: "SHELTER",
2: "EVACUATE",
3: "PREPARE",
4: "EXECUTE",
5: "AVOID",
6: "MONITOR",
7: "ASSESS",
8: "ALL_CLEAR",
9: "NONE",
}
var Info_ResponseType_value = map[string]int32{
"RESPONSE_TYPE_UNKNOWN": 0,
"SHELTER": 1,
"EVACUATE": 2,
"PREPARE": 3,
"EXECUTE": 4,
"AVOID": 5,
"MONITOR": 6,
"ASSESS": 7,
"ALL_CLEAR": 8,
"NONE": 9,
}
func (x Info_ResponseType) String() string {
return proto.EnumName(Info_ResponseType_name, int32(x))
}
func (Info_ResponseType) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_cap_5131ed39f6c4e353, []int{3, 1}
}
type Info_Urgency int32
const (
Info_URGENCY_UNKNOWN Info_Urgency = 0
Info_IMMEDIATE Info_Urgency = 1
Info_EXPECTED Info_Urgency = 2
Info_FUTURE Info_Urgency = 3
Info_PAST Info_Urgency = 4
)
var Info_Urgency_name = map[int32]string{
0: "URGENCY_UNKNOWN",
1: "IMMEDIATE",
2: "EXPECTED",
3: "FUTURE",
4: "PAST",
}
var Info_Urgency_value = map[string]int32{
"URGENCY_UNKNOWN": 0,
"IMMEDIATE": 1,
"EXPECTED": 2,
"FUTURE": 3,
"PAST": 4,
}
func (x Info_Urgency) String() string {
return proto.EnumName(Info_Urgency_name, int32(x))
}
func (Info_Urgency) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_cap_5131ed39f6c4e353, []int{3, 2}
}
type Info_Severity int32
const (
Info_SEVERITY_UNKNOWN Info_Severity = 0
Info_EXTREME Info_Severity = 1
Info_SEVERE Info_Severity = 2
Info_MODERATE Info_Severity = 3
Info_MINOR Info_Severity = 4
)
var Info_Severity_name = map[int32]string{
0: "SEVERITY_UNKNOWN",
1: "EXTREME",
2: "SEVERE",
3: "MODERATE",
4: "MINOR",
}
var Info_Severity_value = map[string]int32{
"SEVERITY_UNKNOWN": 0,
"EXTREME": 1,
"SEVERE": 2,
"MODERATE": 3,
"MINOR": 4,
}
func (x Info_Severity) String() string {
return proto.EnumName(Info_Severity_name, int32(x))
}
func (Info_Severity) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_cap_5131ed39f6c4e353, []int{3, 3}
}
type Info_Certainty int32
const (
Info_CERTAINTY_UNKNOWN Info_Certainty = 0
Info_OBSERVED Info_Certainty = 1
Info_LIKELY Info_Certainty = 2
Info_POSSIBLE Info_Certainty = 3
Info_UNLIKELY Info_Certainty = 4
)
var Info_Certainty_name = map[int32]string{
0: "CERTAINTY_UNKNOWN",
1: "OBSERVED",
2: "LIKELY",
3: "POSSIBLE",
4: "UNLIKELY",
}
var Info_Certainty_value = map[string]int32{
"CERTAINTY_UNKNOWN": 0,
"OBSERVED": 1,
"LIKELY": 2,
"POSSIBLE": 3,
"UNLIKELY": 4,
}
func (x Info_Certainty) String() string {
return proto.EnumName(Info_Certainty_name, int32(x))
}
func (Info_Certainty) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_cap_5131ed39f6c4e353, []int{3, 4}
}
type Alert_Status int32
const (
Alert_STATUS_UNKNOWN Alert_Status = 0
Alert_ACTUAL Alert_Status = 1
Alert_EXCERCISE Alert_Status = 2
Alert_SYSTEM Alert_Status = 3
Alert_TEST Alert_Status = 4
Alert_DRAFT Alert_Status = 5
)
var Alert_Status_name = map[int32]string{
0: "STATUS_UNKNOWN",
1: "ACTUAL",
2: "EXCERCISE",
3: "SYSTEM",
4: "TEST",
5: "DRAFT",
}
var Alert_Status_value = map[string]int32{
"STATUS_UNKNOWN": 0,
"ACTUAL": 1,
"EXCERCISE": 2,
"SYSTEM": 3,
"TEST": 4,
"DRAFT": 5,
}
func (x Alert_Status) String() string {
return proto.EnumName(Alert_Status_name, int32(x))
}
func (Alert_Status) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_cap_5131ed39f6c4e353, []int{4, 0}
}
type Alert_MessageType int32
const (
Alert_MESSAGE_TYPE_UNKNOWN Alert_MessageType = 0
Alert_ALERT Alert_MessageType = 1
Alert_UPDATE Alert_MessageType = 2
Alert_CANCEL Alert_MessageType = 3
Alert_ACK Alert_MessageType = 4
Alert_ERROR Alert_MessageType = 5
)
var Alert_MessageType_name = map[int32]string{
0: "MESSAGE_TYPE_UNKNOWN",
1: "ALERT",
2: "UPDATE",
3: "CANCEL",
4: "ACK",
5: "ERROR",
}
var Alert_MessageType_value = map[string]int32{
"MESSAGE_TYPE_UNKNOWN": 0,
"ALERT": 1,
"UPDATE": 2,
"CANCEL": 3,
"ACK": 4,
"ERROR": 5,
}
func (x Alert_MessageType) String() string {
return proto.EnumName(Alert_MessageType_name, int32(x))
}
func (Alert_MessageType) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_cap_5131ed39f6c4e353, []int{4, 1}
}
type Alert_Scope int32
const (
Alert_SCOPE_UNKNOWN Alert_Scope = 0
Alert_PUBLIC Alert_Scope = 1
Alert_RESTRICTED Alert_Scope = 2
Alert_PRIVATE Alert_Scope = 3
)
var Alert_Scope_name = map[int32]string{
0: "SCOPE_UNKNOWN",
1: "PUBLIC",
2: "RESTRICTED",
3: "PRIVATE",
}
var Alert_Scope_value = map[string]int32{
"SCOPE_UNKNOWN": 0,
"PUBLIC": 1,
"RESTRICTED": 2,
"PRIVATE": 3,
}
func (x Alert_Scope) String() string {
return proto.EnumName(Alert_Scope_name, int32(x))
}
func (Alert_Scope) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_cap_5131ed39f6c4e353, []int{4, 2}
}
type Reference struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Identifier string `protobuf:"bytes,2,opt,name=identifier,proto3" json:"identifier,omitempty"`
Sender string `protobuf:"bytes,3,opt,name=sender,proto3" json:"sender,omitempty"`
Sent *timestamp.Timestamp `protobuf:"bytes,4,opt,name=sent,proto3" json:"sent,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Reference) Reset() { *m = Reference{} }
func (m *Reference) String() string { return proto.CompactTextString(m) }
func (*Reference) ProtoMessage() {}
func (*Reference) Descriptor() ([]byte, []int) {
return fileDescriptor_cap_5131ed39f6c4e353, []int{0}
}
func (m *Reference) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Reference.Unmarshal(m, b)
}
func (m *Reference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Reference.Marshal(b, m, deterministic)
}
func (dst *Reference) XXX_Merge(src proto.Message) {
xxx_messageInfo_Reference.Merge(dst, src)
}
func (m *Reference) XXX_Size() int {
return xxx_messageInfo_Reference.Size(m)
}
func (m *Reference) XXX_DiscardUnknown() {
xxx_messageInfo_Reference.DiscardUnknown(m)
}
var xxx_messageInfo_Reference proto.InternalMessageInfo
func (m *Reference) GetId() string {
if m != nil {
return m.Id
}
return ""
}
func (m *Reference) GetIdentifier() string {
if m != nil {
return m.Identifier
}
return ""
}
func (m *Reference) GetSender() string {
if m != nil {
return m.Sender
}
return ""
}
func (m *Reference) GetSent() *timestamp.Timestamp {
if m != nil {
return m.Sent
}
return nil
}
type Resource struct {
// The text describing the type and content of the resource file
Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
// The identifier of the MIME content type and sub-type describing the resource file
MimeType string `protobuf:"bytes,2,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
// The integer indicating the size of the resource file
Size int64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"`
// The identifier of the hyperlink for the resource file
Uri string `protobuf:"bytes,4,opt,name=uri,proto3" json:"uri,omitempty"`
// The base64 encoded data content of the resource file
DerefUri []byte `protobuf:"bytes,5,opt,name=deref_uri,json=derefUri,proto3" json:"deref_uri,omitempty"`
// The code representing the digital digest ("hash") computed from the resource file
Digest string `protobuf:"bytes,6,opt,name=digest,proto3" json:"digest,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Resource) Reset() { *m = Resource{} }
func (m *Resource) String() string { return proto.CompactTextString(m) }
func (*Resource) ProtoMessage() {}
func (*Resource) Descriptor() ([]byte, []int) {
return fileDescriptor_cap_5131ed39f6c4e353, []int{1}
}
func (m *Resource) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Resource.Unmarshal(m, b)
}
func (m *Resource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Resource.Marshal(b, m, deterministic)
}
func (dst *Resource) XXX_Merge(src proto.Message) {
xxx_messageInfo_Resource.Merge(dst, src)
}
func (m *Resource) XXX_Size() int {
return xxx_messageInfo_Resource.Size(m)
}
func (m *Resource) XXX_DiscardUnknown() {
xxx_messageInfo_Resource.DiscardUnknown(m)
}
var xxx_messageInfo_Resource proto.InternalMessageInfo
func (m *Resource) GetDescription() string {
if m != nil {
return m.Description
}
return ""
}
func (m *Resource) GetMimeType() string {
if m != nil {
return m.MimeType
}
return ""
}
func (m *Resource) GetSize() int64 {
if m != nil {
return m.Size
}
return 0
}
func (m *Resource) GetUri() string {
if m != nil {
return m.Uri
}
return ""
}
func (m *Resource) GetDerefUri() []byte {
if m != nil {
return m.DerefUri
}
return nil
}
func (m *Resource) GetDigest() string {
if m != nil {
return m.Digest
}
return ""
}
type Area struct {
// The text describing the affected area of the alert message
Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
// The paired values of points defining a polygon that delieantes the affected area of the alert message
Polygons []*Area_Polygon `protobuf:"bytes,2,rep,name=polygons,proto3" json:"polygons,omitempty"`
// The paried values of a point and radius delineating the affected area of the alert message
Circles []*Area_Circle `protobuf:"bytes,3,rep,name=circles,proto3" json:"circles,omitempty"`
// The geographic code delienating the affected area of the alert message
Geocodes map[string]*_struct.ListValue `protobuf:"bytes,4,rep,name=geocodes,proto3" json:"geocodes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// The specific or minimum altitude of the affected area of the alert message
Altitude float64 `protobuf:"fixed64,5,opt,name=altitude,proto3" json:"altitude,omitempty"`
// The maximum altitude of the affected area of the alert message
Ceiling float64 `protobuf:"fixed64,6,opt,name=ceiling,proto3" json:"ceiling,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Area) Reset() { *m = Area{} }
func (m *Area) String() string { return proto.CompactTextString(m) }
func (*Area) ProtoMessage() {}
func (*Area) Descriptor() ([]byte, []int) {
return fileDescriptor_cap_5131ed39f6c4e353, []int{2}
}
func (m *Area) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Area.Unmarshal(m, b)
}
func (m *Area) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Area.Marshal(b, m, deterministic)
}
func (dst *Area) XXX_Merge(src proto.Message) {
xxx_messageInfo_Area.Merge(dst, src)
}
func (m *Area) XXX_Size() int {
return xxx_messageInfo_Area.Size(m)
}
func (m *Area) XXX_DiscardUnknown() {
xxx_messageInfo_Area.DiscardUnknown(m)
}
var xxx_messageInfo_Area proto.InternalMessageInfo
func (m *Area) GetDescription() string {
if m != nil {
return m.Description
}
return ""
}
func (m *Area) GetPolygons() []*Area_Polygon {
if m != nil {
return m.Polygons
}
return nil
}
func (m *Area) GetCircles() []*Area_Circle {
if m != nil {
return m.Circles
}
return nil
}
func (m *Area) GetGeocodes() map[string]*_struct.ListValue {
if m != nil {
return m.Geocodes
}
return nil
}
func (m *Area) GetAltitude() float64 {
if m != nil {
return m.Altitude
}
return 0
}
func (m *Area) GetCeiling() float64 {
if m != nil {
return m.Ceiling
}
return 0
}
type Area_Polygon struct {
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
Coordinates []*_struct.ListValue `protobuf:"bytes,2,rep,name=coordinates,proto3" json:"coordinates,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Area_Polygon) Reset() { *m = Area_Polygon{} }
func (m *Area_Polygon) String() string { return proto.CompactTextString(m) }
func (*Area_Polygon) ProtoMessage() {}
func (*Area_Polygon) Descriptor() ([]byte, []int) {
return fileDescriptor_cap_5131ed39f6c4e353, []int{2, 0}
}
func (m *Area_Polygon) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Area_Polygon.Unmarshal(m, b)
}
func (m *Area_Polygon) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Area_Polygon.Marshal(b, m, deterministic)
}
func (dst *Area_Polygon) XXX_Merge(src proto.Message) {
xxx_messageInfo_Area_Polygon.Merge(dst, src)
}
func (m *Area_Polygon) XXX_Size() int {
return xxx_messageInfo_Area_Polygon.Size(m)
}
func (m *Area_Polygon) XXX_DiscardUnknown() {
xxx_messageInfo_Area_Polygon.DiscardUnknown(m)
}
var xxx_messageInfo_Area_Polygon proto.InternalMessageInfo
func (m *Area_Polygon) GetType() string {
if m != nil {
return m.Type
}
return ""
}
func (m *Area_Polygon) GetCoordinates() []*_struct.ListValue {
if m != nil {
return m.Coordinates
}
return nil
}
type Area_Circle struct {
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
Coordinates []float64 `protobuf:"fixed64,2,rep,packed,name=coordinates,proto3" json:"coordinates,omitempty"`
Radius float64 `protobuf:"fixed64,3,opt,name=radius,proto3" json:"radius,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Area_Circle) Reset() { *m = Area_Circle{} }
func (m *Area_Circle) String() string { return proto.CompactTextString(m) }
func (*Area_Circle) ProtoMessage() {}
func (*Area_Circle) Descriptor() ([]byte, []int) {
return fileDescriptor_cap_5131ed39f6c4e353, []int{2, 1}
}
func (m *Area_Circle) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Area_Circle.Unmarshal(m, b)
}
func (m *Area_Circle) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Area_Circle.Marshal(b, m, deterministic)
}
func (dst *Area_Circle) XXX_Merge(src proto.Message) {
xxx_messageInfo_Area_Circle.Merge(dst, src)
}
func (m *Area_Circle) XXX_Size() int {
return xxx_messageInfo_Area_Circle.Size(m)
}
func (m *Area_Circle) XXX_DiscardUnknown() {
xxx_messageInfo_Area_Circle.DiscardUnknown(m)
}
var xxx_messageInfo_Area_Circle proto.InternalMessageInfo
func (m *Area_Circle) GetType() string {
if m != nil {
return m.Type
}
return ""
}
func (m *Area_Circle) GetCoordinates() []float64 {
if m != nil {
return m.Coordinates
}
return nil
}
func (m *Area_Circle) GetRadius() float64 {
if m != nil {
return m.Radius
}
return 0
}
type Info struct {
// The code denoting the language of the info sub-element of the alert message
Language string `protobuf:"bytes,1,opt,name=language,proto3" json:"language,omitempty"`
// The code denoting the category of the subject event of the alert message
Categories []Info_Category `protobuf:"varint,2,rep,packed,name=categories,proto3,enum=cap.Info_Category" json:"categories,omitempty"`
// The text denoting the type of the subject event of the alert message
Event string `protobuf:"bytes,3,opt,name=event,proto3" json:"event,omitempty"`
// The code denoting the type of action recommended for the target audience
ResponseTypes []Info_ResponseType `protobuf:"varint,4,rep,packed,name=response_types,json=responseTypes,proto3,enum=cap.Info_ResponseType" json:"response_types,omitempty"`
// The code denoting the urgency of the subject event of the alert message
Urgency Info_Urgency `protobuf:"varint,5,opt,name=urgency,proto3,enum=cap.Info_Urgency" json:"urgency,omitempty"`
// The code denoting the severity of the subject event of the alert message
Severity Info_Severity `protobuf:"varint,6,opt,name=severity,proto3,enum=cap.Info_Severity" json:"severity,omitempty"`
// The code denoting the certainty of the subject event of hte alert message
Certainty Info_Certainty `protobuf:"varint,7,opt,name=certainty,proto3,enum=cap.Info_Certainty" json:"certainty,omitempty"`
// The text describing the intended audience of the alert message
Audience string `protobuf:"bytes,8,opt,name=audience,proto3" json:"audience,omitempty"`
EventCodes map[string]*_struct.ListValue `protobuf:"bytes,9,rep,name=event_codes,json=eventCodes,proto3" json:"event_codes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// The effective time of the information of the alert message
Effective *timestamp.Timestamp `protobuf:"bytes,10,opt,name=effective,proto3" json:"effective,omitempty"`
// The expected time of the beginning of hte subject event of the alert message
Onset *timestamp.Timestamp `protobuf:"bytes,11,opt,name=onset,proto3" json:"onset,omitempty"`
// The expiry time of the information of the alert message
Expires *timestamp.Timestamp `protobuf:"bytes,12,opt,name=expires,proto3" json:"expires,omitempty"`
// The text naming the originator of the alert message
SenderName string `protobuf:"bytes,13,opt,name=sender_name,json=senderName,proto3" json:"sender_name,omitempty"`
// The text headling of the alert message
Headline string `protobuf:"bytes,14,opt,name=headline,proto3" json:"headline,omitempty"`
// The text describing the subject event of the alert message
Description string `protobuf:"bytes,15,opt,name=description,proto3" json:"description,omitempty"`
// The text describing the recommended action to be taken by the recipients of the alert message
Instruction string `protobuf:"bytes,16,opt,name=instruction,proto3" json:"instruction,omitempty"`
// The identifier of the hyperlink associating additional information with the alert message
Web string `protobuf:"bytes,17,opt,name=web,proto3" json:"web,omitempty"`
// The text describing the contact for follow-up and confirmation of the alert message
Contact string `protobuf:"bytes,18,opt,name=contact,proto3" json:"contact,omitempty"`
// A system-specific additional parameter associated with the alert message
Parameters map[string]*_struct.ListValue `protobuf:"bytes,19,rep,name=parameters,proto3" json:"parameters,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// The container for all componment parts of the resource sub-element of the alert message
Resources []*Resource `protobuf:"bytes,20,rep,name=resources,proto3" json:"resources,omitempty"`
// The container for all component parts of the area sub-element of the info sub-element of the alert message
Areas []*Area `protobuf:"bytes,21,rep,name=areas,proto3" json:"areas,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Info) Reset() { *m = Info{} }
func (m *Info) String() string { return proto.CompactTextString(m) }
func (*Info) ProtoMessage() {}
func (*Info) Descriptor() ([]byte, []int) {
return fileDescriptor_cap_5131ed39f6c4e353, []int{3}
}
func (m *Info) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Info.Unmarshal(m, b)
}
func (m *Info) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Info.Marshal(b, m, deterministic)
}
func (dst *Info) XXX_Merge(src proto.Message) {
xxx_messageInfo_Info.Merge(dst, src)
}
func (m *Info) XXX_Size() int {
return xxx_messageInfo_Info.Size(m)
}
func (m *Info) XXX_DiscardUnknown() {
xxx_messageInfo_Info.DiscardUnknown(m)
}
var xxx_messageInfo_Info proto.InternalMessageInfo
func (m *Info) GetLanguage() string {
if m != nil {
return m.Language
}
return ""
}
func (m *Info) GetCategories() []Info_Category {
if m != nil {
return m.Categories
}
return nil
}
func (m *Info) GetEvent() string {
if m != nil {
return m.Event
}
return ""
}
func (m *Info) GetResponseTypes() []Info_ResponseType {
if m != nil {
return m.ResponseTypes
}
return nil
}
func (m *Info) GetUrgency() Info_Urgency {
if m != nil {
return m.Urgency
}
return Info_URGENCY_UNKNOWN
}
func (m *Info) GetSeverity() Info_Severity {
if m != nil {
return m.Severity
}
return Info_SEVERITY_UNKNOWN
}
func (m *Info) GetCertainty() Info_Certainty {
if m != nil {
return m.Certainty
}
return Info_CERTAINTY_UNKNOWN
}
func (m *Info) GetAudience() string {
if m != nil {
return m.Audience
}
return ""
}
func (m *Info) GetEventCodes() map[string]*_struct.ListValue {
if m != nil {
return m.EventCodes
}
return nil
}
func (m *Info) GetEffective() *timestamp.Timestamp {
if m != nil {
return m.Effective
}
return nil
}
func (m *Info) GetOnset() *timestamp.Timestamp {
if m != nil {
return m.Onset
}
return nil
}
func (m *Info) GetExpires() *timestamp.Timestamp {
if m != nil {
return m.Expires
}
return nil
}
func (m *Info) GetSenderName() string {
if m != nil {
return m.SenderName
}
return ""
}
func (m *Info) GetHeadline() string {
if m != nil {
return m.Headline
}
return ""
}
func (m *Info) GetDescription() string {
if m != nil {
return m.Description
}
return ""
}
func (m *Info) GetInstruction() string {
if m != nil {
return m.Instruction
}
return ""
}
func (m *Info) GetWeb() string {
if m != nil {
return m.Web
}
return ""
}
func (m *Info) GetContact() string {
if m != nil {
return m.Contact
}
return ""
}
func (m *Info) GetParameters() map[string]*_struct.ListValue {
if m != nil {
return m.Parameters
}
return nil
}
func (m *Info) GetResources() []*Resource {
if m != nil {
return m.Resources
}
return nil
}
func (m *Info) GetAreas() []*Area {
if m != nil {
return m.Areas
}
return nil
}
// A system-specific code identifying the event type of the alert message
type Info_ListString struct {
V []string `protobuf:"bytes,1,rep,name=v,proto3" json:"v,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Info_ListString) Reset() { *m = Info_ListString{} }
func (m *Info_ListString) String() string { return proto.CompactTextString(m) }
func (*Info_ListString) ProtoMessage() {}
func (*Info_ListString) Descriptor() ([]byte, []int) {
return fileDescriptor_cap_5131ed39f6c4e353, []int{3, 0}
}
func (m *Info_ListString) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Info_ListString.Unmarshal(m, b)
}
func (m *Info_ListString) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Info_ListString.Marshal(b, m, deterministic)
}
func (dst *Info_ListString) XXX_Merge(src proto.Message) {
xxx_messageInfo_Info_ListString.Merge(dst, src)
}
func (m *Info_ListString) XXX_Size() int {
return xxx_messageInfo_Info_ListString.Size(m)
}
func (m *Info_ListString) XXX_DiscardUnknown() {
xxx_messageInfo_Info_ListString.DiscardUnknown(m)
}
var xxx_messageInfo_Info_ListString proto.InternalMessageInfo
func (m *Info_ListString) GetV() []string {
if m != nil {
return m.V
}
return nil
}
type Alert struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// The identifier of the alert message
Identifier string `protobuf:"bytes,2,opt,name=identifier,proto3" json:"identifier,omitempty"`
// The identifier of the sender of the alert message
Sender string `protobuf:"bytes,3,opt,name=sender,proto3" json:"sender,omitempty"`
// The time and date of the origination of the alert message
Sent *timestamp.Timestamp `protobuf:"bytes,4,opt,name=sent,proto3" json:"sent,omitempty"`
// The code denoting the appropriate handling of the alert message
Status Alert_Status `protobuf:"varint,5,opt,name=status,proto3,enum=cap.Alert_Status" json:"status,omitempty"`
// The code denoting the nature of the alert message
MessageType Alert_MessageType `protobuf:"varint,6,opt,name=message_type,json=messageType,proto3,enum=cap.Alert_MessageType" json:"message_type,omitempty"`
// The text identifying the source of the alert message
Source string `protobuf:"bytes,7,opt,name=source,proto3" json:"source,omitempty"`
// The code denoting the intended distribution of the alert message
Scope Alert_Scope `protobuf:"varint,8,opt,name=scope,proto3,enum=cap.Alert_Scope" json:"scope,omitempty"`
// The text describing the rule for limiting distribution of the restricted alert message
Restriction string `protobuf:"bytes,9,opt,name=restriction,proto3" json:"restriction,omitempty"`
// The group listing of intended recipients of the alert message
Addresses []string `protobuf:"bytes,10,rep,name=addresses,proto3" json:"addresses,omitempty"`
// The code denoting the special handling of the alert message
Code []string `protobuf:"bytes,11,rep,name=code,proto3" json:"code,omitempty"`
// The text describing the purpose or significance of the alert message
Note string `protobuf:"bytes,12,opt,name=note,proto3" json:"note,omitempty"`
// The group listing identifying earlier message(s) by the alert message
References []*Reference `protobuf:"bytes,13,rep,name=references,proto3" json:"references,omitempty"`
// The group listing naming the referent incident(s) of the alert message
Incidents []string `protobuf:"bytes,14,rep,name=incidents,proto3" json:"incidents,omitempty"`
// The container for all component parts of the info sub-element of the alert message
Infos []*Info `protobuf:"bytes,15,rep,name=infos,proto3" json:"infos,omitempty"`
// The alert has been superseded
Superseded bool `protobuf:"varint,16,opt,name=superseded,proto3" json:"superseded,omitempty"`
// System from which the alert was received
System string `protobuf:"bytes,17,opt,name=system,proto3" json:"system,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Alert) Reset() { *m = Alert{} }
func (m *Alert) String() string { return proto.CompactTextString(m) }
func (*Alert) ProtoMessage() {}
func (*Alert) Descriptor() ([]byte, []int) {
return fileDescriptor_cap_5131ed39f6c4e353, []int{4}
}
func (m *Alert) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Alert.Unmarshal(m, b)
}
func (m *Alert) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Alert.Marshal(b, m, deterministic)
}
func (dst *Alert) XXX_Merge(src proto.Message) {
xxx_messageInfo_Alert.Merge(dst, src)
}
func (m *Alert) XXX_Size() int {
return xxx_messageInfo_Alert.Size(m)
}
func (m *Alert) XXX_DiscardUnknown() {
xxx_messageInfo_Alert.DiscardUnknown(m)
}
var xxx_messageInfo_Alert proto.InternalMessageInfo
func (m *Alert) GetId() string {
if m != nil {
return m.Id
}
return ""
}
func (m *Alert) GetIdentifier() string {
if m != nil {
return m.Identifier
}
return ""
}
func (m *Alert) GetSender() string {
if m != nil {
return m.Sender
}
return ""
}
func (m *Alert) GetSent() *timestamp.Timestamp {
if m != nil {
return m.Sent
}
return nil
}
func (m *Alert) GetStatus() Alert_Status {
if m != nil {