blob: fd6eba60e429109e8faf05cbfd3263ba8eb96eed [file] [log] [blame]
Don Newton98fd8812019-09-23 15:15:02 -04001// 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"
divyadesai81bb7ba2020-03-11 11:45:23 +00009 timestamp "github.com/golang/protobuf/ptypes/timestamp"
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -080010 _ "github.com/opencord/voltha-protos/v3/go/common"
Don Newton98fd8812019-09-23 15:15:02 -040011 _ "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
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -080026type ConfigEventType_Types int32
Don Newton98fd8812019-09-23 15:15:02 -040027
28const (
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -080029 ConfigEventType_add ConfigEventType_Types = 0
30 ConfigEventType_remove ConfigEventType_Types = 1
31 ConfigEventType_update ConfigEventType_Types = 2
Don Newton98fd8812019-09-23 15:15:02 -040032)
33
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -080034var ConfigEventType_Types_name = map[int32]string{
Don Newton98fd8812019-09-23 15:15:02 -040035 0: "add",
36 1: "remove",
37 2: "update",
38}
39
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -080040var ConfigEventType_Types_value = map[string]int32{
Don Newton98fd8812019-09-23 15:15:02 -040041 "add": 0,
42 "remove": 1,
43 "update": 2,
44}
45
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -080046func (x ConfigEventType_Types) String() string {
47 return proto.EnumName(ConfigEventType_Types_name, int32(x))
Don Newton98fd8812019-09-23 15:15:02 -040048}
49
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -080050func (ConfigEventType_Types) EnumDescriptor() ([]byte, []int) {
Don Newton98fd8812019-09-23 15:15:02 -040051 return fileDescriptor_e63e6c07044fd2c4, []int{0, 0}
52}
53
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -080054type KpiEventType_Types int32
Don Newton98fd8812019-09-23 15:15:02 -040055
56const (
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -080057 KpiEventType_slice KpiEventType_Types = 0
58 KpiEventType_ts KpiEventType_Types = 1
Don Newton98fd8812019-09-23 15:15:02 -040059)
60
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -080061var KpiEventType_Types_name = map[int32]string{
Don Newton98fd8812019-09-23 15:15:02 -040062 0: "slice",
63 1: "ts",
64}
65
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -080066var KpiEventType_Types_value = map[string]int32{
Don Newton98fd8812019-09-23 15:15:02 -040067 "slice": 0,
68 "ts": 1,
69}
70
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -080071func (x KpiEventType_Types) String() string {
72 return proto.EnumName(KpiEventType_Types_name, int32(x))
Don Newton98fd8812019-09-23 15:15:02 -040073}
74
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -080075func (KpiEventType_Types) EnumDescriptor() ([]byte, []int) {
Don Newton98fd8812019-09-23 15:15:02 -040076 return fileDescriptor_e63e6c07044fd2c4, []int{2, 0}
77}
78
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -080079type AlarmEventType_Types int32
Don Newton98fd8812019-09-23 15:15:02 -040080
81const (
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -080082 AlarmEventType_COMMUNICATION AlarmEventType_Types = 0
83 AlarmEventType_ENVIRONMENT AlarmEventType_Types = 1
84 AlarmEventType_EQUIPMENT AlarmEventType_Types = 2
85 AlarmEventType_SERVICE AlarmEventType_Types = 3
86 AlarmEventType_PROCESSING AlarmEventType_Types = 4
87 AlarmEventType_SECURITY AlarmEventType_Types = 5
Don Newton98fd8812019-09-23 15:15:02 -040088)
89
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -080090var AlarmEventType_Types_name = map[int32]string{
Don Newton98fd8812019-09-23 15:15:02 -040091 0: "COMMUNICATION",
92 1: "ENVIRONMENT",
93 2: "EQUIPMENT",
94 3: "SERVICE",
95 4: "PROCESSING",
96 5: "SECURITY",
97}
98
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -080099var AlarmEventType_Types_value = map[string]int32{
Don Newton98fd8812019-09-23 15:15:02 -0400100 "COMMUNICATION": 0,
101 "ENVIRONMENT": 1,
102 "EQUIPMENT": 2,
103 "SERVICE": 3,
104 "PROCESSING": 4,
105 "SECURITY": 5,
106}
107
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800108func (x AlarmEventType_Types) String() string {
109 return proto.EnumName(AlarmEventType_Types_name, int32(x))
Don Newton98fd8812019-09-23 15:15:02 -0400110}
111
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800112func (AlarmEventType_Types) EnumDescriptor() ([]byte, []int) {
Don Newton98fd8812019-09-23 15:15:02 -0400113 return fileDescriptor_e63e6c07044fd2c4, []int{8, 0}
114}
115
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800116type AlarmEventCategory_Types int32
Don Newton98fd8812019-09-23 15:15:02 -0400117
118const (
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800119 AlarmEventCategory_PON AlarmEventCategory_Types = 0
120 AlarmEventCategory_OLT AlarmEventCategory_Types = 1
121 AlarmEventCategory_ONT AlarmEventCategory_Types = 2
122 AlarmEventCategory_ONU AlarmEventCategory_Types = 3
123 AlarmEventCategory_NNI AlarmEventCategory_Types = 4
Don Newton98fd8812019-09-23 15:15:02 -0400124)
125
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800126var AlarmEventCategory_Types_name = map[int32]string{
Don Newton98fd8812019-09-23 15:15:02 -0400127 0: "PON",
128 1: "OLT",
129 2: "ONT",
130 3: "ONU",
131 4: "NNI",
132}
133
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800134var AlarmEventCategory_Types_value = map[string]int32{
Don Newton98fd8812019-09-23 15:15:02 -0400135 "PON": 0,
136 "OLT": 1,
137 "ONT": 2,
138 "ONU": 3,
139 "NNI": 4,
140}
141
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800142func (x AlarmEventCategory_Types) String() string {
143 return proto.EnumName(AlarmEventCategory_Types_name, int32(x))
Don Newton98fd8812019-09-23 15:15:02 -0400144}
145
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800146func (AlarmEventCategory_Types) EnumDescriptor() ([]byte, []int) {
Don Newton98fd8812019-09-23 15:15:02 -0400147 return fileDescriptor_e63e6c07044fd2c4, []int{9, 0}
148}
149
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800150type AlarmEventState_Types int32
Don Newton98fd8812019-09-23 15:15:02 -0400151
152const (
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800153 AlarmEventState_RAISED AlarmEventState_Types = 0
154 AlarmEventState_CLEARED AlarmEventState_Types = 1
Don Newton98fd8812019-09-23 15:15:02 -0400155)
156
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800157var AlarmEventState_Types_name = map[int32]string{
Don Newton98fd8812019-09-23 15:15:02 -0400158 0: "RAISED",
159 1: "CLEARED",
160}
161
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800162var AlarmEventState_Types_value = map[string]int32{
Don Newton98fd8812019-09-23 15:15:02 -0400163 "RAISED": 0,
164 "CLEARED": 1,
165}
166
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800167func (x AlarmEventState_Types) String() string {
168 return proto.EnumName(AlarmEventState_Types_name, int32(x))
Don Newton98fd8812019-09-23 15:15:02 -0400169}
170
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800171func (AlarmEventState_Types) EnumDescriptor() ([]byte, []int) {
Don Newton98fd8812019-09-23 15:15:02 -0400172 return fileDescriptor_e63e6c07044fd2c4, []int{10, 0}
173}
174
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800175type AlarmEventSeverity_Types int32
Don Newton98fd8812019-09-23 15:15:02 -0400176
177const (
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800178 AlarmEventSeverity_INDETERMINATE AlarmEventSeverity_Types = 0
179 AlarmEventSeverity_WARNING AlarmEventSeverity_Types = 1
180 AlarmEventSeverity_MINOR AlarmEventSeverity_Types = 2
181 AlarmEventSeverity_MAJOR AlarmEventSeverity_Types = 3
182 AlarmEventSeverity_CRITICAL AlarmEventSeverity_Types = 4
Don Newton98fd8812019-09-23 15:15:02 -0400183)
184
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800185var AlarmEventSeverity_Types_name = map[int32]string{
Don Newton98fd8812019-09-23 15:15:02 -0400186 0: "INDETERMINATE",
187 1: "WARNING",
188 2: "MINOR",
189 3: "MAJOR",
190 4: "CRITICAL",
191}
192
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800193var AlarmEventSeverity_Types_value = map[string]int32{
Don Newton98fd8812019-09-23 15:15:02 -0400194 "INDETERMINATE": 0,
195 "WARNING": 1,
196 "MINOR": 2,
197 "MAJOR": 3,
198 "CRITICAL": 4,
199}
200
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800201func (x AlarmEventSeverity_Types) String() string {
202 return proto.EnumName(AlarmEventSeverity_Types_name, int32(x))
Don Newton98fd8812019-09-23 15:15:02 -0400203}
204
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800205func (AlarmEventSeverity_Types) EnumDescriptor() ([]byte, []int) {
Don Newton98fd8812019-09-23 15:15:02 -0400206 return fileDescriptor_e63e6c07044fd2c4, []int{11, 0}
207}
208
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800209type EventCategory_Types int32
Don Newton98fd8812019-09-23 15:15:02 -0400210
211const (
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800212 EventCategory_COMMUNICATION EventCategory_Types = 0
213 EventCategory_ENVIRONMENT EventCategory_Types = 1
214 EventCategory_EQUIPMENT EventCategory_Types = 2
215 EventCategory_SERVICE EventCategory_Types = 3
216 EventCategory_PROCESSING EventCategory_Types = 4
217 EventCategory_SECURITY EventCategory_Types = 5
Don Newton98fd8812019-09-23 15:15:02 -0400218)
219
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800220var EventCategory_Types_name = map[int32]string{
Don Newton98fd8812019-09-23 15:15:02 -0400221 0: "COMMUNICATION",
222 1: "ENVIRONMENT",
223 2: "EQUIPMENT",
224 3: "SERVICE",
225 4: "PROCESSING",
226 5: "SECURITY",
227}
228
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800229var EventCategory_Types_value = map[string]int32{
Don Newton98fd8812019-09-23 15:15:02 -0400230 "COMMUNICATION": 0,
231 "ENVIRONMENT": 1,
232 "EQUIPMENT": 2,
233 "SERVICE": 3,
234 "PROCESSING": 4,
235 "SECURITY": 5,
236}
237
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800238func (x EventCategory_Types) String() string {
239 return proto.EnumName(EventCategory_Types_name, int32(x))
Don Newton98fd8812019-09-23 15:15:02 -0400240}
241
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800242func (EventCategory_Types) EnumDescriptor() ([]byte, []int) {
Don Newton98fd8812019-09-23 15:15:02 -0400243 return fileDescriptor_e63e6c07044fd2c4, []int{14, 0}
244}
245
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800246type EventSubCategory_Types int32
Don Newton98fd8812019-09-23 15:15:02 -0400247
248const (
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800249 EventSubCategory_PON EventSubCategory_Types = 0
250 EventSubCategory_OLT EventSubCategory_Types = 1
251 EventSubCategory_ONT EventSubCategory_Types = 2
252 EventSubCategory_ONU EventSubCategory_Types = 3
253 EventSubCategory_NNI EventSubCategory_Types = 4
Don Newton98fd8812019-09-23 15:15:02 -0400254)
255
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800256var EventSubCategory_Types_name = map[int32]string{
Don Newton98fd8812019-09-23 15:15:02 -0400257 0: "PON",
258 1: "OLT",
259 2: "ONT",
260 3: "ONU",
261 4: "NNI",
262}
263
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800264var EventSubCategory_Types_value = map[string]int32{
Don Newton98fd8812019-09-23 15:15:02 -0400265 "PON": 0,
266 "OLT": 1,
267 "ONT": 2,
268 "ONU": 3,
269 "NNI": 4,
270}
271
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800272func (x EventSubCategory_Types) String() string {
273 return proto.EnumName(EventSubCategory_Types_name, int32(x))
Don Newton98fd8812019-09-23 15:15:02 -0400274}
275
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800276func (EventSubCategory_Types) EnumDescriptor() ([]byte, []int) {
Don Newton98fd8812019-09-23 15:15:02 -0400277 return fileDescriptor_e63e6c07044fd2c4, []int{15, 0}
278}
279
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800280type EventType_Types int32
Don Newton98fd8812019-09-23 15:15:02 -0400281
282const (
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800283 EventType_CONFIG_EVENT EventType_Types = 0
284 EventType_KPI_EVENT EventType_Types = 1
285 EventType_KPI_EVENT2 EventType_Types = 2
286 EventType_DEVICE_EVENT EventType_Types = 3
Don Newton98fd8812019-09-23 15:15:02 -0400287)
288
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800289var EventType_Types_name = map[int32]string{
Don Newton98fd8812019-09-23 15:15:02 -0400290 0: "CONFIG_EVENT",
291 1: "KPI_EVENT",
292 2: "KPI_EVENT2",
293 3: "DEVICE_EVENT",
294}
295
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800296var EventType_Types_value = map[string]int32{
Don Newton98fd8812019-09-23 15:15:02 -0400297 "CONFIG_EVENT": 0,
298 "KPI_EVENT": 1,
299 "KPI_EVENT2": 2,
300 "DEVICE_EVENT": 3,
301}
302
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800303func (x EventType_Types) String() string {
304 return proto.EnumName(EventType_Types_name, int32(x))
Don Newton98fd8812019-09-23 15:15:02 -0400305}
306
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800307func (EventType_Types) EnumDescriptor() ([]byte, []int) {
Don Newton98fd8812019-09-23 15:15:02 -0400308 return fileDescriptor_e63e6c07044fd2c4, []int{16, 0}
309}
310
311type ConfigEventType struct {
312 XXX_NoUnkeyedLiteral struct{} `json:"-"`
313 XXX_unrecognized []byte `json:"-"`
314 XXX_sizecache int32 `json:"-"`
315}
316
317func (m *ConfigEventType) Reset() { *m = ConfigEventType{} }
318func (m *ConfigEventType) String() string { return proto.CompactTextString(m) }
319func (*ConfigEventType) ProtoMessage() {}
320func (*ConfigEventType) Descriptor() ([]byte, []int) {
321 return fileDescriptor_e63e6c07044fd2c4, []int{0}
322}
323
324func (m *ConfigEventType) XXX_Unmarshal(b []byte) error {
325 return xxx_messageInfo_ConfigEventType.Unmarshal(m, b)
326}
327func (m *ConfigEventType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
328 return xxx_messageInfo_ConfigEventType.Marshal(b, m, deterministic)
329}
330func (m *ConfigEventType) XXX_Merge(src proto.Message) {
331 xxx_messageInfo_ConfigEventType.Merge(m, src)
332}
333func (m *ConfigEventType) XXX_Size() int {
334 return xxx_messageInfo_ConfigEventType.Size(m)
335}
336func (m *ConfigEventType) XXX_DiscardUnknown() {
337 xxx_messageInfo_ConfigEventType.DiscardUnknown(m)
338}
339
340var xxx_messageInfo_ConfigEventType proto.InternalMessageInfo
341
342type ConfigEvent struct {
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800343 Type ConfigEventType_Types `protobuf:"varint,1,opt,name=type,proto3,enum=voltha.ConfigEventType_Types" json:"type,omitempty"`
344 Hash string `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"`
345 Data string `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
346 XXX_NoUnkeyedLiteral struct{} `json:"-"`
347 XXX_unrecognized []byte `json:"-"`
348 XXX_sizecache int32 `json:"-"`
Don Newton98fd8812019-09-23 15:15:02 -0400349}
350
351func (m *ConfigEvent) Reset() { *m = ConfigEvent{} }
352func (m *ConfigEvent) String() string { return proto.CompactTextString(m) }
353func (*ConfigEvent) ProtoMessage() {}
354func (*ConfigEvent) Descriptor() ([]byte, []int) {
355 return fileDescriptor_e63e6c07044fd2c4, []int{1}
356}
357
358func (m *ConfigEvent) XXX_Unmarshal(b []byte) error {
359 return xxx_messageInfo_ConfigEvent.Unmarshal(m, b)
360}
361func (m *ConfigEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
362 return xxx_messageInfo_ConfigEvent.Marshal(b, m, deterministic)
363}
364func (m *ConfigEvent) XXX_Merge(src proto.Message) {
365 xxx_messageInfo_ConfigEvent.Merge(m, src)
366}
367func (m *ConfigEvent) XXX_Size() int {
368 return xxx_messageInfo_ConfigEvent.Size(m)
369}
370func (m *ConfigEvent) XXX_DiscardUnknown() {
371 xxx_messageInfo_ConfigEvent.DiscardUnknown(m)
372}
373
374var xxx_messageInfo_ConfigEvent proto.InternalMessageInfo
375
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800376func (m *ConfigEvent) GetType() ConfigEventType_Types {
Don Newton98fd8812019-09-23 15:15:02 -0400377 if m != nil {
378 return m.Type
379 }
380 return ConfigEventType_add
381}
382
383func (m *ConfigEvent) GetHash() string {
384 if m != nil {
385 return m.Hash
386 }
387 return ""
388}
389
390func (m *ConfigEvent) GetData() string {
391 if m != nil {
392 return m.Data
393 }
394 return ""
395}
396
397type KpiEventType struct {
398 XXX_NoUnkeyedLiteral struct{} `json:"-"`
399 XXX_unrecognized []byte `json:"-"`
400 XXX_sizecache int32 `json:"-"`
401}
402
403func (m *KpiEventType) Reset() { *m = KpiEventType{} }
404func (m *KpiEventType) String() string { return proto.CompactTextString(m) }
405func (*KpiEventType) ProtoMessage() {}
406func (*KpiEventType) Descriptor() ([]byte, []int) {
407 return fileDescriptor_e63e6c07044fd2c4, []int{2}
408}
409
410func (m *KpiEventType) XXX_Unmarshal(b []byte) error {
411 return xxx_messageInfo_KpiEventType.Unmarshal(m, b)
412}
413func (m *KpiEventType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
414 return xxx_messageInfo_KpiEventType.Marshal(b, m, deterministic)
415}
416func (m *KpiEventType) XXX_Merge(src proto.Message) {
417 xxx_messageInfo_KpiEventType.Merge(m, src)
418}
419func (m *KpiEventType) XXX_Size() int {
420 return xxx_messageInfo_KpiEventType.Size(m)
421}
422func (m *KpiEventType) XXX_DiscardUnknown() {
423 xxx_messageInfo_KpiEventType.DiscardUnknown(m)
424}
425
426var xxx_messageInfo_KpiEventType proto.InternalMessageInfo
427
428//
429// Struct to convey a dictionary of metric metadata.
430type MetricMetaData struct {
431 Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
432 Ts float64 `protobuf:"fixed64,2,opt,name=ts,proto3" json:"ts,omitempty"`
433 LogicalDeviceId string `protobuf:"bytes,3,opt,name=logical_device_id,json=logicalDeviceId,proto3" json:"logical_device_id,omitempty"`
434 // (equivalent to the DPID that ONOS has
435 // for the VOLTHA device without the
436 // 'of:' prefix
437 SerialNo string `protobuf:"bytes,4,opt,name=serial_no,json=serialNo,proto3" json:"serial_no,omitempty"`
438 DeviceId string `protobuf:"bytes,5,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
439 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"`
Rohan Agrawal00d3a412020-04-22 10:51:39 +0000440 Uuid string `protobuf:"bytes,7,opt,name=uuid,proto3" json:"uuid,omitempty"`
Don Newton98fd8812019-09-23 15:15:02 -0400441 XXX_NoUnkeyedLiteral struct{} `json:"-"`
442 XXX_unrecognized []byte `json:"-"`
443 XXX_sizecache int32 `json:"-"`
444}
445
446func (m *MetricMetaData) Reset() { *m = MetricMetaData{} }
447func (m *MetricMetaData) String() string { return proto.CompactTextString(m) }
448func (*MetricMetaData) ProtoMessage() {}
449func (*MetricMetaData) Descriptor() ([]byte, []int) {
450 return fileDescriptor_e63e6c07044fd2c4, []int{3}
451}
452
453func (m *MetricMetaData) XXX_Unmarshal(b []byte) error {
454 return xxx_messageInfo_MetricMetaData.Unmarshal(m, b)
455}
456func (m *MetricMetaData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
457 return xxx_messageInfo_MetricMetaData.Marshal(b, m, deterministic)
458}
459func (m *MetricMetaData) XXX_Merge(src proto.Message) {
460 xxx_messageInfo_MetricMetaData.Merge(m, src)
461}
462func (m *MetricMetaData) XXX_Size() int {
463 return xxx_messageInfo_MetricMetaData.Size(m)
464}
465func (m *MetricMetaData) XXX_DiscardUnknown() {
466 xxx_messageInfo_MetricMetaData.DiscardUnknown(m)
467}
468
469var xxx_messageInfo_MetricMetaData proto.InternalMessageInfo
470
471func (m *MetricMetaData) GetTitle() string {
472 if m != nil {
473 return m.Title
474 }
475 return ""
476}
477
478func (m *MetricMetaData) GetTs() float64 {
479 if m != nil {
480 return m.Ts
481 }
482 return 0
483}
484
485func (m *MetricMetaData) GetLogicalDeviceId() string {
486 if m != nil {
487 return m.LogicalDeviceId
488 }
489 return ""
490}
491
492func (m *MetricMetaData) GetSerialNo() string {
493 if m != nil {
494 return m.SerialNo
495 }
496 return ""
497}
498
499func (m *MetricMetaData) GetDeviceId() string {
500 if m != nil {
501 return m.DeviceId
502 }
503 return ""
504}
505
506func (m *MetricMetaData) GetContext() map[string]string {
507 if m != nil {
508 return m.Context
509 }
510 return nil
511}
512
Rohan Agrawal00d3a412020-04-22 10:51:39 +0000513func (m *MetricMetaData) GetUuid() string {
514 if m != nil {
515 return m.Uuid
516 }
517 return ""
518}
519
Don Newton98fd8812019-09-23 15:15:02 -0400520//
521// Struct to convey a dictionary of metric->value pairs. Typically used in
522// pure shared-timestamp or shared-timestamp + shared object prefix situations.
523type MetricValuePairs struct {
524 // Metric / value pairs.
525 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"`
526 XXX_NoUnkeyedLiteral struct{} `json:"-"`
527 XXX_unrecognized []byte `json:"-"`
528 XXX_sizecache int32 `json:"-"`
529}
530
531func (m *MetricValuePairs) Reset() { *m = MetricValuePairs{} }
532func (m *MetricValuePairs) String() string { return proto.CompactTextString(m) }
533func (*MetricValuePairs) ProtoMessage() {}
534func (*MetricValuePairs) Descriptor() ([]byte, []int) {
535 return fileDescriptor_e63e6c07044fd2c4, []int{4}
536}
537
538func (m *MetricValuePairs) XXX_Unmarshal(b []byte) error {
539 return xxx_messageInfo_MetricValuePairs.Unmarshal(m, b)
540}
541func (m *MetricValuePairs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
542 return xxx_messageInfo_MetricValuePairs.Marshal(b, m, deterministic)
543}
544func (m *MetricValuePairs) XXX_Merge(src proto.Message) {
545 xxx_messageInfo_MetricValuePairs.Merge(m, src)
546}
547func (m *MetricValuePairs) XXX_Size() int {
548 return xxx_messageInfo_MetricValuePairs.Size(m)
549}
550func (m *MetricValuePairs) XXX_DiscardUnknown() {
551 xxx_messageInfo_MetricValuePairs.DiscardUnknown(m)
552}
553
554var xxx_messageInfo_MetricValuePairs proto.InternalMessageInfo
555
556func (m *MetricValuePairs) GetMetrics() map[string]float32 {
557 if m != nil {
558 return m.Metrics
559 }
560 return nil
561}
562
563//
564// Struct to group metadata for a metric (or group of metrics) with the key-value
565// pairs of collected metrics
566type MetricInformation struct {
567 Metadata *MetricMetaData `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
568 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"`
569 XXX_NoUnkeyedLiteral struct{} `json:"-"`
570 XXX_unrecognized []byte `json:"-"`
571 XXX_sizecache int32 `json:"-"`
572}
573
574func (m *MetricInformation) Reset() { *m = MetricInformation{} }
575func (m *MetricInformation) String() string { return proto.CompactTextString(m) }
576func (*MetricInformation) ProtoMessage() {}
577func (*MetricInformation) Descriptor() ([]byte, []int) {
578 return fileDescriptor_e63e6c07044fd2c4, []int{5}
579}
580
581func (m *MetricInformation) XXX_Unmarshal(b []byte) error {
582 return xxx_messageInfo_MetricInformation.Unmarshal(m, b)
583}
584func (m *MetricInformation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
585 return xxx_messageInfo_MetricInformation.Marshal(b, m, deterministic)
586}
587func (m *MetricInformation) XXX_Merge(src proto.Message) {
588 xxx_messageInfo_MetricInformation.Merge(m, src)
589}
590func (m *MetricInformation) XXX_Size() int {
591 return xxx_messageInfo_MetricInformation.Size(m)
592}
593func (m *MetricInformation) XXX_DiscardUnknown() {
594 xxx_messageInfo_MetricInformation.DiscardUnknown(m)
595}
596
597var xxx_messageInfo_MetricInformation proto.InternalMessageInfo
598
599func (m *MetricInformation) GetMetadata() *MetricMetaData {
600 if m != nil {
601 return m.Metadata
602 }
603 return nil
604}
605
606func (m *MetricInformation) GetMetrics() map[string]float32 {
607 if m != nil {
608 return m.Metrics
609 }
610 return nil
611}
612
613//
614// Legacy KPI Event structured. In mid-August, the KPI event format was updated
615// to a more easily parsable format. See VOL-1140
616// for more information.
617type KpiEvent struct {
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800618 Type KpiEventType_Types `protobuf:"varint,1,opt,name=type,proto3,enum=voltha.KpiEventType_Types" json:"type,omitempty"`
Don Newton98fd8812019-09-23 15:15:02 -0400619 Ts float32 `protobuf:"fixed32,2,opt,name=ts,proto3" json:"ts,omitempty"`
620 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"`
621 XXX_NoUnkeyedLiteral struct{} `json:"-"`
622 XXX_unrecognized []byte `json:"-"`
623 XXX_sizecache int32 `json:"-"`
624}
625
626func (m *KpiEvent) Reset() { *m = KpiEvent{} }
627func (m *KpiEvent) String() string { return proto.CompactTextString(m) }
628func (*KpiEvent) ProtoMessage() {}
629func (*KpiEvent) Descriptor() ([]byte, []int) {
630 return fileDescriptor_e63e6c07044fd2c4, []int{6}
631}
632
633func (m *KpiEvent) XXX_Unmarshal(b []byte) error {
634 return xxx_messageInfo_KpiEvent.Unmarshal(m, b)
635}
636func (m *KpiEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
637 return xxx_messageInfo_KpiEvent.Marshal(b, m, deterministic)
638}
639func (m *KpiEvent) XXX_Merge(src proto.Message) {
640 xxx_messageInfo_KpiEvent.Merge(m, src)
641}
642func (m *KpiEvent) XXX_Size() int {
643 return xxx_messageInfo_KpiEvent.Size(m)
644}
645func (m *KpiEvent) XXX_DiscardUnknown() {
646 xxx_messageInfo_KpiEvent.DiscardUnknown(m)
647}
648
649var xxx_messageInfo_KpiEvent proto.InternalMessageInfo
650
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800651func (m *KpiEvent) GetType() KpiEventType_Types {
Don Newton98fd8812019-09-23 15:15:02 -0400652 if m != nil {
653 return m.Type
654 }
655 return KpiEventType_slice
656}
657
658func (m *KpiEvent) GetTs() float32 {
659 if m != nil {
660 return m.Ts
661 }
662 return 0
663}
664
665func (m *KpiEvent) GetPrefixes() map[string]*MetricValuePairs {
666 if m != nil {
667 return m.Prefixes
668 }
669 return nil
670}
671
672type KpiEvent2 struct {
673 // Type of KPI Event
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800674 Type KpiEventType_Types `protobuf:"varint,1,opt,name=type,proto3,enum=voltha.KpiEventType_Types" json:"type,omitempty"`
Don Newton98fd8812019-09-23 15:15:02 -0400675 // Fields used when for slice:
676 Ts float64 `protobuf:"fixed64,2,opt,name=ts,proto3" json:"ts,omitempty"`
677 SliceData []*MetricInformation `protobuf:"bytes,3,rep,name=slice_data,json=sliceData,proto3" json:"slice_data,omitempty"`
678 XXX_NoUnkeyedLiteral struct{} `json:"-"`
679 XXX_unrecognized []byte `json:"-"`
680 XXX_sizecache int32 `json:"-"`
681}
682
683func (m *KpiEvent2) Reset() { *m = KpiEvent2{} }
684func (m *KpiEvent2) String() string { return proto.CompactTextString(m) }
685func (*KpiEvent2) ProtoMessage() {}
686func (*KpiEvent2) Descriptor() ([]byte, []int) {
687 return fileDescriptor_e63e6c07044fd2c4, []int{7}
688}
689
690func (m *KpiEvent2) XXX_Unmarshal(b []byte) error {
691 return xxx_messageInfo_KpiEvent2.Unmarshal(m, b)
692}
693func (m *KpiEvent2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
694 return xxx_messageInfo_KpiEvent2.Marshal(b, m, deterministic)
695}
696func (m *KpiEvent2) XXX_Merge(src proto.Message) {
697 xxx_messageInfo_KpiEvent2.Merge(m, src)
698}
699func (m *KpiEvent2) XXX_Size() int {
700 return xxx_messageInfo_KpiEvent2.Size(m)
701}
702func (m *KpiEvent2) XXX_DiscardUnknown() {
703 xxx_messageInfo_KpiEvent2.DiscardUnknown(m)
704}
705
706var xxx_messageInfo_KpiEvent2 proto.InternalMessageInfo
707
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800708func (m *KpiEvent2) GetType() KpiEventType_Types {
Don Newton98fd8812019-09-23 15:15:02 -0400709 if m != nil {
710 return m.Type
711 }
712 return KpiEventType_slice
713}
714
715func (m *KpiEvent2) GetTs() float64 {
716 if m != nil {
717 return m.Ts
718 }
719 return 0
720}
721
722func (m *KpiEvent2) GetSliceData() []*MetricInformation {
723 if m != nil {
724 return m.SliceData
725 }
726 return nil
727}
728
729//
730// Identify to the area of the system impacted by the alarm
731// To be deprecated once python version of OpenOLT adapter
732// moves to the new event defination for device alarms
733type AlarmEventType struct {
734 XXX_NoUnkeyedLiteral struct{} `json:"-"`
735 XXX_unrecognized []byte `json:"-"`
736 XXX_sizecache int32 `json:"-"`
737}
738
739func (m *AlarmEventType) Reset() { *m = AlarmEventType{} }
740func (m *AlarmEventType) String() string { return proto.CompactTextString(m) }
741func (*AlarmEventType) ProtoMessage() {}
742func (*AlarmEventType) Descriptor() ([]byte, []int) {
743 return fileDescriptor_e63e6c07044fd2c4, []int{8}
744}
745
746func (m *AlarmEventType) XXX_Unmarshal(b []byte) error {
747 return xxx_messageInfo_AlarmEventType.Unmarshal(m, b)
748}
749func (m *AlarmEventType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
750 return xxx_messageInfo_AlarmEventType.Marshal(b, m, deterministic)
751}
752func (m *AlarmEventType) XXX_Merge(src proto.Message) {
753 xxx_messageInfo_AlarmEventType.Merge(m, src)
754}
755func (m *AlarmEventType) XXX_Size() int {
756 return xxx_messageInfo_AlarmEventType.Size(m)
757}
758func (m *AlarmEventType) XXX_DiscardUnknown() {
759 xxx_messageInfo_AlarmEventType.DiscardUnknown(m)
760}
761
762var xxx_messageInfo_AlarmEventType proto.InternalMessageInfo
763
764//
765// Identify to the functional category originating the alarm
766// To be deprecated once python version of OpenOLT adapter
767// as well as OpenONU adapter moves to the new event
768// defination for device alarms
769type AlarmEventCategory struct {
770 XXX_NoUnkeyedLiteral struct{} `json:"-"`
771 XXX_unrecognized []byte `json:"-"`
772 XXX_sizecache int32 `json:"-"`
773}
774
775func (m *AlarmEventCategory) Reset() { *m = AlarmEventCategory{} }
776func (m *AlarmEventCategory) String() string { return proto.CompactTextString(m) }
777func (*AlarmEventCategory) ProtoMessage() {}
778func (*AlarmEventCategory) Descriptor() ([]byte, []int) {
779 return fileDescriptor_e63e6c07044fd2c4, []int{9}
780}
781
782func (m *AlarmEventCategory) XXX_Unmarshal(b []byte) error {
783 return xxx_messageInfo_AlarmEventCategory.Unmarshal(m, b)
784}
785func (m *AlarmEventCategory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
786 return xxx_messageInfo_AlarmEventCategory.Marshal(b, m, deterministic)
787}
788func (m *AlarmEventCategory) XXX_Merge(src proto.Message) {
789 xxx_messageInfo_AlarmEventCategory.Merge(m, src)
790}
791func (m *AlarmEventCategory) XXX_Size() int {
792 return xxx_messageInfo_AlarmEventCategory.Size(m)
793}
794func (m *AlarmEventCategory) XXX_DiscardUnknown() {
795 xxx_messageInfo_AlarmEventCategory.DiscardUnknown(m)
796}
797
798var xxx_messageInfo_AlarmEventCategory proto.InternalMessageInfo
799
800//
801// Active state of the alarm
802// To be deprecated once python version of OpenOLT adapter
803// as well as OpenONU adapter moves to the new event
804// defination for device alarms
805type AlarmEventState struct {
806 XXX_NoUnkeyedLiteral struct{} `json:"-"`
807 XXX_unrecognized []byte `json:"-"`
808 XXX_sizecache int32 `json:"-"`
809}
810
811func (m *AlarmEventState) Reset() { *m = AlarmEventState{} }
812func (m *AlarmEventState) String() string { return proto.CompactTextString(m) }
813func (*AlarmEventState) ProtoMessage() {}
814func (*AlarmEventState) Descriptor() ([]byte, []int) {
815 return fileDescriptor_e63e6c07044fd2c4, []int{10}
816}
817
818func (m *AlarmEventState) XXX_Unmarshal(b []byte) error {
819 return xxx_messageInfo_AlarmEventState.Unmarshal(m, b)
820}
821func (m *AlarmEventState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
822 return xxx_messageInfo_AlarmEventState.Marshal(b, m, deterministic)
823}
824func (m *AlarmEventState) XXX_Merge(src proto.Message) {
825 xxx_messageInfo_AlarmEventState.Merge(m, src)
826}
827func (m *AlarmEventState) XXX_Size() int {
828 return xxx_messageInfo_AlarmEventState.Size(m)
829}
830func (m *AlarmEventState) XXX_DiscardUnknown() {
831 xxx_messageInfo_AlarmEventState.DiscardUnknown(m)
832}
833
834var xxx_messageInfo_AlarmEventState proto.InternalMessageInfo
835
836//
837// Identify the overall impact of the alarm on the system
838// To be deprecated once python version of OpenOLT adapter
839// as well as OpenONU adapter moves to the new event
840// defination for device alarms
841type AlarmEventSeverity struct {
842 XXX_NoUnkeyedLiteral struct{} `json:"-"`
843 XXX_unrecognized []byte `json:"-"`
844 XXX_sizecache int32 `json:"-"`
845}
846
847func (m *AlarmEventSeverity) Reset() { *m = AlarmEventSeverity{} }
848func (m *AlarmEventSeverity) String() string { return proto.CompactTextString(m) }
849func (*AlarmEventSeverity) ProtoMessage() {}
850func (*AlarmEventSeverity) Descriptor() ([]byte, []int) {
851 return fileDescriptor_e63e6c07044fd2c4, []int{11}
852}
853
854func (m *AlarmEventSeverity) XXX_Unmarshal(b []byte) error {
855 return xxx_messageInfo_AlarmEventSeverity.Unmarshal(m, b)
856}
857func (m *AlarmEventSeverity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
858 return xxx_messageInfo_AlarmEventSeverity.Marshal(b, m, deterministic)
859}
860func (m *AlarmEventSeverity) XXX_Merge(src proto.Message) {
861 xxx_messageInfo_AlarmEventSeverity.Merge(m, src)
862}
863func (m *AlarmEventSeverity) XXX_Size() int {
864 return xxx_messageInfo_AlarmEventSeverity.Size(m)
865}
866func (m *AlarmEventSeverity) XXX_DiscardUnknown() {
867 xxx_messageInfo_AlarmEventSeverity.DiscardUnknown(m)
868}
869
870var xxx_messageInfo_AlarmEventSeverity proto.InternalMessageInfo
871
872//
873// To be deprecated once python version of OpenOLT adapter
874// as well as OpenONU adapter moves to the new event
875// defination for device alarms
876type AlarmEvent struct {
877 // Unique ID for this alarm. e.g. voltha.some_olt.1234
878 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
879 // Refers to the area of the system impacted by the alarm
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800880 Type AlarmEventType_Types `protobuf:"varint,2,opt,name=type,proto3,enum=voltha.AlarmEventType_Types" json:"type,omitempty"`
Don Newton98fd8812019-09-23 15:15:02 -0400881 // Refers to functional category of the alarm
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800882 Category AlarmEventCategory_Types `protobuf:"varint,3,opt,name=category,proto3,enum=voltha.AlarmEventCategory_Types" json:"category,omitempty"`
Don Newton98fd8812019-09-23 15:15:02 -0400883 // Current active state of the alarm
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800884 State AlarmEventState_Types `protobuf:"varint,4,opt,name=state,proto3,enum=voltha.AlarmEventState_Types" json:"state,omitempty"`
Don Newton98fd8812019-09-23 15:15:02 -0400885 // Overall impact of the alarm on the system
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800886 Severity AlarmEventSeverity_Types `protobuf:"varint,5,opt,name=severity,proto3,enum=voltha.AlarmEventSeverity_Types" json:"severity,omitempty"`
Don Newton98fd8812019-09-23 15:15:02 -0400887 // Timestamp at which the alarm was first raised
divyadesai81bb7ba2020-03-11 11:45:23 +0000888 // TODO: Is this obsolete? Eventheader already has a raised_ts
889 RaisedTs *timestamp.Timestamp `protobuf:"bytes,6,opt,name=raised_ts,json=raisedTs,proto3" json:"raised_ts,omitempty"`
Don Newton98fd8812019-09-23 15:15:02 -0400890 // Timestamp at which the alarm was reported
divyadesai81bb7ba2020-03-11 11:45:23 +0000891 // TODO: Is this obsolete? Eventheader already has a reported_ts
892 ReportedTs *timestamp.Timestamp `protobuf:"bytes,7,opt,name=reported_ts,json=reportedTs,proto3" json:"reported_ts,omitempty"`
Don Newton98fd8812019-09-23 15:15:02 -0400893 // Timestamp at which the alarm has changed since it was raised
divyadesai81bb7ba2020-03-11 11:45:23 +0000894 ChangedTs *timestamp.Timestamp `protobuf:"bytes,8,opt,name=changed_ts,json=changedTs,proto3" json:"changed_ts,omitempty"`
Don Newton98fd8812019-09-23 15:15:02 -0400895 // Identifier of the originating resource of the alarm
896 ResourceId string `protobuf:"bytes,9,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
897 // Textual explanation of the alarm
898 Description string `protobuf:"bytes,10,opt,name=description,proto3" json:"description,omitempty"`
899 // Key/Value storage for extra information that may give context to the alarm
900 Context map[string]string `protobuf:"bytes,11,rep,name=context,proto3" json:"context,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
901 // logical device id
902 LogicalDeviceId string `protobuf:"bytes,12,opt,name=logical_device_id,json=logicalDeviceId,proto3" json:"logical_device_id,omitempty"`
903 // alarm_type name indicates clearly the name of the alarm
904 AlarmTypeName string `protobuf:"bytes,13,opt,name=alarm_type_name,json=alarmTypeName,proto3" json:"alarm_type_name,omitempty"`
905 XXX_NoUnkeyedLiteral struct{} `json:"-"`
906 XXX_unrecognized []byte `json:"-"`
907 XXX_sizecache int32 `json:"-"`
908}
909
910func (m *AlarmEvent) Reset() { *m = AlarmEvent{} }
911func (m *AlarmEvent) String() string { return proto.CompactTextString(m) }
912func (*AlarmEvent) ProtoMessage() {}
913func (*AlarmEvent) Descriptor() ([]byte, []int) {
914 return fileDescriptor_e63e6c07044fd2c4, []int{12}
915}
916
917func (m *AlarmEvent) XXX_Unmarshal(b []byte) error {
918 return xxx_messageInfo_AlarmEvent.Unmarshal(m, b)
919}
920func (m *AlarmEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
921 return xxx_messageInfo_AlarmEvent.Marshal(b, m, deterministic)
922}
923func (m *AlarmEvent) XXX_Merge(src proto.Message) {
924 xxx_messageInfo_AlarmEvent.Merge(m, src)
925}
926func (m *AlarmEvent) XXX_Size() int {
927 return xxx_messageInfo_AlarmEvent.Size(m)
928}
929func (m *AlarmEvent) XXX_DiscardUnknown() {
930 xxx_messageInfo_AlarmEvent.DiscardUnknown(m)
931}
932
933var xxx_messageInfo_AlarmEvent proto.InternalMessageInfo
934
935func (m *AlarmEvent) GetId() string {
936 if m != nil {
937 return m.Id
938 }
939 return ""
940}
941
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800942func (m *AlarmEvent) GetType() AlarmEventType_Types {
Don Newton98fd8812019-09-23 15:15:02 -0400943 if m != nil {
944 return m.Type
945 }
946 return AlarmEventType_COMMUNICATION
947}
948
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800949func (m *AlarmEvent) GetCategory() AlarmEventCategory_Types {
Don Newton98fd8812019-09-23 15:15:02 -0400950 if m != nil {
951 return m.Category
952 }
953 return AlarmEventCategory_PON
954}
955
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800956func (m *AlarmEvent) GetState() AlarmEventState_Types {
Don Newton98fd8812019-09-23 15:15:02 -0400957 if m != nil {
958 return m.State
959 }
960 return AlarmEventState_RAISED
961}
962
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800963func (m *AlarmEvent) GetSeverity() AlarmEventSeverity_Types {
Don Newton98fd8812019-09-23 15:15:02 -0400964 if m != nil {
965 return m.Severity
966 }
967 return AlarmEventSeverity_INDETERMINATE
968}
969
divyadesai81bb7ba2020-03-11 11:45:23 +0000970func (m *AlarmEvent) GetRaisedTs() *timestamp.Timestamp {
Don Newton98fd8812019-09-23 15:15:02 -0400971 if m != nil {
972 return m.RaisedTs
973 }
divyadesai81bb7ba2020-03-11 11:45:23 +0000974 return nil
Don Newton98fd8812019-09-23 15:15:02 -0400975}
976
divyadesai81bb7ba2020-03-11 11:45:23 +0000977func (m *AlarmEvent) GetReportedTs() *timestamp.Timestamp {
Don Newton98fd8812019-09-23 15:15:02 -0400978 if m != nil {
979 return m.ReportedTs
980 }
divyadesai81bb7ba2020-03-11 11:45:23 +0000981 return nil
Don Newton98fd8812019-09-23 15:15:02 -0400982}
983
divyadesai81bb7ba2020-03-11 11:45:23 +0000984func (m *AlarmEvent) GetChangedTs() *timestamp.Timestamp {
Don Newton98fd8812019-09-23 15:15:02 -0400985 if m != nil {
986 return m.ChangedTs
987 }
divyadesai81bb7ba2020-03-11 11:45:23 +0000988 return nil
Don Newton98fd8812019-09-23 15:15:02 -0400989}
990
991func (m *AlarmEvent) GetResourceId() string {
992 if m != nil {
993 return m.ResourceId
994 }
995 return ""
996}
997
998func (m *AlarmEvent) GetDescription() string {
999 if m != nil {
1000 return m.Description
1001 }
1002 return ""
1003}
1004
1005func (m *AlarmEvent) GetContext() map[string]string {
1006 if m != nil {
1007 return m.Context
1008 }
1009 return nil
1010}
1011
1012func (m *AlarmEvent) GetLogicalDeviceId() string {
1013 if m != nil {
1014 return m.LogicalDeviceId
1015 }
1016 return ""
1017}
1018
1019func (m *AlarmEvent) GetAlarmTypeName() string {
1020 if m != nil {
1021 return m.AlarmTypeName
1022 }
1023 return ""
1024}
1025
1026//
1027// Describes the events specific to device
1028type DeviceEvent struct {
1029 // Identifier of the originating resource of the event, for ex: device_id
1030 ResourceId string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
1031 // device_event_name indicates clearly the name of the device event
1032 DeviceEventName string `protobuf:"bytes,2,opt,name=device_event_name,json=deviceEventName,proto3" json:"device_event_name,omitempty"`
1033 // Textual explanation of the device event
1034 Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
1035 // Key/Value storage for extra information that may give context to the event
1036 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"`
1037 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1038 XXX_unrecognized []byte `json:"-"`
1039 XXX_sizecache int32 `json:"-"`
1040}
1041
1042func (m *DeviceEvent) Reset() { *m = DeviceEvent{} }
1043func (m *DeviceEvent) String() string { return proto.CompactTextString(m) }
1044func (*DeviceEvent) ProtoMessage() {}
1045func (*DeviceEvent) Descriptor() ([]byte, []int) {
1046 return fileDescriptor_e63e6c07044fd2c4, []int{13}
1047}
1048
1049func (m *DeviceEvent) XXX_Unmarshal(b []byte) error {
1050 return xxx_messageInfo_DeviceEvent.Unmarshal(m, b)
1051}
1052func (m *DeviceEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1053 return xxx_messageInfo_DeviceEvent.Marshal(b, m, deterministic)
1054}
1055func (m *DeviceEvent) XXX_Merge(src proto.Message) {
1056 xxx_messageInfo_DeviceEvent.Merge(m, src)
1057}
1058func (m *DeviceEvent) XXX_Size() int {
1059 return xxx_messageInfo_DeviceEvent.Size(m)
1060}
1061func (m *DeviceEvent) XXX_DiscardUnknown() {
1062 xxx_messageInfo_DeviceEvent.DiscardUnknown(m)
1063}
1064
1065var xxx_messageInfo_DeviceEvent proto.InternalMessageInfo
1066
1067func (m *DeviceEvent) GetResourceId() string {
1068 if m != nil {
1069 return m.ResourceId
1070 }
1071 return ""
1072}
1073
1074func (m *DeviceEvent) GetDeviceEventName() string {
1075 if m != nil {
1076 return m.DeviceEventName
1077 }
1078 return ""
1079}
1080
1081func (m *DeviceEvent) GetDescription() string {
1082 if m != nil {
1083 return m.Description
1084 }
1085 return ""
1086}
1087
1088func (m *DeviceEvent) GetContext() map[string]string {
1089 if m != nil {
1090 return m.Context
1091 }
1092 return nil
1093}
1094
1095//
1096// Identify the area of the system impacted by the event.
1097type EventCategory struct {
1098 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1099 XXX_unrecognized []byte `json:"-"`
1100 XXX_sizecache int32 `json:"-"`
1101}
1102
1103func (m *EventCategory) Reset() { *m = EventCategory{} }
1104func (m *EventCategory) String() string { return proto.CompactTextString(m) }
1105func (*EventCategory) ProtoMessage() {}
1106func (*EventCategory) Descriptor() ([]byte, []int) {
1107 return fileDescriptor_e63e6c07044fd2c4, []int{14}
1108}
1109
1110func (m *EventCategory) XXX_Unmarshal(b []byte) error {
1111 return xxx_messageInfo_EventCategory.Unmarshal(m, b)
1112}
1113func (m *EventCategory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1114 return xxx_messageInfo_EventCategory.Marshal(b, m, deterministic)
1115}
1116func (m *EventCategory) XXX_Merge(src proto.Message) {
1117 xxx_messageInfo_EventCategory.Merge(m, src)
1118}
1119func (m *EventCategory) XXX_Size() int {
1120 return xxx_messageInfo_EventCategory.Size(m)
1121}
1122func (m *EventCategory) XXX_DiscardUnknown() {
1123 xxx_messageInfo_EventCategory.DiscardUnknown(m)
1124}
1125
1126var xxx_messageInfo_EventCategory proto.InternalMessageInfo
1127
1128//
1129// Identify the functional category originating the event
1130type EventSubCategory struct {
1131 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1132 XXX_unrecognized []byte `json:"-"`
1133 XXX_sizecache int32 `json:"-"`
1134}
1135
1136func (m *EventSubCategory) Reset() { *m = EventSubCategory{} }
1137func (m *EventSubCategory) String() string { return proto.CompactTextString(m) }
1138func (*EventSubCategory) ProtoMessage() {}
1139func (*EventSubCategory) Descriptor() ([]byte, []int) {
1140 return fileDescriptor_e63e6c07044fd2c4, []int{15}
1141}
1142
1143func (m *EventSubCategory) XXX_Unmarshal(b []byte) error {
1144 return xxx_messageInfo_EventSubCategory.Unmarshal(m, b)
1145}
1146func (m *EventSubCategory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1147 return xxx_messageInfo_EventSubCategory.Marshal(b, m, deterministic)
1148}
1149func (m *EventSubCategory) XXX_Merge(src proto.Message) {
1150 xxx_messageInfo_EventSubCategory.Merge(m, src)
1151}
1152func (m *EventSubCategory) XXX_Size() int {
1153 return xxx_messageInfo_EventSubCategory.Size(m)
1154}
1155func (m *EventSubCategory) XXX_DiscardUnknown() {
1156 xxx_messageInfo_EventSubCategory.DiscardUnknown(m)
1157}
1158
1159var xxx_messageInfo_EventSubCategory proto.InternalMessageInfo
1160
1161//
1162// Identify the type of event
1163type EventType struct {
1164 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1165 XXX_unrecognized []byte `json:"-"`
1166 XXX_sizecache int32 `json:"-"`
1167}
1168
1169func (m *EventType) Reset() { *m = EventType{} }
1170func (m *EventType) String() string { return proto.CompactTextString(m) }
1171func (*EventType) ProtoMessage() {}
1172func (*EventType) Descriptor() ([]byte, []int) {
1173 return fileDescriptor_e63e6c07044fd2c4, []int{16}
1174}
1175
1176func (m *EventType) XXX_Unmarshal(b []byte) error {
1177 return xxx_messageInfo_EventType.Unmarshal(m, b)
1178}
1179func (m *EventType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1180 return xxx_messageInfo_EventType.Marshal(b, m, deterministic)
1181}
1182func (m *EventType) XXX_Merge(src proto.Message) {
1183 xxx_messageInfo_EventType.Merge(m, src)
1184}
1185func (m *EventType) XXX_Size() int {
1186 return xxx_messageInfo_EventType.Size(m)
1187}
1188func (m *EventType) XXX_DiscardUnknown() {
1189 xxx_messageInfo_EventType.DiscardUnknown(m)
1190}
1191
1192var xxx_messageInfo_EventType proto.InternalMessageInfo
1193
1194//
1195// Identify the functional category originating the event
1196type EventHeader struct {
1197 // Unique ID for this event. e.g. voltha.some_olt.1234
1198 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
1199 // Refers to the functional area affect by the event
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -08001200 Category EventCategory_Types `protobuf:"varint,2,opt,name=category,proto3,enum=voltha.EventCategory_Types" json:"category,omitempty"`
Don Newton98fd8812019-09-23 15:15:02 -04001201 // Refers to functional category of the event
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -08001202 SubCategory EventSubCategory_Types `protobuf:"varint,3,opt,name=sub_category,json=subCategory,proto3,enum=voltha.EventSubCategory_Types" json:"sub_category,omitempty"`
Don Newton98fd8812019-09-23 15:15:02 -04001203 // Refers to the type of the event
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -08001204 Type EventType_Types `protobuf:"varint,4,opt,name=type,proto3,enum=voltha.EventType_Types" json:"type,omitempty"`
Don Newton98fd8812019-09-23 15:15:02 -04001205 // The version identifier for this event type, thus allowing each
1206 // event type to evolve independently. The version should be in the
1207 // format “MAJOR.MINOR” format and minor changes must only be additive
1208 // and non-breaking.
1209 TypeVersion string `protobuf:"bytes,5,opt,name=type_version,json=typeVersion,proto3" json:"type_version,omitempty"`
1210 // Timestamp at which the event was first raised.
1211 // This represents the UTC time stamp since epoch (in seconds) when the
1212 // the event was first raised from the source entity.
1213 // If the source entity doesn't send the raised_ts, this shall be set
1214 // to timestamp when the event was received.
divyadesai81bb7ba2020-03-11 11:45:23 +00001215 RaisedTs *timestamp.Timestamp `protobuf:"bytes,6,opt,name=raised_ts,json=raisedTs,proto3" json:"raised_ts,omitempty"`
Don Newton98fd8812019-09-23 15:15:02 -04001216 // Timestamp at which the event was reported.
1217 // This represents the UTC time stamp since epoch (in seconds) when the
1218 // the event was reported (this time stamp is >= raised_ts).
1219 // If the source entity that reported this event doesn't send the
1220 // reported_ts, this shall be set to the same value as raised_ts.
divyadesai81bb7ba2020-03-11 11:45:23 +00001221 ReportedTs *timestamp.Timestamp `protobuf:"bytes,7,opt,name=reported_ts,json=reportedTs,proto3" json:"reported_ts,omitempty"`
1222 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1223 XXX_unrecognized []byte `json:"-"`
1224 XXX_sizecache int32 `json:"-"`
Don Newton98fd8812019-09-23 15:15:02 -04001225}
1226
1227func (m *EventHeader) Reset() { *m = EventHeader{} }
1228func (m *EventHeader) String() string { return proto.CompactTextString(m) }
1229func (*EventHeader) ProtoMessage() {}
1230func (*EventHeader) Descriptor() ([]byte, []int) {
1231 return fileDescriptor_e63e6c07044fd2c4, []int{17}
1232}
1233
1234func (m *EventHeader) XXX_Unmarshal(b []byte) error {
1235 return xxx_messageInfo_EventHeader.Unmarshal(m, b)
1236}
1237func (m *EventHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1238 return xxx_messageInfo_EventHeader.Marshal(b, m, deterministic)
1239}
1240func (m *EventHeader) XXX_Merge(src proto.Message) {
1241 xxx_messageInfo_EventHeader.Merge(m, src)
1242}
1243func (m *EventHeader) XXX_Size() int {
1244 return xxx_messageInfo_EventHeader.Size(m)
1245}
1246func (m *EventHeader) XXX_DiscardUnknown() {
1247 xxx_messageInfo_EventHeader.DiscardUnknown(m)
1248}
1249
1250var xxx_messageInfo_EventHeader proto.InternalMessageInfo
1251
1252func (m *EventHeader) GetId() string {
1253 if m != nil {
1254 return m.Id
1255 }
1256 return ""
1257}
1258
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -08001259func (m *EventHeader) GetCategory() EventCategory_Types {
Don Newton98fd8812019-09-23 15:15:02 -04001260 if m != nil {
1261 return m.Category
1262 }
1263 return EventCategory_COMMUNICATION
1264}
1265
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -08001266func (m *EventHeader) GetSubCategory() EventSubCategory_Types {
Don Newton98fd8812019-09-23 15:15:02 -04001267 if m != nil {
1268 return m.SubCategory
1269 }
1270 return EventSubCategory_PON
1271}
1272
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -08001273func (m *EventHeader) GetType() EventType_Types {
Don Newton98fd8812019-09-23 15:15:02 -04001274 if m != nil {
1275 return m.Type
1276 }
1277 return EventType_CONFIG_EVENT
1278}
1279
1280func (m *EventHeader) GetTypeVersion() string {
1281 if m != nil {
1282 return m.TypeVersion
1283 }
1284 return ""
1285}
1286
divyadesai81bb7ba2020-03-11 11:45:23 +00001287func (m *EventHeader) GetRaisedTs() *timestamp.Timestamp {
Don Newton98fd8812019-09-23 15:15:02 -04001288 if m != nil {
1289 return m.RaisedTs
1290 }
divyadesai81bb7ba2020-03-11 11:45:23 +00001291 return nil
Don Newton98fd8812019-09-23 15:15:02 -04001292}
1293
divyadesai81bb7ba2020-03-11 11:45:23 +00001294func (m *EventHeader) GetReportedTs() *timestamp.Timestamp {
Don Newton98fd8812019-09-23 15:15:02 -04001295 if m != nil {
1296 return m.ReportedTs
1297 }
divyadesai81bb7ba2020-03-11 11:45:23 +00001298 return nil
Don Newton98fd8812019-09-23 15:15:02 -04001299}
1300
1301//
1302// Event Structure
1303type Event struct {
1304 // event header
1305 Header *EventHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
1306 // oneof event types referred by EventType.
1307 //
1308 // Types that are valid to be assigned to EventType:
1309 // *Event_ConfigEvent
1310 // *Event_KpiEvent
1311 // *Event_KpiEvent2
1312 // *Event_DeviceEvent
1313 EventType isEvent_EventType `protobuf_oneof:"event_type"`
1314 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1315 XXX_unrecognized []byte `json:"-"`
1316 XXX_sizecache int32 `json:"-"`
1317}
1318
1319func (m *Event) Reset() { *m = Event{} }
1320func (m *Event) String() string { return proto.CompactTextString(m) }
1321func (*Event) ProtoMessage() {}
1322func (*Event) Descriptor() ([]byte, []int) {
1323 return fileDescriptor_e63e6c07044fd2c4, []int{18}
1324}
1325
1326func (m *Event) XXX_Unmarshal(b []byte) error {
1327 return xxx_messageInfo_Event.Unmarshal(m, b)
1328}
1329func (m *Event) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1330 return xxx_messageInfo_Event.Marshal(b, m, deterministic)
1331}
1332func (m *Event) XXX_Merge(src proto.Message) {
1333 xxx_messageInfo_Event.Merge(m, src)
1334}
1335func (m *Event) XXX_Size() int {
1336 return xxx_messageInfo_Event.Size(m)
1337}
1338func (m *Event) XXX_DiscardUnknown() {
1339 xxx_messageInfo_Event.DiscardUnknown(m)
1340}
1341
1342var xxx_messageInfo_Event proto.InternalMessageInfo
1343
1344func (m *Event) GetHeader() *EventHeader {
1345 if m != nil {
1346 return m.Header
1347 }
1348 return nil
1349}
1350
1351type isEvent_EventType interface {
1352 isEvent_EventType()
1353}
1354
1355type Event_ConfigEvent struct {
1356 ConfigEvent *ConfigEvent `protobuf:"bytes,2,opt,name=config_event,json=configEvent,proto3,oneof"`
1357}
1358
1359type Event_KpiEvent struct {
1360 KpiEvent *KpiEvent `protobuf:"bytes,3,opt,name=kpi_event,json=kpiEvent,proto3,oneof"`
1361}
1362
1363type Event_KpiEvent2 struct {
1364 KpiEvent2 *KpiEvent2 `protobuf:"bytes,4,opt,name=kpi_event2,json=kpiEvent2,proto3,oneof"`
1365}
1366
1367type Event_DeviceEvent struct {
1368 DeviceEvent *DeviceEvent `protobuf:"bytes,5,opt,name=device_event,json=deviceEvent,proto3,oneof"`
1369}
1370
1371func (*Event_ConfigEvent) isEvent_EventType() {}
1372
1373func (*Event_KpiEvent) isEvent_EventType() {}
1374
1375func (*Event_KpiEvent2) isEvent_EventType() {}
1376
1377func (*Event_DeviceEvent) isEvent_EventType() {}
1378
1379func (m *Event) GetEventType() isEvent_EventType {
1380 if m != nil {
1381 return m.EventType
1382 }
1383 return nil
1384}
1385
1386func (m *Event) GetConfigEvent() *ConfigEvent {
1387 if x, ok := m.GetEventType().(*Event_ConfigEvent); ok {
1388 return x.ConfigEvent
1389 }
1390 return nil
1391}
1392
1393func (m *Event) GetKpiEvent() *KpiEvent {
1394 if x, ok := m.GetEventType().(*Event_KpiEvent); ok {
1395 return x.KpiEvent
1396 }
1397 return nil
1398}
1399
1400func (m *Event) GetKpiEvent2() *KpiEvent2 {
1401 if x, ok := m.GetEventType().(*Event_KpiEvent2); ok {
1402 return x.KpiEvent2
1403 }
1404 return nil
1405}
1406
1407func (m *Event) GetDeviceEvent() *DeviceEvent {
1408 if x, ok := m.GetEventType().(*Event_DeviceEvent); ok {
1409 return x.DeviceEvent
1410 }
1411 return nil
1412}
1413
1414// XXX_OneofWrappers is for the internal use of the proto package.
1415func (*Event) XXX_OneofWrappers() []interface{} {
1416 return []interface{}{
1417 (*Event_ConfigEvent)(nil),
1418 (*Event_KpiEvent)(nil),
1419 (*Event_KpiEvent2)(nil),
1420 (*Event_DeviceEvent)(nil),
1421 }
1422}
1423
1424func init() {
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -08001425 proto.RegisterEnum("voltha.ConfigEventType_Types", ConfigEventType_Types_name, ConfigEventType_Types_value)
1426 proto.RegisterEnum("voltha.KpiEventType_Types", KpiEventType_Types_name, KpiEventType_Types_value)
1427 proto.RegisterEnum("voltha.AlarmEventType_Types", AlarmEventType_Types_name, AlarmEventType_Types_value)
1428 proto.RegisterEnum("voltha.AlarmEventCategory_Types", AlarmEventCategory_Types_name, AlarmEventCategory_Types_value)
1429 proto.RegisterEnum("voltha.AlarmEventState_Types", AlarmEventState_Types_name, AlarmEventState_Types_value)
1430 proto.RegisterEnum("voltha.AlarmEventSeverity_Types", AlarmEventSeverity_Types_name, AlarmEventSeverity_Types_value)
1431 proto.RegisterEnum("voltha.EventCategory_Types", EventCategory_Types_name, EventCategory_Types_value)
1432 proto.RegisterEnum("voltha.EventSubCategory_Types", EventSubCategory_Types_name, EventSubCategory_Types_value)
1433 proto.RegisterEnum("voltha.EventType_Types", EventType_Types_name, EventType_Types_value)
Don Newton98fd8812019-09-23 15:15:02 -04001434 proto.RegisterType((*ConfigEventType)(nil), "voltha.ConfigEventType")
1435 proto.RegisterType((*ConfigEvent)(nil), "voltha.ConfigEvent")
1436 proto.RegisterType((*KpiEventType)(nil), "voltha.KpiEventType")
1437 proto.RegisterType((*MetricMetaData)(nil), "voltha.MetricMetaData")
1438 proto.RegisterMapType((map[string]string)(nil), "voltha.MetricMetaData.ContextEntry")
1439 proto.RegisterType((*MetricValuePairs)(nil), "voltha.MetricValuePairs")
1440 proto.RegisterMapType((map[string]float32)(nil), "voltha.MetricValuePairs.MetricsEntry")
1441 proto.RegisterType((*MetricInformation)(nil), "voltha.MetricInformation")
1442 proto.RegisterMapType((map[string]float32)(nil), "voltha.MetricInformation.MetricsEntry")
1443 proto.RegisterType((*KpiEvent)(nil), "voltha.KpiEvent")
1444 proto.RegisterMapType((map[string]*MetricValuePairs)(nil), "voltha.KpiEvent.PrefixesEntry")
1445 proto.RegisterType((*KpiEvent2)(nil), "voltha.KpiEvent2")
1446 proto.RegisterType((*AlarmEventType)(nil), "voltha.AlarmEventType")
1447 proto.RegisterType((*AlarmEventCategory)(nil), "voltha.AlarmEventCategory")
1448 proto.RegisterType((*AlarmEventState)(nil), "voltha.AlarmEventState")
1449 proto.RegisterType((*AlarmEventSeverity)(nil), "voltha.AlarmEventSeverity")
1450 proto.RegisterType((*AlarmEvent)(nil), "voltha.AlarmEvent")
1451 proto.RegisterMapType((map[string]string)(nil), "voltha.AlarmEvent.ContextEntry")
1452 proto.RegisterType((*DeviceEvent)(nil), "voltha.DeviceEvent")
1453 proto.RegisterMapType((map[string]string)(nil), "voltha.DeviceEvent.ContextEntry")
1454 proto.RegisterType((*EventCategory)(nil), "voltha.EventCategory")
1455 proto.RegisterType((*EventSubCategory)(nil), "voltha.EventSubCategory")
1456 proto.RegisterType((*EventType)(nil), "voltha.EventType")
1457 proto.RegisterType((*EventHeader)(nil), "voltha.EventHeader")
1458 proto.RegisterType((*Event)(nil), "voltha.Event")
1459}
1460
1461func init() { proto.RegisterFile("voltha_protos/events.proto", fileDescriptor_e63e6c07044fd2c4) }
1462
1463var fileDescriptor_e63e6c07044fd2c4 = []byte{
Rohan Agrawal00d3a412020-04-22 10:51:39 +00001464 // 1388 bytes of a gzipped FileDescriptorProto
1465 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x57, 0x5d, 0x6e, 0xdb, 0xc6,
1466 0x16, 0x16, 0xa9, 0xff, 0x43, 0xd9, 0xa6, 0x27, 0x17, 0xf7, 0xea, 0x2a, 0xb9, 0x89, 0x2f, 0x8b,
1467 0x06, 0x46, 0x82, 0x4a, 0xad, 0x5c, 0x20, 0x8e, 0xd3, 0xa2, 0x55, 0x64, 0x36, 0x66, 0x12, 0x51,
1468 0x2e, 0x25, 0x3b, 0x68, 0x5f, 0x84, 0xb1, 0x38, 0x96, 0x08, 0x4b, 0xa2, 0x40, 0x8e, 0xd4, 0x78,
1469 0x01, 0x7d, 0xee, 0x02, 0xba, 0x84, 0xee, 0xa1, 0x6f, 0x5d, 0x46, 0xd1, 0x4d, 0x74, 0x01, 0xc5,
1470 0xfc, 0x50, 0x24, 0x65, 0xa5, 0x79, 0x30, 0xda, 0x3e, 0x69, 0x78, 0xe6, 0x7c, 0xe7, 0xe7, 0x3b,
1471 0x73, 0xce, 0x8c, 0xa0, 0xb6, 0xf4, 0x27, 0x74, 0x8c, 0x07, 0xf3, 0xc0, 0xa7, 0x7e, 0xd8, 0x20,
1472 0x4b, 0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x33, 0x7e, 0xce, 0x03, 0xc4, 0x3e, 0x58, 0xd5,
1517 0x3c, 0x57, 0x1e, 0x1c, 0xd5, 0x73, 0xd1, 0xc7, 0xb2, 0xea, 0x2a, 0xaf, 0xfa, 0xbd, 0xa8, 0x5e,
1518 0xe9, 0x7a, 0xa4, 0xea, 0xfe, 0x19, 0x94, 0x86, 0x92, 0x2a, 0x3e, 0x5b, 0xb7, 0x9b, 0x7b, 0x37,
1519 0x51, 0x11, 0x99, 0x12, 0xb9, 0x42, 0xa0, 0x03, 0xc8, 0x87, 0x8c, 0x1c, 0x3e, 0x72, 0x13, 0x77,
1520 0xcc, 0x1a, 0x77, 0x12, 0x27, 0x74, 0x99, 0xcb, 0x50, 0x92, 0xc3, 0xa7, 0xf1, 0x46, 0x97, 0x11,
1521 0x7d, 0x91, 0xcb, 0x08, 0x81, 0x9e, 0x40, 0x39, 0xc0, 0x5e, 0x48, 0xdc, 0x01, 0x0d, 0xab, 0x05,
1522 0xde, 0x1e, 0xb5, 0xba, 0xb8, 0x56, 0xeb, 0xd1, 0xb5, 0x5a, 0xef, 0x47, 0xd7, 0xaa, 0x53, 0x12,
1523 0xca, 0xfd, 0x10, 0x3d, 0x03, 0x2d, 0x20, 0x73, 0x3f, 0xa0, 0x02, 0x5a, 0x7c, 0x2f, 0x14, 0x22,
1524 0xf5, 0x7e, 0x88, 0x9e, 0x02, 0x0c, 0xc7, 0x78, 0x36, 0x12, 0xd8, 0xd2, 0x7b, 0xb1, 0x65, 0xa9,
1525 0xdd, 0x0f, 0xd1, 0x03, 0xe6, 0x37, 0xf4, 0x17, 0x81, 0xb8, 0x7f, 0xca, 0xbc, 0x58, 0x10, 0x89,
1526 0x2c, 0x17, 0xed, 0x81, 0xe6, 0x92, 0x70, 0x18, 0x78, 0x73, 0xd6, 0x4a, 0x55, 0xe0, 0x0a, 0x49,
1527 0x11, 0x7a, 0x1a, 0xdf, 0x51, 0x1a, 0xef, 0xc4, 0x07, 0x37, 0x09, 0x7b, 0xc7, 0xfd, 0xb4, 0xf1,
1528 0x12, 0xad, 0x6c, 0xbe, 0x44, 0x1f, 0xc2, 0x0e, 0x66, 0xf6, 0x06, 0xec, 0x64, 0x0c, 0x66, 0x78,
1529 0x4a, 0xaa, 0x5b, 0x5c, 0x73, 0x8b, 0x8b, 0x59, 0x25, 0x6c, 0x3c, 0x25, 0xb7, 0xba, 0xdf, 0x7e,
1530 0x57, 0x40, 0x13, 0x0e, 0xc5, 0x09, 0x5e, 0x63, 0x47, 0xb9, 0xc1, 0xce, 0x23, 0xd8, 0x95, 0x81,
1531 0xf3, 0x97, 0x98, 0x08, 0x4b, 0x98, 0xdd, 0x71, 0x63, 0x43, 0x2c, 0xb0, 0x75, 0x26, 0xb3, 0x37,
1532 0x99, 0x3c, 0x8a, 0x99, 0xcc, 0x71, 0x26, 0x57, 0x47, 0x2f, 0x11, 0xd4, 0x66, 0x2a, 0x6f, 0x95,
1533 0xf6, 0x12, 0xb6, 0xd2, 0x63, 0xe9, 0x6f, 0x9a, 0x89, 0x27, 0xa0, 0x8b, 0x76, 0x5a, 0x5c, 0xdc,
1534 0x72, 0x22, 0xbe, 0x81, 0x72, 0x3c, 0xd1, 0x5f, 0x46, 0x26, 0x74, 0xa8, 0xb4, 0xbb, 0xf6, 0x57,
1535 0xd6, 0x8b, 0x81, 0x79, 0xce, 0x82, 0xcb, 0xb0, 0x58, 0x5f, 0x9d, 0x5a, 0xf2, 0x53, 0x61, 0xe1,
1536 0xad, 0x3e, 0x9b, 0xba, 0xca, 0x00, 0xc7, 0x26, 0x0b, 0x5d, 0x6a, 0x64, 0x8d, 0xdf, 0x54, 0xd0,
1537 0xb8, 0xe5, 0x13, 0x82, 0x5d, 0x12, 0xdc, 0x98, 0x69, 0x4f, 0x12, 0x13, 0x4a, 0xcc, 0xb5, 0xbb,
1538 0x51, 0xcd, 0xfe, 0x7c, 0x38, 0xb5, 0xa0, 0x12, 0x2e, 0x2e, 0x06, 0x6b, 0xe3, 0xed, 0x7e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x3e, 0x92, 0x7f, 0xfb, 0x96, 0x07, 0x8d, 0x91, 0x2f, 0x65, 0x17, 0x05, 0x2e, 0x3c, 0xf8, 0x23,
1551 0x00, 0x00, 0xff, 0xff, 0xe5, 0xa6, 0xf9, 0x0e, 0x3f, 0x0e, 0x00, 0x00,
Don Newton98fd8812019-09-23 15:15:02 -04001552}