blob: f51a7b7d9d67d50df92016cb93c1b2c4f4375b55 [file] [log] [blame]
Maninder12b909f2020-10-23 14:23:36 +05301// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: voltha_protos/events.proto
3
4package voltha
5
6import (
7 fmt "fmt"
8 proto "github.com/golang/protobuf/proto"
9 timestamp "github.com/golang/protobuf/ptypes/timestamp"
Manindere2af7e42020-12-04 11:46:26 +053010 common "github.com/opencord/voltha-protos/v4/go/common"
Maninder12b909f2020-10-23 14:23:36 +053011 _ "google.golang.org/genproto/googleapis/api/annotations"
12 math "math"
13)
14
15// Reference imports to suppress errors if they are not otherwise used.
16var _ = proto.Marshal
17var _ = fmt.Errorf
18var _ = math.Inf
19
20// This is a compile-time assertion to ensure that this generated file
21// is compatible with the proto package it is being compiled against.
22// A compilation error at this line likely means your copy of the
23// proto package needs to be updated.
24const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
25
26type ConfigEventType_Types int32
27
28const (
29 ConfigEventType_add ConfigEventType_Types = 0
30 ConfigEventType_remove ConfigEventType_Types = 1
31 ConfigEventType_update ConfigEventType_Types = 2
32)
33
34var ConfigEventType_Types_name = map[int32]string{
35 0: "add",
36 1: "remove",
37 2: "update",
38}
39
40var ConfigEventType_Types_value = map[string]int32{
41 "add": 0,
42 "remove": 1,
43 "update": 2,
44}
45
46func (x ConfigEventType_Types) String() string {
47 return proto.EnumName(ConfigEventType_Types_name, int32(x))
48}
49
50func (ConfigEventType_Types) EnumDescriptor() ([]byte, []int) {
51 return fileDescriptor_e63e6c07044fd2c4, []int{0, 0}
52}
53
54type KpiEventType_Types int32
55
56const (
57 KpiEventType_slice KpiEventType_Types = 0
58 KpiEventType_ts KpiEventType_Types = 1
59)
60
61var KpiEventType_Types_name = map[int32]string{
62 0: "slice",
63 1: "ts",
64}
65
66var KpiEventType_Types_value = map[string]int32{
67 "slice": 0,
68 "ts": 1,
69}
70
71func (x KpiEventType_Types) String() string {
72 return proto.EnumName(KpiEventType_Types_name, int32(x))
73}
74
75func (KpiEventType_Types) EnumDescriptor() ([]byte, []int) {
76 return fileDescriptor_e63e6c07044fd2c4, []int{2, 0}
77}
78
79type EventCategory_Types int32
80
81const (
82 EventCategory_COMMUNICATION EventCategory_Types = 0
83 EventCategory_ENVIRONMENT EventCategory_Types = 1
84 EventCategory_EQUIPMENT EventCategory_Types = 2
85 EventCategory_SERVICE EventCategory_Types = 3
86 EventCategory_PROCESSING EventCategory_Types = 4
87 EventCategory_SECURITY EventCategory_Types = 5
88)
89
90var EventCategory_Types_name = map[int32]string{
91 0: "COMMUNICATION",
92 1: "ENVIRONMENT",
93 2: "EQUIPMENT",
94 3: "SERVICE",
95 4: "PROCESSING",
96 5: "SECURITY",
97}
98
99var EventCategory_Types_value = map[string]int32{
100 "COMMUNICATION": 0,
101 "ENVIRONMENT": 1,
102 "EQUIPMENT": 2,
103 "SERVICE": 3,
104 "PROCESSING": 4,
105 "SECURITY": 5,
106}
107
108func (x EventCategory_Types) String() string {
109 return proto.EnumName(EventCategory_Types_name, int32(x))
110}
111
112func (EventCategory_Types) EnumDescriptor() ([]byte, []int) {
Manindere2af7e42020-12-04 11:46:26 +0530113 return fileDescriptor_e63e6c07044fd2c4, []int{10, 0}
Maninder12b909f2020-10-23 14:23:36 +0530114}
115
116type EventSubCategory_Types int32
117
118const (
119 EventSubCategory_PON EventSubCategory_Types = 0
120 EventSubCategory_OLT EventSubCategory_Types = 1
121 EventSubCategory_ONT EventSubCategory_Types = 2
122 EventSubCategory_ONU EventSubCategory_Types = 3
123 EventSubCategory_NNI EventSubCategory_Types = 4
124)
125
126var EventSubCategory_Types_name = map[int32]string{
127 0: "PON",
128 1: "OLT",
129 2: "ONT",
130 3: "ONU",
131 4: "NNI",
132}
133
134var EventSubCategory_Types_value = map[string]int32{
135 "PON": 0,
136 "OLT": 1,
137 "ONT": 2,
138 "ONU": 3,
139 "NNI": 4,
140}
141
142func (x EventSubCategory_Types) String() string {
143 return proto.EnumName(EventSubCategory_Types_name, int32(x))
144}
145
146func (EventSubCategory_Types) EnumDescriptor() ([]byte, []int) {
Manindere2af7e42020-12-04 11:46:26 +0530147 return fileDescriptor_e63e6c07044fd2c4, []int{11, 0}
Maninder12b909f2020-10-23 14:23:36 +0530148}
149
150type EventType_Types int32
151
152const (
153 EventType_CONFIG_EVENT EventType_Types = 0
154 EventType_KPI_EVENT EventType_Types = 1
155 EventType_KPI_EVENT2 EventType_Types = 2
156 EventType_DEVICE_EVENT EventType_Types = 3
Manindere2af7e42020-12-04 11:46:26 +0530157 EventType_RPC_EVENT EventType_Types = 4
Maninder12b909f2020-10-23 14:23:36 +0530158)
159
160var EventType_Types_name = map[int32]string{
161 0: "CONFIG_EVENT",
162 1: "KPI_EVENT",
163 2: "KPI_EVENT2",
164 3: "DEVICE_EVENT",
Manindere2af7e42020-12-04 11:46:26 +0530165 4: "RPC_EVENT",
Maninder12b909f2020-10-23 14:23:36 +0530166}
167
168var EventType_Types_value = map[string]int32{
169 "CONFIG_EVENT": 0,
170 "KPI_EVENT": 1,
171 "KPI_EVENT2": 2,
172 "DEVICE_EVENT": 3,
Manindere2af7e42020-12-04 11:46:26 +0530173 "RPC_EVENT": 4,
Maninder12b909f2020-10-23 14:23:36 +0530174}
175
176func (x EventType_Types) String() string {
177 return proto.EnumName(EventType_Types_name, int32(x))
178}
179
180func (EventType_Types) EnumDescriptor() ([]byte, []int) {
Manindere2af7e42020-12-04 11:46:26 +0530181 return fileDescriptor_e63e6c07044fd2c4, []int{12, 0}
Maninder12b909f2020-10-23 14:23:36 +0530182}
183
184type ConfigEventType struct {
185 XXX_NoUnkeyedLiteral struct{} `json:"-"`
186 XXX_unrecognized []byte `json:"-"`
187 XXX_sizecache int32 `json:"-"`
188}
189
190func (m *ConfigEventType) Reset() { *m = ConfigEventType{} }
191func (m *ConfigEventType) String() string { return proto.CompactTextString(m) }
192func (*ConfigEventType) ProtoMessage() {}
193func (*ConfigEventType) Descriptor() ([]byte, []int) {
194 return fileDescriptor_e63e6c07044fd2c4, []int{0}
195}
196
197func (m *ConfigEventType) XXX_Unmarshal(b []byte) error {
198 return xxx_messageInfo_ConfigEventType.Unmarshal(m, b)
199}
200func (m *ConfigEventType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
201 return xxx_messageInfo_ConfigEventType.Marshal(b, m, deterministic)
202}
203func (m *ConfigEventType) XXX_Merge(src proto.Message) {
204 xxx_messageInfo_ConfigEventType.Merge(m, src)
205}
206func (m *ConfigEventType) XXX_Size() int {
207 return xxx_messageInfo_ConfigEventType.Size(m)
208}
209func (m *ConfigEventType) XXX_DiscardUnknown() {
210 xxx_messageInfo_ConfigEventType.DiscardUnknown(m)
211}
212
213var xxx_messageInfo_ConfigEventType proto.InternalMessageInfo
214
215type ConfigEvent struct {
216 Type ConfigEventType_Types `protobuf:"varint,1,opt,name=type,proto3,enum=voltha.ConfigEventType_Types" json:"type,omitempty"`
217 Hash string `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"`
218 Data string `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
219 XXX_NoUnkeyedLiteral struct{} `json:"-"`
220 XXX_unrecognized []byte `json:"-"`
221 XXX_sizecache int32 `json:"-"`
222}
223
224func (m *ConfigEvent) Reset() { *m = ConfigEvent{} }
225func (m *ConfigEvent) String() string { return proto.CompactTextString(m) }
226func (*ConfigEvent) ProtoMessage() {}
227func (*ConfigEvent) Descriptor() ([]byte, []int) {
228 return fileDescriptor_e63e6c07044fd2c4, []int{1}
229}
230
231func (m *ConfigEvent) XXX_Unmarshal(b []byte) error {
232 return xxx_messageInfo_ConfigEvent.Unmarshal(m, b)
233}
234func (m *ConfigEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
235 return xxx_messageInfo_ConfigEvent.Marshal(b, m, deterministic)
236}
237func (m *ConfigEvent) XXX_Merge(src proto.Message) {
238 xxx_messageInfo_ConfigEvent.Merge(m, src)
239}
240func (m *ConfigEvent) XXX_Size() int {
241 return xxx_messageInfo_ConfigEvent.Size(m)
242}
243func (m *ConfigEvent) XXX_DiscardUnknown() {
244 xxx_messageInfo_ConfigEvent.DiscardUnknown(m)
245}
246
247var xxx_messageInfo_ConfigEvent proto.InternalMessageInfo
248
249func (m *ConfigEvent) GetType() ConfigEventType_Types {
250 if m != nil {
251 return m.Type
252 }
253 return ConfigEventType_add
254}
255
256func (m *ConfigEvent) GetHash() string {
257 if m != nil {
258 return m.Hash
259 }
260 return ""
261}
262
263func (m *ConfigEvent) GetData() string {
264 if m != nil {
265 return m.Data
266 }
267 return ""
268}
269
270type KpiEventType struct {
271 XXX_NoUnkeyedLiteral struct{} `json:"-"`
272 XXX_unrecognized []byte `json:"-"`
273 XXX_sizecache int32 `json:"-"`
274}
275
276func (m *KpiEventType) Reset() { *m = KpiEventType{} }
277func (m *KpiEventType) String() string { return proto.CompactTextString(m) }
278func (*KpiEventType) ProtoMessage() {}
279func (*KpiEventType) Descriptor() ([]byte, []int) {
280 return fileDescriptor_e63e6c07044fd2c4, []int{2}
281}
282
283func (m *KpiEventType) XXX_Unmarshal(b []byte) error {
284 return xxx_messageInfo_KpiEventType.Unmarshal(m, b)
285}
286func (m *KpiEventType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
287 return xxx_messageInfo_KpiEventType.Marshal(b, m, deterministic)
288}
289func (m *KpiEventType) XXX_Merge(src proto.Message) {
290 xxx_messageInfo_KpiEventType.Merge(m, src)
291}
292func (m *KpiEventType) XXX_Size() int {
293 return xxx_messageInfo_KpiEventType.Size(m)
294}
295func (m *KpiEventType) XXX_DiscardUnknown() {
296 xxx_messageInfo_KpiEventType.DiscardUnknown(m)
297}
298
299var xxx_messageInfo_KpiEventType proto.InternalMessageInfo
300
301//
302// Struct to convey a dictionary of metric metadata.
303type MetricMetaData struct {
304 Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
305 Ts float64 `protobuf:"fixed64,2,opt,name=ts,proto3" json:"ts,omitempty"`
306 LogicalDeviceId string `protobuf:"bytes,3,opt,name=logical_device_id,json=logicalDeviceId,proto3" json:"logical_device_id,omitempty"`
307 // (equivalent to the DPID that ONOS has
308 // for the VOLTHA device without the
309 // 'of:' prefix
310 SerialNo string `protobuf:"bytes,4,opt,name=serial_no,json=serialNo,proto3" json:"serial_no,omitempty"`
311 DeviceId string `protobuf:"bytes,5,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
312 Context map[string]string `protobuf:"bytes,6,rep,name=context,proto3" json:"context,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
313 Uuid string `protobuf:"bytes,7,opt,name=uuid,proto3" json:"uuid,omitempty"`
314 XXX_NoUnkeyedLiteral struct{} `json:"-"`
315 XXX_unrecognized []byte `json:"-"`
316 XXX_sizecache int32 `json:"-"`
317}
318
319func (m *MetricMetaData) Reset() { *m = MetricMetaData{} }
320func (m *MetricMetaData) String() string { return proto.CompactTextString(m) }
321func (*MetricMetaData) ProtoMessage() {}
322func (*MetricMetaData) Descriptor() ([]byte, []int) {
323 return fileDescriptor_e63e6c07044fd2c4, []int{3}
324}
325
326func (m *MetricMetaData) XXX_Unmarshal(b []byte) error {
327 return xxx_messageInfo_MetricMetaData.Unmarshal(m, b)
328}
329func (m *MetricMetaData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
330 return xxx_messageInfo_MetricMetaData.Marshal(b, m, deterministic)
331}
332func (m *MetricMetaData) XXX_Merge(src proto.Message) {
333 xxx_messageInfo_MetricMetaData.Merge(m, src)
334}
335func (m *MetricMetaData) XXX_Size() int {
336 return xxx_messageInfo_MetricMetaData.Size(m)
337}
338func (m *MetricMetaData) XXX_DiscardUnknown() {
339 xxx_messageInfo_MetricMetaData.DiscardUnknown(m)
340}
341
342var xxx_messageInfo_MetricMetaData proto.InternalMessageInfo
343
344func (m *MetricMetaData) GetTitle() string {
345 if m != nil {
346 return m.Title
347 }
348 return ""
349}
350
351func (m *MetricMetaData) GetTs() float64 {
352 if m != nil {
353 return m.Ts
354 }
355 return 0
356}
357
358func (m *MetricMetaData) GetLogicalDeviceId() string {
359 if m != nil {
360 return m.LogicalDeviceId
361 }
362 return ""
363}
364
365func (m *MetricMetaData) GetSerialNo() string {
366 if m != nil {
367 return m.SerialNo
368 }
369 return ""
370}
371
372func (m *MetricMetaData) GetDeviceId() string {
373 if m != nil {
374 return m.DeviceId
375 }
376 return ""
377}
378
379func (m *MetricMetaData) GetContext() map[string]string {
380 if m != nil {
381 return m.Context
382 }
383 return nil
384}
385
386func (m *MetricMetaData) GetUuid() string {
387 if m != nil {
388 return m.Uuid
389 }
390 return ""
391}
392
393//
394// Struct to convey a dictionary of metric->value pairs. Typically used in
395// pure shared-timestamp or shared-timestamp + shared object prefix situations.
396type MetricValuePairs struct {
397 // Metric / value pairs.
398 Metrics map[string]float32 `protobuf:"bytes,1,rep,name=metrics,proto3" json:"metrics,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"fixed32,2,opt,name=value,proto3"`
399 XXX_NoUnkeyedLiteral struct{} `json:"-"`
400 XXX_unrecognized []byte `json:"-"`
401 XXX_sizecache int32 `json:"-"`
402}
403
404func (m *MetricValuePairs) Reset() { *m = MetricValuePairs{} }
405func (m *MetricValuePairs) String() string { return proto.CompactTextString(m) }
406func (*MetricValuePairs) ProtoMessage() {}
407func (*MetricValuePairs) Descriptor() ([]byte, []int) {
408 return fileDescriptor_e63e6c07044fd2c4, []int{4}
409}
410
411func (m *MetricValuePairs) XXX_Unmarshal(b []byte) error {
412 return xxx_messageInfo_MetricValuePairs.Unmarshal(m, b)
413}
414func (m *MetricValuePairs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
415 return xxx_messageInfo_MetricValuePairs.Marshal(b, m, deterministic)
416}
417func (m *MetricValuePairs) XXX_Merge(src proto.Message) {
418 xxx_messageInfo_MetricValuePairs.Merge(m, src)
419}
420func (m *MetricValuePairs) XXX_Size() int {
421 return xxx_messageInfo_MetricValuePairs.Size(m)
422}
423func (m *MetricValuePairs) XXX_DiscardUnknown() {
424 xxx_messageInfo_MetricValuePairs.DiscardUnknown(m)
425}
426
427var xxx_messageInfo_MetricValuePairs proto.InternalMessageInfo
428
429func (m *MetricValuePairs) GetMetrics() map[string]float32 {
430 if m != nil {
431 return m.Metrics
432 }
433 return nil
434}
435
436//
437// Struct to group metadata for a metric (or group of metrics) with the key-value
438// pairs of collected metrics
439type MetricInformation struct {
440 Metadata *MetricMetaData `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
441 Metrics map[string]float32 `protobuf:"bytes,2,rep,name=metrics,proto3" json:"metrics,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"fixed32,2,opt,name=value,proto3"`
442 XXX_NoUnkeyedLiteral struct{} `json:"-"`
443 XXX_unrecognized []byte `json:"-"`
444 XXX_sizecache int32 `json:"-"`
445}
446
447func (m *MetricInformation) Reset() { *m = MetricInformation{} }
448func (m *MetricInformation) String() string { return proto.CompactTextString(m) }
449func (*MetricInformation) ProtoMessage() {}
450func (*MetricInformation) Descriptor() ([]byte, []int) {
451 return fileDescriptor_e63e6c07044fd2c4, []int{5}
452}
453
454func (m *MetricInformation) XXX_Unmarshal(b []byte) error {
455 return xxx_messageInfo_MetricInformation.Unmarshal(m, b)
456}
457func (m *MetricInformation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
458 return xxx_messageInfo_MetricInformation.Marshal(b, m, deterministic)
459}
460func (m *MetricInformation) XXX_Merge(src proto.Message) {
461 xxx_messageInfo_MetricInformation.Merge(m, src)
462}
463func (m *MetricInformation) XXX_Size() int {
464 return xxx_messageInfo_MetricInformation.Size(m)
465}
466func (m *MetricInformation) XXX_DiscardUnknown() {
467 xxx_messageInfo_MetricInformation.DiscardUnknown(m)
468}
469
470var xxx_messageInfo_MetricInformation proto.InternalMessageInfo
471
472func (m *MetricInformation) GetMetadata() *MetricMetaData {
473 if m != nil {
474 return m.Metadata
475 }
476 return nil
477}
478
479func (m *MetricInformation) GetMetrics() map[string]float32 {
480 if m != nil {
481 return m.Metrics
482 }
483 return nil
484}
485
486//
487// Legacy KPI Event structured. In mid-August, the KPI event format was updated
488// to a more easily parsable format. See VOL-1140
489// for more information.
490type KpiEvent struct {
491 Type KpiEventType_Types `protobuf:"varint,1,opt,name=type,proto3,enum=voltha.KpiEventType_Types" json:"type,omitempty"`
492 Ts float32 `protobuf:"fixed32,2,opt,name=ts,proto3" json:"ts,omitempty"`
493 Prefixes map[string]*MetricValuePairs `protobuf:"bytes,3,rep,name=prefixes,proto3" json:"prefixes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
494 XXX_NoUnkeyedLiteral struct{} `json:"-"`
495 XXX_unrecognized []byte `json:"-"`
496 XXX_sizecache int32 `json:"-"`
497}
498
499func (m *KpiEvent) Reset() { *m = KpiEvent{} }
500func (m *KpiEvent) String() string { return proto.CompactTextString(m) }
501func (*KpiEvent) ProtoMessage() {}
502func (*KpiEvent) Descriptor() ([]byte, []int) {
503 return fileDescriptor_e63e6c07044fd2c4, []int{6}
504}
505
506func (m *KpiEvent) XXX_Unmarshal(b []byte) error {
507 return xxx_messageInfo_KpiEvent.Unmarshal(m, b)
508}
509func (m *KpiEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
510 return xxx_messageInfo_KpiEvent.Marshal(b, m, deterministic)
511}
512func (m *KpiEvent) XXX_Merge(src proto.Message) {
513 xxx_messageInfo_KpiEvent.Merge(m, src)
514}
515func (m *KpiEvent) XXX_Size() int {
516 return xxx_messageInfo_KpiEvent.Size(m)
517}
518func (m *KpiEvent) XXX_DiscardUnknown() {
519 xxx_messageInfo_KpiEvent.DiscardUnknown(m)
520}
521
522var xxx_messageInfo_KpiEvent proto.InternalMessageInfo
523
524func (m *KpiEvent) GetType() KpiEventType_Types {
525 if m != nil {
526 return m.Type
527 }
528 return KpiEventType_slice
529}
530
531func (m *KpiEvent) GetTs() float32 {
532 if m != nil {
533 return m.Ts
534 }
535 return 0
536}
537
538func (m *KpiEvent) GetPrefixes() map[string]*MetricValuePairs {
539 if m != nil {
540 return m.Prefixes
541 }
542 return nil
543}
544
545type KpiEvent2 struct {
546 // Type of KPI Event
547 Type KpiEventType_Types `protobuf:"varint,1,opt,name=type,proto3,enum=voltha.KpiEventType_Types" json:"type,omitempty"`
548 // Fields used when for slice:
549 Ts float64 `protobuf:"fixed64,2,opt,name=ts,proto3" json:"ts,omitempty"`
550 SliceData []*MetricInformation `protobuf:"bytes,3,rep,name=slice_data,json=sliceData,proto3" json:"slice_data,omitempty"`
551 XXX_NoUnkeyedLiteral struct{} `json:"-"`
552 XXX_unrecognized []byte `json:"-"`
553 XXX_sizecache int32 `json:"-"`
554}
555
556func (m *KpiEvent2) Reset() { *m = KpiEvent2{} }
557func (m *KpiEvent2) String() string { return proto.CompactTextString(m) }
558func (*KpiEvent2) ProtoMessage() {}
559func (*KpiEvent2) Descriptor() ([]byte, []int) {
560 return fileDescriptor_e63e6c07044fd2c4, []int{7}
561}
562
563func (m *KpiEvent2) XXX_Unmarshal(b []byte) error {
564 return xxx_messageInfo_KpiEvent2.Unmarshal(m, b)
565}
566func (m *KpiEvent2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
567 return xxx_messageInfo_KpiEvent2.Marshal(b, m, deterministic)
568}
569func (m *KpiEvent2) XXX_Merge(src proto.Message) {
570 xxx_messageInfo_KpiEvent2.Merge(m, src)
571}
572func (m *KpiEvent2) XXX_Size() int {
573 return xxx_messageInfo_KpiEvent2.Size(m)
574}
575func (m *KpiEvent2) XXX_DiscardUnknown() {
576 xxx_messageInfo_KpiEvent2.DiscardUnknown(m)
577}
578
579var xxx_messageInfo_KpiEvent2 proto.InternalMessageInfo
580
581func (m *KpiEvent2) GetType() KpiEventType_Types {
582 if m != nil {
583 return m.Type
584 }
585 return KpiEventType_slice
586}
587
588func (m *KpiEvent2) GetTs() float64 {
589 if m != nil {
590 return m.Ts
591 }
592 return 0
593}
594
595func (m *KpiEvent2) GetSliceData() []*MetricInformation {
596 if m != nil {
597 return m.SliceData
598 }
599 return nil
600}
601
602//
603// Describes the events specific to device
604type DeviceEvent struct {
605 // Identifier of the originating resource of the event, for ex: device_id
606 ResourceId string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
607 // device_event_name indicates clearly the name of the device event
608 DeviceEventName string `protobuf:"bytes,2,opt,name=device_event_name,json=deviceEventName,proto3" json:"device_event_name,omitempty"`
609 // Textual explanation of the device event
610 Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
611 // Key/Value storage for extra information that may give context to the event
612 Context map[string]string `protobuf:"bytes,4,rep,name=context,proto3" json:"context,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
613 XXX_NoUnkeyedLiteral struct{} `json:"-"`
614 XXX_unrecognized []byte `json:"-"`
615 XXX_sizecache int32 `json:"-"`
616}
617
618func (m *DeviceEvent) Reset() { *m = DeviceEvent{} }
619func (m *DeviceEvent) String() string { return proto.CompactTextString(m) }
620func (*DeviceEvent) ProtoMessage() {}
621func (*DeviceEvent) Descriptor() ([]byte, []int) {
622 return fileDescriptor_e63e6c07044fd2c4, []int{8}
623}
624
625func (m *DeviceEvent) XXX_Unmarshal(b []byte) error {
626 return xxx_messageInfo_DeviceEvent.Unmarshal(m, b)
627}
628func (m *DeviceEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
629 return xxx_messageInfo_DeviceEvent.Marshal(b, m, deterministic)
630}
631func (m *DeviceEvent) XXX_Merge(src proto.Message) {
632 xxx_messageInfo_DeviceEvent.Merge(m, src)
633}
634func (m *DeviceEvent) XXX_Size() int {
635 return xxx_messageInfo_DeviceEvent.Size(m)
636}
637func (m *DeviceEvent) XXX_DiscardUnknown() {
638 xxx_messageInfo_DeviceEvent.DiscardUnknown(m)
639}
640
641var xxx_messageInfo_DeviceEvent proto.InternalMessageInfo
642
643func (m *DeviceEvent) GetResourceId() string {
644 if m != nil {
645 return m.ResourceId
646 }
647 return ""
648}
649
650func (m *DeviceEvent) GetDeviceEventName() string {
651 if m != nil {
652 return m.DeviceEventName
653 }
654 return ""
655}
656
657func (m *DeviceEvent) GetDescription() string {
658 if m != nil {
659 return m.Description
660 }
661 return ""
662}
663
664func (m *DeviceEvent) GetContext() map[string]string {
665 if m != nil {
666 return m.Context
667 }
668 return nil
669}
670
671//
Manindere2af7e42020-12-04 11:46:26 +0530672// Describes the events specific to an RPC request
673type RPCEvent struct {
674 // RPC name
675 Rpc string `protobuf:"bytes,1,opt,name=rpc,proto3" json:"rpc,omitempty"`
676 // The operation id of that request. Can be a log correlation ID
677 OperationId string `protobuf:"bytes,2,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"`
678 // Identifies the service name originating the event
679 Service string `protobuf:"bytes,3,opt,name=service,proto3" json:"service,omitempty"`
680 // Identifies the stack originating the event
681 StackId string `protobuf:"bytes,4,opt,name=stack_id,json=stackId,proto3" json:"stack_id,omitempty"`
682 // Identifies the resource upon which the action is taken, e.g. device_id
683 ResourceId string `protobuf:"bytes,5,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
684 // Textual explanation of the event
685 Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
686 // Key/Value storage for extra information that may give context to the event
687 Context map[string]string `protobuf:"bytes,7,rep,name=context,proto3" json:"context,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
688 // Status of the RPC Event
689 Status *common.OperationResp `protobuf:"bytes,8,opt,name=status,proto3" json:"status,omitempty"`
690 XXX_NoUnkeyedLiteral struct{} `json:"-"`
691 XXX_unrecognized []byte `json:"-"`
692 XXX_sizecache int32 `json:"-"`
693}
694
695func (m *RPCEvent) Reset() { *m = RPCEvent{} }
696func (m *RPCEvent) String() string { return proto.CompactTextString(m) }
697func (*RPCEvent) ProtoMessage() {}
698func (*RPCEvent) Descriptor() ([]byte, []int) {
699 return fileDescriptor_e63e6c07044fd2c4, []int{9}
700}
701
702func (m *RPCEvent) XXX_Unmarshal(b []byte) error {
703 return xxx_messageInfo_RPCEvent.Unmarshal(m, b)
704}
705func (m *RPCEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
706 return xxx_messageInfo_RPCEvent.Marshal(b, m, deterministic)
707}
708func (m *RPCEvent) XXX_Merge(src proto.Message) {
709 xxx_messageInfo_RPCEvent.Merge(m, src)
710}
711func (m *RPCEvent) XXX_Size() int {
712 return xxx_messageInfo_RPCEvent.Size(m)
713}
714func (m *RPCEvent) XXX_DiscardUnknown() {
715 xxx_messageInfo_RPCEvent.DiscardUnknown(m)
716}
717
718var xxx_messageInfo_RPCEvent proto.InternalMessageInfo
719
720func (m *RPCEvent) GetRpc() string {
721 if m != nil {
722 return m.Rpc
723 }
724 return ""
725}
726
727func (m *RPCEvent) GetOperationId() string {
728 if m != nil {
729 return m.OperationId
730 }
731 return ""
732}
733
734func (m *RPCEvent) GetService() string {
735 if m != nil {
736 return m.Service
737 }
738 return ""
739}
740
741func (m *RPCEvent) GetStackId() string {
742 if m != nil {
743 return m.StackId
744 }
745 return ""
746}
747
748func (m *RPCEvent) GetResourceId() string {
749 if m != nil {
750 return m.ResourceId
751 }
752 return ""
753}
754
755func (m *RPCEvent) GetDescription() string {
756 if m != nil {
757 return m.Description
758 }
759 return ""
760}
761
762func (m *RPCEvent) GetContext() map[string]string {
763 if m != nil {
764 return m.Context
765 }
766 return nil
767}
768
769func (m *RPCEvent) GetStatus() *common.OperationResp {
770 if m != nil {
771 return m.Status
772 }
773 return nil
774}
775
776//
Maninder12b909f2020-10-23 14:23:36 +0530777// Identify the area of the system impacted by the event.
778type EventCategory struct {
779 XXX_NoUnkeyedLiteral struct{} `json:"-"`
780 XXX_unrecognized []byte `json:"-"`
781 XXX_sizecache int32 `json:"-"`
782}
783
784func (m *EventCategory) Reset() { *m = EventCategory{} }
785func (m *EventCategory) String() string { return proto.CompactTextString(m) }
786func (*EventCategory) ProtoMessage() {}
787func (*EventCategory) Descriptor() ([]byte, []int) {
Manindere2af7e42020-12-04 11:46:26 +0530788 return fileDescriptor_e63e6c07044fd2c4, []int{10}
Maninder12b909f2020-10-23 14:23:36 +0530789}
790
791func (m *EventCategory) XXX_Unmarshal(b []byte) error {
792 return xxx_messageInfo_EventCategory.Unmarshal(m, b)
793}
794func (m *EventCategory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
795 return xxx_messageInfo_EventCategory.Marshal(b, m, deterministic)
796}
797func (m *EventCategory) XXX_Merge(src proto.Message) {
798 xxx_messageInfo_EventCategory.Merge(m, src)
799}
800func (m *EventCategory) XXX_Size() int {
801 return xxx_messageInfo_EventCategory.Size(m)
802}
803func (m *EventCategory) XXX_DiscardUnknown() {
804 xxx_messageInfo_EventCategory.DiscardUnknown(m)
805}
806
807var xxx_messageInfo_EventCategory proto.InternalMessageInfo
808
809//
810// Identify the functional category originating the event
811type EventSubCategory struct {
812 XXX_NoUnkeyedLiteral struct{} `json:"-"`
813 XXX_unrecognized []byte `json:"-"`
814 XXX_sizecache int32 `json:"-"`
815}
816
817func (m *EventSubCategory) Reset() { *m = EventSubCategory{} }
818func (m *EventSubCategory) String() string { return proto.CompactTextString(m) }
819func (*EventSubCategory) ProtoMessage() {}
820func (*EventSubCategory) Descriptor() ([]byte, []int) {
Manindere2af7e42020-12-04 11:46:26 +0530821 return fileDescriptor_e63e6c07044fd2c4, []int{11}
Maninder12b909f2020-10-23 14:23:36 +0530822}
823
824func (m *EventSubCategory) XXX_Unmarshal(b []byte) error {
825 return xxx_messageInfo_EventSubCategory.Unmarshal(m, b)
826}
827func (m *EventSubCategory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
828 return xxx_messageInfo_EventSubCategory.Marshal(b, m, deterministic)
829}
830func (m *EventSubCategory) XXX_Merge(src proto.Message) {
831 xxx_messageInfo_EventSubCategory.Merge(m, src)
832}
833func (m *EventSubCategory) XXX_Size() int {
834 return xxx_messageInfo_EventSubCategory.Size(m)
835}
836func (m *EventSubCategory) XXX_DiscardUnknown() {
837 xxx_messageInfo_EventSubCategory.DiscardUnknown(m)
838}
839
840var xxx_messageInfo_EventSubCategory proto.InternalMessageInfo
841
842//
843// Identify the type of event
844type EventType struct {
845 XXX_NoUnkeyedLiteral struct{} `json:"-"`
846 XXX_unrecognized []byte `json:"-"`
847 XXX_sizecache int32 `json:"-"`
848}
849
850func (m *EventType) Reset() { *m = EventType{} }
851func (m *EventType) String() string { return proto.CompactTextString(m) }
852func (*EventType) ProtoMessage() {}
853func (*EventType) Descriptor() ([]byte, []int) {
Manindere2af7e42020-12-04 11:46:26 +0530854 return fileDescriptor_e63e6c07044fd2c4, []int{12}
Maninder12b909f2020-10-23 14:23:36 +0530855}
856
857func (m *EventType) XXX_Unmarshal(b []byte) error {
858 return xxx_messageInfo_EventType.Unmarshal(m, b)
859}
860func (m *EventType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
861 return xxx_messageInfo_EventType.Marshal(b, m, deterministic)
862}
863func (m *EventType) XXX_Merge(src proto.Message) {
864 xxx_messageInfo_EventType.Merge(m, src)
865}
866func (m *EventType) XXX_Size() int {
867 return xxx_messageInfo_EventType.Size(m)
868}
869func (m *EventType) XXX_DiscardUnknown() {
870 xxx_messageInfo_EventType.DiscardUnknown(m)
871}
872
873var xxx_messageInfo_EventType proto.InternalMessageInfo
874
875//
876// Identify the functional category originating the event
877type EventHeader struct {
878 // Unique ID for this event. e.g. voltha.some_olt.1234
879 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
880 // Refers to the functional area affect by the event
881 Category EventCategory_Types `protobuf:"varint,2,opt,name=category,proto3,enum=voltha.EventCategory_Types" json:"category,omitempty"`
882 // Refers to functional category of the event
883 SubCategory EventSubCategory_Types `protobuf:"varint,3,opt,name=sub_category,json=subCategory,proto3,enum=voltha.EventSubCategory_Types" json:"sub_category,omitempty"`
884 // Refers to the type of the event
885 Type EventType_Types `protobuf:"varint,4,opt,name=type,proto3,enum=voltha.EventType_Types" json:"type,omitempty"`
886 // The version identifier for this event type, thus allowing each
887 // event type to evolve independently. The version should be in the
888 // format “MAJOR.MINOR” format and minor changes must only be additive
889 // and non-breaking.
890 TypeVersion string `protobuf:"bytes,5,opt,name=type_version,json=typeVersion,proto3" json:"type_version,omitempty"`
891 // Timestamp at which the event was first raised.
892 // This represents the UTC time stamp since epoch (in seconds) when the
893 // the event was first raised from the source entity.
894 // If the source entity doesn't send the raised_ts, this shall be set
895 // to timestamp when the event was received.
896 RaisedTs *timestamp.Timestamp `protobuf:"bytes,6,opt,name=raised_ts,json=raisedTs,proto3" json:"raised_ts,omitempty"`
897 // Timestamp at which the event was reported.
898 // This represents the UTC time stamp since epoch (in seconds) when the
899 // the event was reported (this time stamp is >= raised_ts).
900 // If the source entity that reported this event doesn't send the
901 // reported_ts, this shall be set to the same value as raised_ts.
902 ReportedTs *timestamp.Timestamp `protobuf:"bytes,7,opt,name=reported_ts,json=reportedTs,proto3" json:"reported_ts,omitempty"`
903 XXX_NoUnkeyedLiteral struct{} `json:"-"`
904 XXX_unrecognized []byte `json:"-"`
905 XXX_sizecache int32 `json:"-"`
906}
907
908func (m *EventHeader) Reset() { *m = EventHeader{} }
909func (m *EventHeader) String() string { return proto.CompactTextString(m) }
910func (*EventHeader) ProtoMessage() {}
911func (*EventHeader) Descriptor() ([]byte, []int) {
Manindere2af7e42020-12-04 11:46:26 +0530912 return fileDescriptor_e63e6c07044fd2c4, []int{13}
Maninder12b909f2020-10-23 14:23:36 +0530913}
914
915func (m *EventHeader) XXX_Unmarshal(b []byte) error {
916 return xxx_messageInfo_EventHeader.Unmarshal(m, b)
917}
918func (m *EventHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
919 return xxx_messageInfo_EventHeader.Marshal(b, m, deterministic)
920}
921func (m *EventHeader) XXX_Merge(src proto.Message) {
922 xxx_messageInfo_EventHeader.Merge(m, src)
923}
924func (m *EventHeader) XXX_Size() int {
925 return xxx_messageInfo_EventHeader.Size(m)
926}
927func (m *EventHeader) XXX_DiscardUnknown() {
928 xxx_messageInfo_EventHeader.DiscardUnknown(m)
929}
930
931var xxx_messageInfo_EventHeader proto.InternalMessageInfo
932
933func (m *EventHeader) GetId() string {
934 if m != nil {
935 return m.Id
936 }
937 return ""
938}
939
940func (m *EventHeader) GetCategory() EventCategory_Types {
941 if m != nil {
942 return m.Category
943 }
944 return EventCategory_COMMUNICATION
945}
946
947func (m *EventHeader) GetSubCategory() EventSubCategory_Types {
948 if m != nil {
949 return m.SubCategory
950 }
951 return EventSubCategory_PON
952}
953
954func (m *EventHeader) GetType() EventType_Types {
955 if m != nil {
956 return m.Type
957 }
958 return EventType_CONFIG_EVENT
959}
960
961func (m *EventHeader) GetTypeVersion() string {
962 if m != nil {
963 return m.TypeVersion
964 }
965 return ""
966}
967
968func (m *EventHeader) GetRaisedTs() *timestamp.Timestamp {
969 if m != nil {
970 return m.RaisedTs
971 }
972 return nil
973}
974
975func (m *EventHeader) GetReportedTs() *timestamp.Timestamp {
976 if m != nil {
977 return m.ReportedTs
978 }
979 return nil
980}
981
982//
983// Event Structure
984type Event struct {
985 // event header
986 Header *EventHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
987 // oneof event types referred by EventType.
988 //
989 // Types that are valid to be assigned to EventType:
990 // *Event_ConfigEvent
991 // *Event_KpiEvent
992 // *Event_KpiEvent2
993 // *Event_DeviceEvent
Manindere2af7e42020-12-04 11:46:26 +0530994 // *Event_RpcEvent
Maninder12b909f2020-10-23 14:23:36 +0530995 EventType isEvent_EventType `protobuf_oneof:"event_type"`
996 XXX_NoUnkeyedLiteral struct{} `json:"-"`
997 XXX_unrecognized []byte `json:"-"`
998 XXX_sizecache int32 `json:"-"`
999}
1000
1001func (m *Event) Reset() { *m = Event{} }
1002func (m *Event) String() string { return proto.CompactTextString(m) }
1003func (*Event) ProtoMessage() {}
1004func (*Event) Descriptor() ([]byte, []int) {
Manindere2af7e42020-12-04 11:46:26 +05301005 return fileDescriptor_e63e6c07044fd2c4, []int{14}
Maninder12b909f2020-10-23 14:23:36 +05301006}
1007
1008func (m *Event) XXX_Unmarshal(b []byte) error {
1009 return xxx_messageInfo_Event.Unmarshal(m, b)
1010}
1011func (m *Event) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1012 return xxx_messageInfo_Event.Marshal(b, m, deterministic)
1013}
1014func (m *Event) XXX_Merge(src proto.Message) {
1015 xxx_messageInfo_Event.Merge(m, src)
1016}
1017func (m *Event) XXX_Size() int {
1018 return xxx_messageInfo_Event.Size(m)
1019}
1020func (m *Event) XXX_DiscardUnknown() {
1021 xxx_messageInfo_Event.DiscardUnknown(m)
1022}
1023
1024var xxx_messageInfo_Event proto.InternalMessageInfo
1025
1026func (m *Event) GetHeader() *EventHeader {
1027 if m != nil {
1028 return m.Header
1029 }
1030 return nil
1031}
1032
1033type isEvent_EventType interface {
1034 isEvent_EventType()
1035}
1036
1037type Event_ConfigEvent struct {
1038 ConfigEvent *ConfigEvent `protobuf:"bytes,2,opt,name=config_event,json=configEvent,proto3,oneof"`
1039}
1040
1041type Event_KpiEvent struct {
1042 KpiEvent *KpiEvent `protobuf:"bytes,3,opt,name=kpi_event,json=kpiEvent,proto3,oneof"`
1043}
1044
1045type Event_KpiEvent2 struct {
1046 KpiEvent2 *KpiEvent2 `protobuf:"bytes,4,opt,name=kpi_event2,json=kpiEvent2,proto3,oneof"`
1047}
1048
1049type Event_DeviceEvent struct {
1050 DeviceEvent *DeviceEvent `protobuf:"bytes,5,opt,name=device_event,json=deviceEvent,proto3,oneof"`
1051}
1052
Manindere2af7e42020-12-04 11:46:26 +05301053type Event_RpcEvent struct {
1054 RpcEvent *RPCEvent `protobuf:"bytes,6,opt,name=rpc_event,json=rpcEvent,proto3,oneof"`
1055}
1056
Maninder12b909f2020-10-23 14:23:36 +05301057func (*Event_ConfigEvent) isEvent_EventType() {}
1058
1059func (*Event_KpiEvent) isEvent_EventType() {}
1060
1061func (*Event_KpiEvent2) isEvent_EventType() {}
1062
1063func (*Event_DeviceEvent) isEvent_EventType() {}
1064
Manindere2af7e42020-12-04 11:46:26 +05301065func (*Event_RpcEvent) isEvent_EventType() {}
1066
Maninder12b909f2020-10-23 14:23:36 +05301067func (m *Event) GetEventType() isEvent_EventType {
1068 if m != nil {
1069 return m.EventType
1070 }
1071 return nil
1072}
1073
1074func (m *Event) GetConfigEvent() *ConfigEvent {
1075 if x, ok := m.GetEventType().(*Event_ConfigEvent); ok {
1076 return x.ConfigEvent
1077 }
1078 return nil
1079}
1080
1081func (m *Event) GetKpiEvent() *KpiEvent {
1082 if x, ok := m.GetEventType().(*Event_KpiEvent); ok {
1083 return x.KpiEvent
1084 }
1085 return nil
1086}
1087
1088func (m *Event) GetKpiEvent2() *KpiEvent2 {
1089 if x, ok := m.GetEventType().(*Event_KpiEvent2); ok {
1090 return x.KpiEvent2
1091 }
1092 return nil
1093}
1094
1095func (m *Event) GetDeviceEvent() *DeviceEvent {
1096 if x, ok := m.GetEventType().(*Event_DeviceEvent); ok {
1097 return x.DeviceEvent
1098 }
1099 return nil
1100}
1101
Manindere2af7e42020-12-04 11:46:26 +05301102func (m *Event) GetRpcEvent() *RPCEvent {
1103 if x, ok := m.GetEventType().(*Event_RpcEvent); ok {
1104 return x.RpcEvent
1105 }
1106 return nil
1107}
1108
Maninder12b909f2020-10-23 14:23:36 +05301109// XXX_OneofWrappers is for the internal use of the proto package.
1110func (*Event) XXX_OneofWrappers() []interface{} {
1111 return []interface{}{
1112 (*Event_ConfigEvent)(nil),
1113 (*Event_KpiEvent)(nil),
1114 (*Event_KpiEvent2)(nil),
1115 (*Event_DeviceEvent)(nil),
Manindere2af7e42020-12-04 11:46:26 +05301116 (*Event_RpcEvent)(nil),
Maninder12b909f2020-10-23 14:23:36 +05301117 }
1118}
1119
1120func init() {
1121 proto.RegisterEnum("voltha.ConfigEventType_Types", ConfigEventType_Types_name, ConfigEventType_Types_value)
1122 proto.RegisterEnum("voltha.KpiEventType_Types", KpiEventType_Types_name, KpiEventType_Types_value)
1123 proto.RegisterEnum("voltha.EventCategory_Types", EventCategory_Types_name, EventCategory_Types_value)
1124 proto.RegisterEnum("voltha.EventSubCategory_Types", EventSubCategory_Types_name, EventSubCategory_Types_value)
1125 proto.RegisterEnum("voltha.EventType_Types", EventType_Types_name, EventType_Types_value)
1126 proto.RegisterType((*ConfigEventType)(nil), "voltha.ConfigEventType")
1127 proto.RegisterType((*ConfigEvent)(nil), "voltha.ConfigEvent")
1128 proto.RegisterType((*KpiEventType)(nil), "voltha.KpiEventType")
1129 proto.RegisterType((*MetricMetaData)(nil), "voltha.MetricMetaData")
1130 proto.RegisterMapType((map[string]string)(nil), "voltha.MetricMetaData.ContextEntry")
1131 proto.RegisterType((*MetricValuePairs)(nil), "voltha.MetricValuePairs")
1132 proto.RegisterMapType((map[string]float32)(nil), "voltha.MetricValuePairs.MetricsEntry")
1133 proto.RegisterType((*MetricInformation)(nil), "voltha.MetricInformation")
1134 proto.RegisterMapType((map[string]float32)(nil), "voltha.MetricInformation.MetricsEntry")
1135 proto.RegisterType((*KpiEvent)(nil), "voltha.KpiEvent")
1136 proto.RegisterMapType((map[string]*MetricValuePairs)(nil), "voltha.KpiEvent.PrefixesEntry")
1137 proto.RegisterType((*KpiEvent2)(nil), "voltha.KpiEvent2")
1138 proto.RegisterType((*DeviceEvent)(nil), "voltha.DeviceEvent")
1139 proto.RegisterMapType((map[string]string)(nil), "voltha.DeviceEvent.ContextEntry")
Manindere2af7e42020-12-04 11:46:26 +05301140 proto.RegisterType((*RPCEvent)(nil), "voltha.RPCEvent")
1141 proto.RegisterMapType((map[string]string)(nil), "voltha.RPCEvent.ContextEntry")
Maninder12b909f2020-10-23 14:23:36 +05301142 proto.RegisterType((*EventCategory)(nil), "voltha.EventCategory")
1143 proto.RegisterType((*EventSubCategory)(nil), "voltha.EventSubCategory")
1144 proto.RegisterType((*EventType)(nil), "voltha.EventType")
1145 proto.RegisterType((*EventHeader)(nil), "voltha.EventHeader")
1146 proto.RegisterType((*Event)(nil), "voltha.Event")
1147}
1148
1149func init() { proto.RegisterFile("voltha_protos/events.proto", fileDescriptor_e63e6c07044fd2c4) }
1150
1151var fileDescriptor_e63e6c07044fd2c4 = []byte{
Manindere2af7e42020-12-04 11:46:26 +05301152 // 1274 bytes of a gzipped FileDescriptorProto
1153 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x56, 0xdf, 0x6e, 0xdb, 0xb6,
1154 0x17, 0xb6, 0xe4, 0xff, 0x47, 0x4e, 0xa2, 0xb0, 0xbf, 0xdf, 0xe6, 0xba, 0x5b, 0x9b, 0x7a, 0xd8,
1155 0x10, 0xb4, 0xa8, 0x8c, 0x69, 0x05, 0x1a, 0xa4, 0x18, 0xb6, 0xd6, 0xf5, 0x1a, 0xa1, 0x8b, 0xed,
1156 0x29, 0x4e, 0x80, 0xee, 0xc6, 0x60, 0x24, 0xc6, 0x11, 0x62, 0x5b, 0x02, 0x49, 0x1b, 0xcd, 0x03,
1157 0xec, 0x7a, 0x0f, 0xb2, 0xe7, 0xd8, 0xdd, 0xde, 0x60, 0x18, 0xf6, 0x12, 0x7b, 0x80, 0x81, 0x7f,
1158 0x64, 0x4b, 0x6e, 0x8a, 0x5e, 0x04, 0xbb, 0x12, 0x79, 0x78, 0x3e, 0x9e, 0xef, 0x7c, 0xe2, 0x39,
1159 0x24, 0xb4, 0x96, 0xf1, 0x94, 0x5f, 0xe2, 0x71, 0x42, 0x63, 0x1e, 0xb3, 0x0e, 0x59, 0x92, 0x39,
1160 0x67, 0x8e, 0x9c, 0xa1, 0x8a, 0x5a, 0x6b, 0x35, 0xf3, 0x3e, 0x33, 0xc2, 0xb1, 0xf2, 0x68, 0x7d,
1161 0x36, 0x89, 0xe3, 0xc9, 0x94, 0x74, 0x70, 0x12, 0x75, 0xf0, 0x7c, 0x1e, 0x73, 0xcc, 0xa3, 0x78,
1162 0xae, 0xf1, 0xad, 0x07, 0x7a, 0x55, 0xce, 0xce, 0x17, 0x17, 0x1d, 0x1e, 0xcd, 0x08, 0xe3, 0x78,
1163 0x96, 0x68, 0x87, 0x8d, 0xe0, 0x41, 0x3c, 0x9b, 0xc5, 0x73, 0xb5, 0xd6, 0x7e, 0x0e, 0x3b, 0xdd,
1164 0x78, 0x7e, 0x11, 0x4d, 0x7a, 0x82, 0xd2, 0xe8, 0x3a, 0x21, 0xed, 0x7d, 0x28, 0x8b, 0x2f, 0x43,
1165 0x55, 0x28, 0xe2, 0x30, 0xb4, 0x0b, 0x08, 0xa0, 0x42, 0xc9, 0x2c, 0x5e, 0x12, 0xdb, 0x10, 0xe3,
1166 0x45, 0x12, 0x62, 0x4e, 0x6c, 0xb3, 0x7d, 0x09, 0x56, 0x06, 0x8c, 0xbe, 0x86, 0x12, 0xbf, 0x4e,
1167 0x48, 0xd3, 0xd8, 0x33, 0xf6, 0xb7, 0xdd, 0xcf, 0x1d, 0x15, 0xd6, 0xd9, 0xd8, 0xdf, 0x91, 0x9b,
1168 0xfb, 0xd2, 0x15, 0x21, 0x28, 0x5d, 0x62, 0x76, 0xd9, 0x34, 0xf7, 0x8c, 0xfd, 0xba, 0x2f, 0xc7,
1169 0xc2, 0x16, 0x62, 0x8e, 0x9b, 0x45, 0x65, 0x13, 0xe3, 0xf6, 0x23, 0x68, 0xbc, 0x49, 0xa2, 0x35,
1170 0xc7, 0x56, 0xca, 0xb1, 0x0e, 0x65, 0x36, 0x8d, 0x02, 0x62, 0x17, 0x50, 0x05, 0x4c, 0xce, 0x6c,
1171 0xa3, 0xfd, 0x9b, 0x09, 0xdb, 0xc7, 0x84, 0xd3, 0x28, 0x38, 0x26, 0x1c, 0xbf, 0xc2, 0x1c, 0xa3,
1172 0xff, 0x41, 0x99, 0x47, 0x7c, 0xaa, 0xa8, 0xd5, 0x7d, 0x35, 0x41, 0xdb, 0x02, 0x20, 0x43, 0x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45, 0xc8, 0x93, 0x21, 0xb6, 0xb1, 0xdc, 0x4f, 0x6e, 0xd6, 0xcd, 0x5f, 0xf9, 0xa1, 0xef, 0xd7,
1185 0x69, 0x98, 0x32, 0x8d, 0xaf, 0xf2, 0x90, 0xcc, 0xfe, 0xff, 0x41, 0x1e, 0x7f, 0x19, 0x50, 0x4b,
1186 0x0f, 0x2d, 0x72, 0x72, 0xb5, 0xd1, 0x4a, 0x79, 0x64, 0x0f, 0x75, 0xae, 0x30, 0xd6, 0x67, 0xd3,
1187 0x94, 0x67, 0xf3, 0x10, 0x6a, 0x09, 0x25, 0x17, 0xd1, 0x3b, 0xc2, 0x9a, 0x45, 0x99, 0xcb, 0xfd,
1188 0xcd, 0x3d, 0x9c, 0xa1, 0x76, 0x50, 0x39, 0xac, 0xfc, 0x5b, 0xa7, 0xb0, 0x95, 0x5b, 0xba, 0x21,
1189 0x0b, 0x27, 0x9b, 0x85, 0xe5, 0x36, 0x3f, 0xf4, 0xbb, 0xb3, 0xf9, 0xfd, 0x62, 0x40, 0x3d, 0x8d,
1190 0xed, 0xde, 0x22, 0x41, 0x55, 0x7c, 0x07, 0x00, 0xb2, 0x90, 0xc7, 0xba, 0xf6, 0x45, 0x8a, 0x77,
1191 0x3f, 0xf8, 0xbb, 0xfc, 0xba, 0x74, 0x16, 0xff, 0xbb, 0xfd, 0x8f, 0x01, 0x96, 0xaa, 0x4b, 0x25,
1192 0xf5, 0x03, 0xb0, 0x28, 0x61, 0xf1, 0x82, 0xaa, 0xfa, 0x53, 0x59, 0x42, 0x6a, 0xf2, 0x42, 0x51,
1193 0xe7, 0xba, 0x3c, 0x65, 0x1f, 0x1e, 0xcf, 0xf1, 0x2c, 0x2d, 0x8c, 0x9d, 0x70, 0xbd, 0x51, 0x1f,
1194 0xcf, 0x08, 0xda, 0x03, 0x2b, 0x24, 0x2c, 0xa0, 0x51, 0x22, 0xc2, 0xea, 0x6e, 0x90, 0x35, 0xa1,
1195 0xc3, 0x75, 0x3d, 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xe8, 0xa7, 0x39, 0xe8, 0x7b, 0x1d, 0xe9, 0x21, 0x34, 0xc4, 0x77,
1218 0xbc, 0x24, 0x94, 0x89, 0x93, 0xab, 0x8e, 0xb6, 0x25, 0x6c, 0x67, 0xca, 0x84, 0x9e, 0x41, 0x9d,
1219 0xe2, 0x88, 0x91, 0x70, 0xcc, 0x99, 0x3c, 0xd9, 0x96, 0xdb, 0x72, 0xd4, 0xf3, 0xcb, 0x49, 0x9f,
1220 0x5f, 0xce, 0x28, 0x7d, 0x7e, 0xf9, 0x35, 0xe5, 0x3c, 0x62, 0xe8, 0xb9, 0xa8, 0x9a, 0x24, 0xa6,
1221 0x5c, 0x41, 0xab, 0x1f, 0x85, 0x42, 0xea, 0x3e, 0x62, 0xed, 0x3f, 0x4c, 0x28, 0xab, 0x32, 0x7f,
1222 0x0c, 0x95, 0x4b, 0xa9, 0xb2, 0xbe, 0x02, 0xef, 0xe4, 0x32, 0x52, 0x3f, 0xc0, 0xd7, 0x2e, 0xe8,
1223 0x00, 0x1a, 0x81, 0x7c, 0x7a, 0xa9, 0x36, 0xa7, 0x5b, 0xfb, 0x9d, 0x1b, 0x9e, 0x65, 0x47, 0x05,
1224 0xdf, 0x0a, 0x32, 0x0f, 0xb9, 0x0e, 0xd4, 0xaf, 0x92, 0x48, 0xc3, 0x8a, 0x12, 0x66, 0x6f, 0x36,
1225 0xf4, 0xa3, 0x82, 0x5f, 0xbb, 0x4a, 0x6f, 0x37, 0x17, 0x60, 0x05, 0x70, 0xa5, 0xda, 0x96, 0xbb,
1226 0xbb, 0x89, 0x70, 0x8f, 0x0a, 0x7e, 0xfd, 0x6a, 0x75, 0x61, 0x1c, 0x40, 0x23, 0xdb, 0x85, 0xa5,
1227 0xdc, 0x19, 0x7a, 0x99, 0xe6, 0x29, 0xe8, 0x65, 0xfa, 0xb2, 0xa0, 0x47, 0x93, 0x40, 0xc3, 0x2a,
1228 0x79, 0x7a, 0x69, 0x07, 0x11, 0xf4, 0x68, 0x12, 0xc8, 0xf1, 0xcb, 0x06, 0x80, 0xea, 0xf4, 0xe2,
1229 0x5f, 0xbe, 0xec, 0xc1, 0x9d, 0x98, 0x4e, 0x9c, 0x38, 0x21, 0xf3, 0x20, 0xa6, 0xa1, 0x46, 0xfe,
1230 0xec, 0x4c, 0x22, 0x7e, 0xb9, 0x38, 0x17, 0x2d, 0xa5, 0x93, 0xae, 0x75, 0xd4, 0xda, 0x13, 0xfd,
1231 0x72, 0x5e, 0x3e, 0xed, 0x4c, 0x62, 0x6d, 0x3b, 0xaf, 0x48, 0xe3, 0x37, 0xff, 0x06, 0x00, 0x00,
1232 0xff, 0xff, 0x7b, 0x2c, 0xa9, 0x18, 0xdb, 0x0b, 0x00, 0x00,
Maninder12b909f2020-10-23 14:23:36 +05301233}