blob: 30a817f05cb47685f884ca8a3d1f77f09b386079 [file] [log] [blame]
William Kurkian1b363f42019-03-12 15:28:12 -04001// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: voltha_protos/events.proto
3
William Kurkianad745652019-03-20 08:45:51 -04004package voltha
William Kurkian1b363f42019-03-12 15:28:12 -04005
William Kurkianad745652019-03-20 08:45:51 -04006import (
7 fmt "fmt"
8 proto "github.com/golang/protobuf/proto"
Scott Baker7c854aa2020-02-10 17:25:31 -08009 timestamp "github.com/golang/protobuf/ptypes/timestamp"
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030010 _ "github.com/opencord/voltha-protos/v3/go/common"
William Kurkianad745652019-03-20 08:45:51 -040011 _ "google.golang.org/genproto/googleapis/api/annotations"
12 math "math"
13)
William Kurkian1b363f42019-03-12 15:28:12 -040014
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.
William Kurkianad745652019-03-20 08:45:51 -040024const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
William Kurkian1b363f42019-03-12 15:28:12 -040025
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030026type ConfigEventType_Types int32
William Kurkian1b363f42019-03-12 15:28:12 -040027
28const (
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030029 ConfigEventType_add ConfigEventType_Types = 0
30 ConfigEventType_remove ConfigEventType_Types = 1
31 ConfigEventType_update ConfigEventType_Types = 2
William Kurkian1b363f42019-03-12 15:28:12 -040032)
33
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030034var ConfigEventType_Types_name = map[int32]string{
William Kurkian1b363f42019-03-12 15:28:12 -040035 0: "add",
36 1: "remove",
37 2: "update",
38}
William Kurkianad745652019-03-20 08:45:51 -040039
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030040var ConfigEventType_Types_value = map[string]int32{
William Kurkian1b363f42019-03-12 15:28:12 -040041 "add": 0,
42 "remove": 1,
43 "update": 2,
44}
45
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030046func (x ConfigEventType_Types) String() string {
47 return proto.EnumName(ConfigEventType_Types_name, int32(x))
William Kurkian1b363f42019-03-12 15:28:12 -040048}
William Kurkianad745652019-03-20 08:45:51 -040049
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030050func (ConfigEventType_Types) EnumDescriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -040051 return fileDescriptor_e63e6c07044fd2c4, []int{0, 0}
William Kurkian1b363f42019-03-12 15:28:12 -040052}
53
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030054type KpiEventType_Types int32
William Kurkian1b363f42019-03-12 15:28:12 -040055
56const (
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030057 KpiEventType_slice KpiEventType_Types = 0
58 KpiEventType_ts KpiEventType_Types = 1
William Kurkian1b363f42019-03-12 15:28:12 -040059)
60
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030061var KpiEventType_Types_name = map[int32]string{
William Kurkian1b363f42019-03-12 15:28:12 -040062 0: "slice",
63 1: "ts",
64}
William Kurkianad745652019-03-20 08:45:51 -040065
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030066var KpiEventType_Types_value = map[string]int32{
William Kurkian1b363f42019-03-12 15:28:12 -040067 "slice": 0,
68 "ts": 1,
69}
70
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030071func (x KpiEventType_Types) String() string {
72 return proto.EnumName(KpiEventType_Types_name, int32(x))
William Kurkian1b363f42019-03-12 15:28:12 -040073}
William Kurkianad745652019-03-20 08:45:51 -040074
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030075func (KpiEventType_Types) EnumDescriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -040076 return fileDescriptor_e63e6c07044fd2c4, []int{2, 0}
William Kurkian1b363f42019-03-12 15:28:12 -040077}
78
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030079type EventCategory_Types int32
Devmalya Paulf98ca132019-07-09 06:14:19 -040080
81const (
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030082 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
Devmalya Paulf98ca132019-07-09 06:14:19 -040088)
89
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030090var EventCategory_Types_name = map[int32]string{
Devmalya Paulf98ca132019-07-09 06:14:19 -040091 0: "COMMUNICATION",
92 1: "ENVIRONMENT",
93 2: "EQUIPMENT",
94 3: "SERVICE",
95 4: "PROCESSING",
96 5: "SECURITY",
97}
98
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030099var EventCategory_Types_value = map[string]int32{
Devmalya Paulf98ca132019-07-09 06:14:19 -0400100 "COMMUNICATION": 0,
101 "ENVIRONMENT": 1,
102 "EQUIPMENT": 2,
103 "SERVICE": 3,
104 "PROCESSING": 4,
105 "SECURITY": 5,
106}
107
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300108func (x EventCategory_Types) String() string {
109 return proto.EnumName(EventCategory_Types_name, int32(x))
Devmalya Paulf98ca132019-07-09 06:14:19 -0400110}
111
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300112func (EventCategory_Types) EnumDescriptor() ([]byte, []int) {
Mahir Gunyel24adfd62020-08-31 22:16:59 -0700113 return fileDescriptor_e63e6c07044fd2c4, []int{9, 0}
Devmalya Paulf98ca132019-07-09 06:14:19 -0400114}
115
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300116type EventSubCategory_Types int32
Devmalya Paulf98ca132019-07-09 06:14:19 -0400117
118const (
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300119 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
Devmalya Paulf98ca132019-07-09 06:14:19 -0400124)
125
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300126var EventSubCategory_Types_name = map[int32]string{
Devmalya Paulf98ca132019-07-09 06:14:19 -0400127 0: "PON",
128 1: "OLT",
129 2: "ONT",
130 3: "ONU",
131 4: "NNI",
132}
133
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300134var EventSubCategory_Types_value = map[string]int32{
Devmalya Paulf98ca132019-07-09 06:14:19 -0400135 "PON": 0,
136 "OLT": 1,
137 "ONT": 2,
138 "ONU": 3,
139 "NNI": 4,
140}
141
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300142func (x EventSubCategory_Types) String() string {
143 return proto.EnumName(EventSubCategory_Types_name, int32(x))
Devmalya Paulf98ca132019-07-09 06:14:19 -0400144}
145
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300146func (EventSubCategory_Types) EnumDescriptor() ([]byte, []int) {
Mahir Gunyel24adfd62020-08-31 22:16:59 -0700147 return fileDescriptor_e63e6c07044fd2c4, []int{10, 0}
Devmalya Paulf98ca132019-07-09 06:14:19 -0400148}
149
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300150type EventType_Types int32
Devmalya Paulf98ca132019-07-09 06:14:19 -0400151
152const (
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300153 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
Devmalya Paulf98ca132019-07-09 06:14:19 -0400157)
158
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300159var EventType_Types_name = map[int32]string{
Devmalya Paulf98ca132019-07-09 06:14:19 -0400160 0: "CONFIG_EVENT",
161 1: "KPI_EVENT",
162 2: "KPI_EVENT2",
163 3: "DEVICE_EVENT",
164}
165
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300166var EventType_Types_value = map[string]int32{
Devmalya Paulf98ca132019-07-09 06:14:19 -0400167 "CONFIG_EVENT": 0,
168 "KPI_EVENT": 1,
169 "KPI_EVENT2": 2,
170 "DEVICE_EVENT": 3,
171}
172
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300173func (x EventType_Types) String() string {
174 return proto.EnumName(EventType_Types_name, int32(x))
Devmalya Paulf98ca132019-07-09 06:14:19 -0400175}
176
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300177func (EventType_Types) EnumDescriptor() ([]byte, []int) {
Mahir Gunyel24adfd62020-08-31 22:16:59 -0700178 return fileDescriptor_e63e6c07044fd2c4, []int{11, 0}
Devmalya Paulf98ca132019-07-09 06:14:19 -0400179}
180
William Kurkian1b363f42019-03-12 15:28:12 -0400181type ConfigEventType struct {
182 XXX_NoUnkeyedLiteral struct{} `json:"-"`
183 XXX_unrecognized []byte `json:"-"`
184 XXX_sizecache int32 `json:"-"`
185}
186
187func (m *ConfigEventType) Reset() { *m = ConfigEventType{} }
188func (m *ConfigEventType) String() string { return proto.CompactTextString(m) }
189func (*ConfigEventType) ProtoMessage() {}
190func (*ConfigEventType) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -0400191 return fileDescriptor_e63e6c07044fd2c4, []int{0}
William Kurkian1b363f42019-03-12 15:28:12 -0400192}
William Kurkianad745652019-03-20 08:45:51 -0400193
William Kurkian1b363f42019-03-12 15:28:12 -0400194func (m *ConfigEventType) XXX_Unmarshal(b []byte) error {
195 return xxx_messageInfo_ConfigEventType.Unmarshal(m, b)
196}
197func (m *ConfigEventType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
198 return xxx_messageInfo_ConfigEventType.Marshal(b, m, deterministic)
199}
William Kurkianad745652019-03-20 08:45:51 -0400200func (m *ConfigEventType) XXX_Merge(src proto.Message) {
201 xxx_messageInfo_ConfigEventType.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400202}
203func (m *ConfigEventType) XXX_Size() int {
204 return xxx_messageInfo_ConfigEventType.Size(m)
205}
206func (m *ConfigEventType) XXX_DiscardUnknown() {
207 xxx_messageInfo_ConfigEventType.DiscardUnknown(m)
208}
209
210var xxx_messageInfo_ConfigEventType proto.InternalMessageInfo
211
212type ConfigEvent struct {
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300213 Type ConfigEventType_Types `protobuf:"varint,1,opt,name=type,proto3,enum=voltha.ConfigEventType_Types" json:"type,omitempty"`
214 Hash string `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"`
215 Data string `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
216 XXX_NoUnkeyedLiteral struct{} `json:"-"`
217 XXX_unrecognized []byte `json:"-"`
218 XXX_sizecache int32 `json:"-"`
William Kurkian1b363f42019-03-12 15:28:12 -0400219}
220
221func (m *ConfigEvent) Reset() { *m = ConfigEvent{} }
222func (m *ConfigEvent) String() string { return proto.CompactTextString(m) }
223func (*ConfigEvent) ProtoMessage() {}
224func (*ConfigEvent) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -0400225 return fileDescriptor_e63e6c07044fd2c4, []int{1}
William Kurkian1b363f42019-03-12 15:28:12 -0400226}
William Kurkianad745652019-03-20 08:45:51 -0400227
William Kurkian1b363f42019-03-12 15:28:12 -0400228func (m *ConfigEvent) XXX_Unmarshal(b []byte) error {
229 return xxx_messageInfo_ConfigEvent.Unmarshal(m, b)
230}
231func (m *ConfigEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
232 return xxx_messageInfo_ConfigEvent.Marshal(b, m, deterministic)
233}
William Kurkianad745652019-03-20 08:45:51 -0400234func (m *ConfigEvent) XXX_Merge(src proto.Message) {
235 xxx_messageInfo_ConfigEvent.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400236}
237func (m *ConfigEvent) XXX_Size() int {
238 return xxx_messageInfo_ConfigEvent.Size(m)
239}
240func (m *ConfigEvent) XXX_DiscardUnknown() {
241 xxx_messageInfo_ConfigEvent.DiscardUnknown(m)
242}
243
244var xxx_messageInfo_ConfigEvent proto.InternalMessageInfo
245
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300246func (m *ConfigEvent) GetType() ConfigEventType_Types {
William Kurkian1b363f42019-03-12 15:28:12 -0400247 if m != nil {
248 return m.Type
249 }
250 return ConfigEventType_add
251}
252
253func (m *ConfigEvent) GetHash() string {
254 if m != nil {
255 return m.Hash
256 }
257 return ""
258}
259
260func (m *ConfigEvent) GetData() string {
261 if m != nil {
262 return m.Data
263 }
264 return ""
265}
266
267type KpiEventType struct {
268 XXX_NoUnkeyedLiteral struct{} `json:"-"`
269 XXX_unrecognized []byte `json:"-"`
270 XXX_sizecache int32 `json:"-"`
271}
272
273func (m *KpiEventType) Reset() { *m = KpiEventType{} }
274func (m *KpiEventType) String() string { return proto.CompactTextString(m) }
275func (*KpiEventType) ProtoMessage() {}
276func (*KpiEventType) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -0400277 return fileDescriptor_e63e6c07044fd2c4, []int{2}
William Kurkian1b363f42019-03-12 15:28:12 -0400278}
William Kurkianad745652019-03-20 08:45:51 -0400279
William Kurkian1b363f42019-03-12 15:28:12 -0400280func (m *KpiEventType) XXX_Unmarshal(b []byte) error {
281 return xxx_messageInfo_KpiEventType.Unmarshal(m, b)
282}
283func (m *KpiEventType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
284 return xxx_messageInfo_KpiEventType.Marshal(b, m, deterministic)
285}
William Kurkianad745652019-03-20 08:45:51 -0400286func (m *KpiEventType) XXX_Merge(src proto.Message) {
287 xxx_messageInfo_KpiEventType.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400288}
289func (m *KpiEventType) XXX_Size() int {
290 return xxx_messageInfo_KpiEventType.Size(m)
291}
292func (m *KpiEventType) XXX_DiscardUnknown() {
293 xxx_messageInfo_KpiEventType.DiscardUnknown(m)
294}
295
296var xxx_messageInfo_KpiEventType proto.InternalMessageInfo
297
298//
299// Struct to convey a dictionary of metric metadata.
300type MetricMetaData struct {
301 Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
302 Ts float64 `protobuf:"fixed64,2,opt,name=ts,proto3" json:"ts,omitempty"`
303 LogicalDeviceId string `protobuf:"bytes,3,opt,name=logical_device_id,json=logicalDeviceId,proto3" json:"logical_device_id,omitempty"`
304 // (equivalent to the DPID that ONOS has
305 // for the VOLTHA device without the
306 // 'of:' prefix
307 SerialNo string `protobuf:"bytes,4,opt,name=serial_no,json=serialNo,proto3" json:"serial_no,omitempty"`
308 DeviceId string `protobuf:"bytes,5,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
309 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"`
onkar.kundargi7b85fa12020-02-27 13:19:22 +0530310 Uuid string `protobuf:"bytes,7,opt,name=uuid,proto3" json:"uuid,omitempty"`
William Kurkian1b363f42019-03-12 15:28:12 -0400311 XXX_NoUnkeyedLiteral struct{} `json:"-"`
312 XXX_unrecognized []byte `json:"-"`
313 XXX_sizecache int32 `json:"-"`
314}
315
316func (m *MetricMetaData) Reset() { *m = MetricMetaData{} }
317func (m *MetricMetaData) String() string { return proto.CompactTextString(m) }
318func (*MetricMetaData) ProtoMessage() {}
319func (*MetricMetaData) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -0400320 return fileDescriptor_e63e6c07044fd2c4, []int{3}
William Kurkian1b363f42019-03-12 15:28:12 -0400321}
William Kurkianad745652019-03-20 08:45:51 -0400322
William Kurkian1b363f42019-03-12 15:28:12 -0400323func (m *MetricMetaData) XXX_Unmarshal(b []byte) error {
324 return xxx_messageInfo_MetricMetaData.Unmarshal(m, b)
325}
326func (m *MetricMetaData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
327 return xxx_messageInfo_MetricMetaData.Marshal(b, m, deterministic)
328}
William Kurkianad745652019-03-20 08:45:51 -0400329func (m *MetricMetaData) XXX_Merge(src proto.Message) {
330 xxx_messageInfo_MetricMetaData.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400331}
332func (m *MetricMetaData) XXX_Size() int {
333 return xxx_messageInfo_MetricMetaData.Size(m)
334}
335func (m *MetricMetaData) XXX_DiscardUnknown() {
336 xxx_messageInfo_MetricMetaData.DiscardUnknown(m)
337}
338
339var xxx_messageInfo_MetricMetaData proto.InternalMessageInfo
340
341func (m *MetricMetaData) GetTitle() string {
342 if m != nil {
343 return m.Title
344 }
345 return ""
346}
347
348func (m *MetricMetaData) GetTs() float64 {
349 if m != nil {
350 return m.Ts
351 }
352 return 0
353}
354
355func (m *MetricMetaData) GetLogicalDeviceId() string {
356 if m != nil {
357 return m.LogicalDeviceId
358 }
359 return ""
360}
361
362func (m *MetricMetaData) GetSerialNo() string {
363 if m != nil {
364 return m.SerialNo
365 }
366 return ""
367}
368
369func (m *MetricMetaData) GetDeviceId() string {
370 if m != nil {
371 return m.DeviceId
372 }
373 return ""
374}
375
376func (m *MetricMetaData) GetContext() map[string]string {
377 if m != nil {
378 return m.Context
379 }
380 return nil
381}
382
onkar.kundargi7b85fa12020-02-27 13:19:22 +0530383func (m *MetricMetaData) GetUuid() string {
384 if m != nil {
385 return m.Uuid
386 }
387 return ""
388}
389
William Kurkian1b363f42019-03-12 15:28:12 -0400390//
391// Struct to convey a dictionary of metric->value pairs. Typically used in
392// pure shared-timestamp or shared-timestamp + shared object prefix situations.
393type MetricValuePairs struct {
394 // Metric / value pairs.
395 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"`
396 XXX_NoUnkeyedLiteral struct{} `json:"-"`
397 XXX_unrecognized []byte `json:"-"`
398 XXX_sizecache int32 `json:"-"`
399}
400
401func (m *MetricValuePairs) Reset() { *m = MetricValuePairs{} }
402func (m *MetricValuePairs) String() string { return proto.CompactTextString(m) }
403func (*MetricValuePairs) ProtoMessage() {}
404func (*MetricValuePairs) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -0400405 return fileDescriptor_e63e6c07044fd2c4, []int{4}
William Kurkian1b363f42019-03-12 15:28:12 -0400406}
William Kurkianad745652019-03-20 08:45:51 -0400407
William Kurkian1b363f42019-03-12 15:28:12 -0400408func (m *MetricValuePairs) XXX_Unmarshal(b []byte) error {
409 return xxx_messageInfo_MetricValuePairs.Unmarshal(m, b)
410}
411func (m *MetricValuePairs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
412 return xxx_messageInfo_MetricValuePairs.Marshal(b, m, deterministic)
413}
William Kurkianad745652019-03-20 08:45:51 -0400414func (m *MetricValuePairs) XXX_Merge(src proto.Message) {
415 xxx_messageInfo_MetricValuePairs.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400416}
417func (m *MetricValuePairs) XXX_Size() int {
418 return xxx_messageInfo_MetricValuePairs.Size(m)
419}
420func (m *MetricValuePairs) XXX_DiscardUnknown() {
421 xxx_messageInfo_MetricValuePairs.DiscardUnknown(m)
422}
423
424var xxx_messageInfo_MetricValuePairs proto.InternalMessageInfo
425
426func (m *MetricValuePairs) GetMetrics() map[string]float32 {
427 if m != nil {
428 return m.Metrics
429 }
430 return nil
431}
432
433//
434// Struct to group metadata for a metric (or group of metrics) with the key-value
435// pairs of collected metrics
436type MetricInformation struct {
437 Metadata *MetricMetaData `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
438 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"`
439 XXX_NoUnkeyedLiteral struct{} `json:"-"`
440 XXX_unrecognized []byte `json:"-"`
441 XXX_sizecache int32 `json:"-"`
442}
443
444func (m *MetricInformation) Reset() { *m = MetricInformation{} }
445func (m *MetricInformation) String() string { return proto.CompactTextString(m) }
446func (*MetricInformation) ProtoMessage() {}
447func (*MetricInformation) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -0400448 return fileDescriptor_e63e6c07044fd2c4, []int{5}
William Kurkian1b363f42019-03-12 15:28:12 -0400449}
William Kurkianad745652019-03-20 08:45:51 -0400450
William Kurkian1b363f42019-03-12 15:28:12 -0400451func (m *MetricInformation) XXX_Unmarshal(b []byte) error {
452 return xxx_messageInfo_MetricInformation.Unmarshal(m, b)
453}
454func (m *MetricInformation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
455 return xxx_messageInfo_MetricInformation.Marshal(b, m, deterministic)
456}
William Kurkianad745652019-03-20 08:45:51 -0400457func (m *MetricInformation) XXX_Merge(src proto.Message) {
458 xxx_messageInfo_MetricInformation.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400459}
460func (m *MetricInformation) XXX_Size() int {
461 return xxx_messageInfo_MetricInformation.Size(m)
462}
463func (m *MetricInformation) XXX_DiscardUnknown() {
464 xxx_messageInfo_MetricInformation.DiscardUnknown(m)
465}
466
467var xxx_messageInfo_MetricInformation proto.InternalMessageInfo
468
469func (m *MetricInformation) GetMetadata() *MetricMetaData {
470 if m != nil {
471 return m.Metadata
472 }
473 return nil
474}
475
476func (m *MetricInformation) GetMetrics() map[string]float32 {
477 if m != nil {
478 return m.Metrics
479 }
480 return nil
481}
482
483//
484// Legacy KPI Event structured. In mid-August, the KPI event format was updated
485// to a more easily parsable format. See VOL-1140
486// for more information.
487type KpiEvent struct {
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300488 Type KpiEventType_Types `protobuf:"varint,1,opt,name=type,proto3,enum=voltha.KpiEventType_Types" json:"type,omitempty"`
William Kurkian1b363f42019-03-12 15:28:12 -0400489 Ts float32 `protobuf:"fixed32,2,opt,name=ts,proto3" json:"ts,omitempty"`
490 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"`
491 XXX_NoUnkeyedLiteral struct{} `json:"-"`
492 XXX_unrecognized []byte `json:"-"`
493 XXX_sizecache int32 `json:"-"`
494}
495
496func (m *KpiEvent) Reset() { *m = KpiEvent{} }
497func (m *KpiEvent) String() string { return proto.CompactTextString(m) }
498func (*KpiEvent) ProtoMessage() {}
499func (*KpiEvent) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -0400500 return fileDescriptor_e63e6c07044fd2c4, []int{6}
William Kurkian1b363f42019-03-12 15:28:12 -0400501}
William Kurkianad745652019-03-20 08:45:51 -0400502
William Kurkian1b363f42019-03-12 15:28:12 -0400503func (m *KpiEvent) XXX_Unmarshal(b []byte) error {
504 return xxx_messageInfo_KpiEvent.Unmarshal(m, b)
505}
506func (m *KpiEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
507 return xxx_messageInfo_KpiEvent.Marshal(b, m, deterministic)
508}
William Kurkianad745652019-03-20 08:45:51 -0400509func (m *KpiEvent) XXX_Merge(src proto.Message) {
510 xxx_messageInfo_KpiEvent.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400511}
512func (m *KpiEvent) XXX_Size() int {
513 return xxx_messageInfo_KpiEvent.Size(m)
514}
515func (m *KpiEvent) XXX_DiscardUnknown() {
516 xxx_messageInfo_KpiEvent.DiscardUnknown(m)
517}
518
519var xxx_messageInfo_KpiEvent proto.InternalMessageInfo
520
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300521func (m *KpiEvent) GetType() KpiEventType_Types {
William Kurkian1b363f42019-03-12 15:28:12 -0400522 if m != nil {
523 return m.Type
524 }
525 return KpiEventType_slice
526}
527
528func (m *KpiEvent) GetTs() float32 {
529 if m != nil {
530 return m.Ts
531 }
532 return 0
533}
534
535func (m *KpiEvent) GetPrefixes() map[string]*MetricValuePairs {
536 if m != nil {
537 return m.Prefixes
538 }
539 return nil
540}
541
542type KpiEvent2 struct {
543 // Type of KPI Event
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300544 Type KpiEventType_Types `protobuf:"varint,1,opt,name=type,proto3,enum=voltha.KpiEventType_Types" json:"type,omitempty"`
William Kurkian1b363f42019-03-12 15:28:12 -0400545 // Fields used when for slice:
546 Ts float64 `protobuf:"fixed64,2,opt,name=ts,proto3" json:"ts,omitempty"`
547 SliceData []*MetricInformation `protobuf:"bytes,3,rep,name=slice_data,json=sliceData,proto3" json:"slice_data,omitempty"`
548 XXX_NoUnkeyedLiteral struct{} `json:"-"`
549 XXX_unrecognized []byte `json:"-"`
550 XXX_sizecache int32 `json:"-"`
551}
552
553func (m *KpiEvent2) Reset() { *m = KpiEvent2{} }
554func (m *KpiEvent2) String() string { return proto.CompactTextString(m) }
555func (*KpiEvent2) ProtoMessage() {}
556func (*KpiEvent2) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -0400557 return fileDescriptor_e63e6c07044fd2c4, []int{7}
William Kurkian1b363f42019-03-12 15:28:12 -0400558}
William Kurkianad745652019-03-20 08:45:51 -0400559
William Kurkian1b363f42019-03-12 15:28:12 -0400560func (m *KpiEvent2) XXX_Unmarshal(b []byte) error {
561 return xxx_messageInfo_KpiEvent2.Unmarshal(m, b)
562}
563func (m *KpiEvent2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
564 return xxx_messageInfo_KpiEvent2.Marshal(b, m, deterministic)
565}
William Kurkianad745652019-03-20 08:45:51 -0400566func (m *KpiEvent2) XXX_Merge(src proto.Message) {
567 xxx_messageInfo_KpiEvent2.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400568}
569func (m *KpiEvent2) XXX_Size() int {
570 return xxx_messageInfo_KpiEvent2.Size(m)
571}
572func (m *KpiEvent2) XXX_DiscardUnknown() {
573 xxx_messageInfo_KpiEvent2.DiscardUnknown(m)
574}
575
576var xxx_messageInfo_KpiEvent2 proto.InternalMessageInfo
577
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300578func (m *KpiEvent2) GetType() KpiEventType_Types {
William Kurkian1b363f42019-03-12 15:28:12 -0400579 if m != nil {
580 return m.Type
581 }
582 return KpiEventType_slice
583}
584
585func (m *KpiEvent2) GetTs() float64 {
586 if m != nil {
587 return m.Ts
588 }
589 return 0
590}
591
592func (m *KpiEvent2) GetSliceData() []*MetricInformation {
593 if m != nil {
594 return m.SliceData
595 }
596 return nil
597}
598
599//
Devmalya Paulf98ca132019-07-09 06:14:19 -0400600// Describes the events specific to device
601type DeviceEvent struct {
602 // Identifier of the originating resource of the event, for ex: device_id
603 ResourceId string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
604 // device_event_name indicates clearly the name of the device event
605 DeviceEventName string `protobuf:"bytes,2,opt,name=device_event_name,json=deviceEventName,proto3" json:"device_event_name,omitempty"`
606 // Textual explanation of the device event
607 Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
608 // Key/Value storage for extra information that may give context to the event
609 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"`
610 XXX_NoUnkeyedLiteral struct{} `json:"-"`
611 XXX_unrecognized []byte `json:"-"`
612 XXX_sizecache int32 `json:"-"`
613}
614
615func (m *DeviceEvent) Reset() { *m = DeviceEvent{} }
616func (m *DeviceEvent) String() string { return proto.CompactTextString(m) }
617func (*DeviceEvent) ProtoMessage() {}
618func (*DeviceEvent) Descriptor() ([]byte, []int) {
Mahir Gunyel24adfd62020-08-31 22:16:59 -0700619 return fileDescriptor_e63e6c07044fd2c4, []int{8}
Devmalya Paulf98ca132019-07-09 06:14:19 -0400620}
621
622func (m *DeviceEvent) XXX_Unmarshal(b []byte) error {
623 return xxx_messageInfo_DeviceEvent.Unmarshal(m, b)
624}
625func (m *DeviceEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
626 return xxx_messageInfo_DeviceEvent.Marshal(b, m, deterministic)
627}
628func (m *DeviceEvent) XXX_Merge(src proto.Message) {
629 xxx_messageInfo_DeviceEvent.Merge(m, src)
630}
631func (m *DeviceEvent) XXX_Size() int {
632 return xxx_messageInfo_DeviceEvent.Size(m)
633}
634func (m *DeviceEvent) XXX_DiscardUnknown() {
635 xxx_messageInfo_DeviceEvent.DiscardUnknown(m)
636}
637
638var xxx_messageInfo_DeviceEvent proto.InternalMessageInfo
639
640func (m *DeviceEvent) GetResourceId() string {
641 if m != nil {
642 return m.ResourceId
643 }
644 return ""
645}
646
647func (m *DeviceEvent) GetDeviceEventName() string {
648 if m != nil {
649 return m.DeviceEventName
650 }
651 return ""
652}
653
654func (m *DeviceEvent) GetDescription() string {
655 if m != nil {
656 return m.Description
657 }
658 return ""
659}
660
661func (m *DeviceEvent) GetContext() map[string]string {
662 if m != nil {
663 return m.Context
664 }
665 return nil
666}
667
668//
669// Identify the area of the system impacted by the event.
670type EventCategory struct {
671 XXX_NoUnkeyedLiteral struct{} `json:"-"`
672 XXX_unrecognized []byte `json:"-"`
673 XXX_sizecache int32 `json:"-"`
674}
675
676func (m *EventCategory) Reset() { *m = EventCategory{} }
677func (m *EventCategory) String() string { return proto.CompactTextString(m) }
678func (*EventCategory) ProtoMessage() {}
679func (*EventCategory) Descriptor() ([]byte, []int) {
Mahir Gunyel24adfd62020-08-31 22:16:59 -0700680 return fileDescriptor_e63e6c07044fd2c4, []int{9}
Devmalya Paulf98ca132019-07-09 06:14:19 -0400681}
682
683func (m *EventCategory) XXX_Unmarshal(b []byte) error {
684 return xxx_messageInfo_EventCategory.Unmarshal(m, b)
685}
686func (m *EventCategory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
687 return xxx_messageInfo_EventCategory.Marshal(b, m, deterministic)
688}
689func (m *EventCategory) XXX_Merge(src proto.Message) {
690 xxx_messageInfo_EventCategory.Merge(m, src)
691}
692func (m *EventCategory) XXX_Size() int {
693 return xxx_messageInfo_EventCategory.Size(m)
694}
695func (m *EventCategory) XXX_DiscardUnknown() {
696 xxx_messageInfo_EventCategory.DiscardUnknown(m)
697}
698
699var xxx_messageInfo_EventCategory proto.InternalMessageInfo
700
701//
702// Identify the functional category originating the event
703type EventSubCategory struct {
704 XXX_NoUnkeyedLiteral struct{} `json:"-"`
705 XXX_unrecognized []byte `json:"-"`
706 XXX_sizecache int32 `json:"-"`
707}
708
709func (m *EventSubCategory) Reset() { *m = EventSubCategory{} }
710func (m *EventSubCategory) String() string { return proto.CompactTextString(m) }
711func (*EventSubCategory) ProtoMessage() {}
712func (*EventSubCategory) Descriptor() ([]byte, []int) {
Mahir Gunyel24adfd62020-08-31 22:16:59 -0700713 return fileDescriptor_e63e6c07044fd2c4, []int{10}
Devmalya Paulf98ca132019-07-09 06:14:19 -0400714}
715
716func (m *EventSubCategory) XXX_Unmarshal(b []byte) error {
717 return xxx_messageInfo_EventSubCategory.Unmarshal(m, b)
718}
719func (m *EventSubCategory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
720 return xxx_messageInfo_EventSubCategory.Marshal(b, m, deterministic)
721}
722func (m *EventSubCategory) XXX_Merge(src proto.Message) {
723 xxx_messageInfo_EventSubCategory.Merge(m, src)
724}
725func (m *EventSubCategory) XXX_Size() int {
726 return xxx_messageInfo_EventSubCategory.Size(m)
727}
728func (m *EventSubCategory) XXX_DiscardUnknown() {
729 xxx_messageInfo_EventSubCategory.DiscardUnknown(m)
730}
731
732var xxx_messageInfo_EventSubCategory proto.InternalMessageInfo
733
734//
735// Identify the type of event
736type EventType struct {
737 XXX_NoUnkeyedLiteral struct{} `json:"-"`
738 XXX_unrecognized []byte `json:"-"`
739 XXX_sizecache int32 `json:"-"`
740}
741
742func (m *EventType) Reset() { *m = EventType{} }
743func (m *EventType) String() string { return proto.CompactTextString(m) }
744func (*EventType) ProtoMessage() {}
745func (*EventType) Descriptor() ([]byte, []int) {
Mahir Gunyel24adfd62020-08-31 22:16:59 -0700746 return fileDescriptor_e63e6c07044fd2c4, []int{11}
Devmalya Paulf98ca132019-07-09 06:14:19 -0400747}
748
749func (m *EventType) XXX_Unmarshal(b []byte) error {
750 return xxx_messageInfo_EventType.Unmarshal(m, b)
751}
752func (m *EventType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
753 return xxx_messageInfo_EventType.Marshal(b, m, deterministic)
754}
755func (m *EventType) XXX_Merge(src proto.Message) {
756 xxx_messageInfo_EventType.Merge(m, src)
757}
758func (m *EventType) XXX_Size() int {
759 return xxx_messageInfo_EventType.Size(m)
760}
761func (m *EventType) XXX_DiscardUnknown() {
762 xxx_messageInfo_EventType.DiscardUnknown(m)
763}
764
765var xxx_messageInfo_EventType proto.InternalMessageInfo
766
767//
768// Identify the functional category originating the event
769type EventHeader struct {
770 // Unique ID for this event. e.g. voltha.some_olt.1234
771 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
772 // Refers to the functional area affect by the event
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300773 Category EventCategory_Types `protobuf:"varint,2,opt,name=category,proto3,enum=voltha.EventCategory_Types" json:"category,omitempty"`
Devmalya Paulf98ca132019-07-09 06:14:19 -0400774 // Refers to functional category of the event
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300775 SubCategory EventSubCategory_Types `protobuf:"varint,3,opt,name=sub_category,json=subCategory,proto3,enum=voltha.EventSubCategory_Types" json:"sub_category,omitempty"`
Devmalya Paulf98ca132019-07-09 06:14:19 -0400776 // Refers to the type of the event
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300777 Type EventType_Types `protobuf:"varint,4,opt,name=type,proto3,enum=voltha.EventType_Types" json:"type,omitempty"`
Devmalya Paulf98ca132019-07-09 06:14:19 -0400778 // The version identifier for this event type, thus allowing each
779 // event type to evolve independently. The version should be in the
780 // format “MAJOR.MINOR” format and minor changes must only be additive
781 // and non-breaking.
782 TypeVersion string `protobuf:"bytes,5,opt,name=type_version,json=typeVersion,proto3" json:"type_version,omitempty"`
783 // Timestamp at which the event was first raised.
784 // This represents the UTC time stamp since epoch (in seconds) when the
785 // the event was first raised from the source entity.
786 // If the source entity doesn't send the raised_ts, this shall be set
787 // to timestamp when the event was received.
Scott Baker7c854aa2020-02-10 17:25:31 -0800788 RaisedTs *timestamp.Timestamp `protobuf:"bytes,6,opt,name=raised_ts,json=raisedTs,proto3" json:"raised_ts,omitempty"`
Devmalya Paulf98ca132019-07-09 06:14:19 -0400789 // Timestamp at which the event was reported.
790 // This represents the UTC time stamp since epoch (in seconds) when the
791 // the event was reported (this time stamp is >= raised_ts).
792 // If the source entity that reported this event doesn't send the
793 // reported_ts, this shall be set to the same value as raised_ts.
Scott Baker7c854aa2020-02-10 17:25:31 -0800794 ReportedTs *timestamp.Timestamp `protobuf:"bytes,7,opt,name=reported_ts,json=reportedTs,proto3" json:"reported_ts,omitempty"`
795 XXX_NoUnkeyedLiteral struct{} `json:"-"`
796 XXX_unrecognized []byte `json:"-"`
797 XXX_sizecache int32 `json:"-"`
Devmalya Paulf98ca132019-07-09 06:14:19 -0400798}
799
800func (m *EventHeader) Reset() { *m = EventHeader{} }
801func (m *EventHeader) String() string { return proto.CompactTextString(m) }
802func (*EventHeader) ProtoMessage() {}
803func (*EventHeader) Descriptor() ([]byte, []int) {
Mahir Gunyel24adfd62020-08-31 22:16:59 -0700804 return fileDescriptor_e63e6c07044fd2c4, []int{12}
Devmalya Paulf98ca132019-07-09 06:14:19 -0400805}
806
807func (m *EventHeader) XXX_Unmarshal(b []byte) error {
808 return xxx_messageInfo_EventHeader.Unmarshal(m, b)
809}
810func (m *EventHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
811 return xxx_messageInfo_EventHeader.Marshal(b, m, deterministic)
812}
813func (m *EventHeader) XXX_Merge(src proto.Message) {
814 xxx_messageInfo_EventHeader.Merge(m, src)
815}
816func (m *EventHeader) XXX_Size() int {
817 return xxx_messageInfo_EventHeader.Size(m)
818}
819func (m *EventHeader) XXX_DiscardUnknown() {
820 xxx_messageInfo_EventHeader.DiscardUnknown(m)
821}
822
823var xxx_messageInfo_EventHeader proto.InternalMessageInfo
824
825func (m *EventHeader) GetId() string {
826 if m != nil {
827 return m.Id
828 }
829 return ""
830}
831
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300832func (m *EventHeader) GetCategory() EventCategory_Types {
Devmalya Paulf98ca132019-07-09 06:14:19 -0400833 if m != nil {
834 return m.Category
835 }
836 return EventCategory_COMMUNICATION
837}
838
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300839func (m *EventHeader) GetSubCategory() EventSubCategory_Types {
Devmalya Paulf98ca132019-07-09 06:14:19 -0400840 if m != nil {
841 return m.SubCategory
842 }
843 return EventSubCategory_PON
844}
845
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300846func (m *EventHeader) GetType() EventType_Types {
Devmalya Paulf98ca132019-07-09 06:14:19 -0400847 if m != nil {
848 return m.Type
849 }
850 return EventType_CONFIG_EVENT
851}
852
853func (m *EventHeader) GetTypeVersion() string {
854 if m != nil {
855 return m.TypeVersion
856 }
857 return ""
858}
859
Scott Baker7c854aa2020-02-10 17:25:31 -0800860func (m *EventHeader) GetRaisedTs() *timestamp.Timestamp {
Devmalya Paulf98ca132019-07-09 06:14:19 -0400861 if m != nil {
862 return m.RaisedTs
863 }
Scott Baker7c854aa2020-02-10 17:25:31 -0800864 return nil
Devmalya Paulf98ca132019-07-09 06:14:19 -0400865}
866
Scott Baker7c854aa2020-02-10 17:25:31 -0800867func (m *EventHeader) GetReportedTs() *timestamp.Timestamp {
Devmalya Paulf98ca132019-07-09 06:14:19 -0400868 if m != nil {
869 return m.ReportedTs
870 }
Scott Baker7c854aa2020-02-10 17:25:31 -0800871 return nil
Devmalya Paulf98ca132019-07-09 06:14:19 -0400872}
873
874//
875// Event Structure
876type Event struct {
877 // event header
878 Header *EventHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
879 // oneof event types referred by EventType.
880 //
881 // Types that are valid to be assigned to EventType:
882 // *Event_ConfigEvent
883 // *Event_KpiEvent
884 // *Event_KpiEvent2
885 // *Event_DeviceEvent
886 EventType isEvent_EventType `protobuf_oneof:"event_type"`
887 XXX_NoUnkeyedLiteral struct{} `json:"-"`
888 XXX_unrecognized []byte `json:"-"`
889 XXX_sizecache int32 `json:"-"`
890}
891
892func (m *Event) Reset() { *m = Event{} }
893func (m *Event) String() string { return proto.CompactTextString(m) }
894func (*Event) ProtoMessage() {}
895func (*Event) Descriptor() ([]byte, []int) {
Mahir Gunyel24adfd62020-08-31 22:16:59 -0700896 return fileDescriptor_e63e6c07044fd2c4, []int{13}
Devmalya Paulf98ca132019-07-09 06:14:19 -0400897}
898
899func (m *Event) XXX_Unmarshal(b []byte) error {
900 return xxx_messageInfo_Event.Unmarshal(m, b)
901}
902func (m *Event) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
903 return xxx_messageInfo_Event.Marshal(b, m, deterministic)
904}
905func (m *Event) XXX_Merge(src proto.Message) {
906 xxx_messageInfo_Event.Merge(m, src)
907}
908func (m *Event) XXX_Size() int {
909 return xxx_messageInfo_Event.Size(m)
910}
911func (m *Event) XXX_DiscardUnknown() {
912 xxx_messageInfo_Event.DiscardUnknown(m)
913}
914
915var xxx_messageInfo_Event proto.InternalMessageInfo
916
917func (m *Event) GetHeader() *EventHeader {
918 if m != nil {
919 return m.Header
920 }
921 return nil
922}
923
924type isEvent_EventType interface {
925 isEvent_EventType()
926}
927
928type Event_ConfigEvent struct {
929 ConfigEvent *ConfigEvent `protobuf:"bytes,2,opt,name=config_event,json=configEvent,proto3,oneof"`
930}
931
932type Event_KpiEvent struct {
933 KpiEvent *KpiEvent `protobuf:"bytes,3,opt,name=kpi_event,json=kpiEvent,proto3,oneof"`
934}
935
936type Event_KpiEvent2 struct {
937 KpiEvent2 *KpiEvent2 `protobuf:"bytes,4,opt,name=kpi_event2,json=kpiEvent2,proto3,oneof"`
938}
939
940type Event_DeviceEvent struct {
941 DeviceEvent *DeviceEvent `protobuf:"bytes,5,opt,name=device_event,json=deviceEvent,proto3,oneof"`
942}
943
944func (*Event_ConfigEvent) isEvent_EventType() {}
945
946func (*Event_KpiEvent) isEvent_EventType() {}
947
948func (*Event_KpiEvent2) isEvent_EventType() {}
949
950func (*Event_DeviceEvent) isEvent_EventType() {}
951
952func (m *Event) GetEventType() isEvent_EventType {
953 if m != nil {
954 return m.EventType
955 }
956 return nil
957}
958
959func (m *Event) GetConfigEvent() *ConfigEvent {
960 if x, ok := m.GetEventType().(*Event_ConfigEvent); ok {
961 return x.ConfigEvent
962 }
963 return nil
964}
965
966func (m *Event) GetKpiEvent() *KpiEvent {
967 if x, ok := m.GetEventType().(*Event_KpiEvent); ok {
968 return x.KpiEvent
969 }
970 return nil
971}
972
973func (m *Event) GetKpiEvent2() *KpiEvent2 {
974 if x, ok := m.GetEventType().(*Event_KpiEvent2); ok {
975 return x.KpiEvent2
976 }
977 return nil
978}
979
980func (m *Event) GetDeviceEvent() *DeviceEvent {
981 if x, ok := m.GetEventType().(*Event_DeviceEvent); ok {
982 return x.DeviceEvent
983 }
984 return nil
985}
986
987// XXX_OneofWrappers is for the internal use of the proto package.
988func (*Event) XXX_OneofWrappers() []interface{} {
989 return []interface{}{
990 (*Event_ConfigEvent)(nil),
991 (*Event_KpiEvent)(nil),
992 (*Event_KpiEvent2)(nil),
993 (*Event_DeviceEvent)(nil),
994 }
995}
996
William Kurkian1b363f42019-03-12 15:28:12 -0400997func init() {
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300998 proto.RegisterEnum("voltha.ConfigEventType_Types", ConfigEventType_Types_name, ConfigEventType_Types_value)
999 proto.RegisterEnum("voltha.KpiEventType_Types", KpiEventType_Types_name, KpiEventType_Types_value)
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +03001000 proto.RegisterEnum("voltha.EventCategory_Types", EventCategory_Types_name, EventCategory_Types_value)
1001 proto.RegisterEnum("voltha.EventSubCategory_Types", EventSubCategory_Types_name, EventSubCategory_Types_value)
1002 proto.RegisterEnum("voltha.EventType_Types", EventType_Types_name, EventType_Types_value)
William Kurkian1b363f42019-03-12 15:28:12 -04001003 proto.RegisterType((*ConfigEventType)(nil), "voltha.ConfigEventType")
1004 proto.RegisterType((*ConfigEvent)(nil), "voltha.ConfigEvent")
1005 proto.RegisterType((*KpiEventType)(nil), "voltha.KpiEventType")
1006 proto.RegisterType((*MetricMetaData)(nil), "voltha.MetricMetaData")
1007 proto.RegisterMapType((map[string]string)(nil), "voltha.MetricMetaData.ContextEntry")
1008 proto.RegisterType((*MetricValuePairs)(nil), "voltha.MetricValuePairs")
1009 proto.RegisterMapType((map[string]float32)(nil), "voltha.MetricValuePairs.MetricsEntry")
1010 proto.RegisterType((*MetricInformation)(nil), "voltha.MetricInformation")
1011 proto.RegisterMapType((map[string]float32)(nil), "voltha.MetricInformation.MetricsEntry")
1012 proto.RegisterType((*KpiEvent)(nil), "voltha.KpiEvent")
1013 proto.RegisterMapType((map[string]*MetricValuePairs)(nil), "voltha.KpiEvent.PrefixesEntry")
1014 proto.RegisterType((*KpiEvent2)(nil), "voltha.KpiEvent2")
Devmalya Paulf98ca132019-07-09 06:14:19 -04001015 proto.RegisterType((*DeviceEvent)(nil), "voltha.DeviceEvent")
1016 proto.RegisterMapType((map[string]string)(nil), "voltha.DeviceEvent.ContextEntry")
1017 proto.RegisterType((*EventCategory)(nil), "voltha.EventCategory")
1018 proto.RegisterType((*EventSubCategory)(nil), "voltha.EventSubCategory")
1019 proto.RegisterType((*EventType)(nil), "voltha.EventType")
1020 proto.RegisterType((*EventHeader)(nil), "voltha.EventHeader")
1021 proto.RegisterType((*Event)(nil), "voltha.Event")
William Kurkian1b363f42019-03-12 15:28:12 -04001022}
1023
William Kurkianad745652019-03-20 08:45:51 -04001024func init() { proto.RegisterFile("voltha_protos/events.proto", fileDescriptor_e63e6c07044fd2c4) }
William Kurkian1b363f42019-03-12 15:28:12 -04001025
William Kurkianad745652019-03-20 08:45:51 -04001026var fileDescriptor_e63e6c07044fd2c4 = []byte{
Mahir Gunyel24adfd62020-08-31 22:16:59 -07001027 // 1135 bytes of a gzipped FileDescriptorProto
1028 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x56, 0xdd, 0x6e, 0xe3, 0x44,
1029 0x14, 0x8e, 0x9d, 0x34, 0x3f, 0xc7, 0x69, 0xeb, 0xce, 0x22, 0x08, 0x59, 0xd8, 0x2d, 0x46, 0xa0,
1030 0x6a, 0x57, 0x38, 0xc2, 0x8b, 0xb4, 0x55, 0x57, 0x08, 0x76, 0x53, 0xb3, 0x35, 0x4b, 0x93, 0xe0,
1031 0xa6, 0x45, 0x70, 0x13, 0x4d, 0xe3, 0x69, 0x62, 0x35, 0xc9, 0x58, 0x9e, 0x49, 0xb4, 0x7d, 0x00,
1032 0xae, 0x79, 0x00, 0x1e, 0x81, 0xe7, 0xe0, 0x31, 0x10, 0x2f, 0xc1, 0x03, 0xa0, 0xf9, 0x71, 0x62,
1033 0x97, 0xae, 0xf6, 0x62, 0xc5, 0x95, 0x67, 0xce, 0x9c, 0x6f, 0xe6, 0x3b, 0x67, 0xce, 0x77, 0xc6,
1034 0xd0, 0x5e, 0xd1, 0x19, 0x9f, 0xe2, 0x51, 0x92, 0x52, 0x4e, 0x59, 0x87, 0xac, 0xc8, 0x82, 0x33,
1035 0x57, 0xce, 0x50, 0x55, 0xad, 0xb5, 0x5b, 0x45, 0x9f, 0x39, 0xe1, 0x58, 0x79, 0xb4, 0x3f, 0x9a,
1036 0x50, 0x3a, 0x99, 0x91, 0x0e, 0x4e, 0xe2, 0x0e, 0x5e, 0x2c, 0x28, 0xc7, 0x3c, 0xa6, 0x0b, 0x8d,
1037 0x6f, 0x3f, 0xd4, 0xab, 0x72, 0x76, 0xb9, 0xbc, 0xea, 0xf0, 0x78, 0x4e, 0x18, 0xc7, 0xf3, 0x44,
1038 0x39, 0x38, 0xcf, 0x60, 0xb7, 0x4b, 0x17, 0x57, 0xf1, 0xc4, 0x17, 0xc7, 0x0e, 0x6f, 0x12, 0xe2,
1039 0x1c, 0xc0, 0x96, 0xf8, 0x32, 0x54, 0x83, 0x32, 0x8e, 0x22, 0xbb, 0x84, 0x00, 0xaa, 0x29, 0x99,
1040 0xd3, 0x15, 0xb1, 0x0d, 0x31, 0x5e, 0x26, 0x11, 0xe6, 0xc4, 0x36, 0x9d, 0x29, 0x58, 0x39, 0x30,
1041 0xfa, 0x12, 0x2a, 0xfc, 0x26, 0x21, 0x2d, 0x63, 0xdf, 0x38, 0xd8, 0xf1, 0x3e, 0x76, 0x15, 0x67,
1042 0xf7, 0xd6, 0xfe, 0xae, 0xdc, 0x3c, 0x94, 0xae, 0x08, 0x41, 0x65, 0x8a, 0xd9, 0xb4, 0x65, 0xee,
1043 0x1b, 0x07, 0x8d, 0x50, 0x8e, 0x85, 0x2d, 0xc2, 0x1c, 0xb7, 0xca, 0xca, 0x26, 0xc6, 0xce, 0x23,
1044 0x68, 0xbe, 0x4a, 0xe2, 0x0d, 0xc7, 0x76, 0xc6, 0xb1, 0x01, 0x5b, 0x6c, 0x16, 0x8f, 0x89, 0x5d,
1045 0x42, 0x55, 0x30, 0x39, 0xb3, 0x0d, 0xe7, 0x0f, 0x13, 0x76, 0x4e, 0x09, 0x4f, 0xe3, 0xf1, 0x29,
1046 0xe1, 0xf8, 0x18, 0x73, 0x8c, 0xde, 0x83, 0x2d, 0x1e, 0xf3, 0x99, 0xa2, 0xd6, 0x08, 0xd5, 0x04,
1047 0xed, 0x08, 0x80, 0x3c, 0xda, 0x08, 0x4d, 0xce, 0xd0, 0x23, 0xd8, 0x9b, 0xd1, 0x49, 0x3c, 0xc6,
1048 0xb3, 0x51, 0x44, 0x56, 0xf1, 0x98, 0x8c, 0xe2, 0x48, 0xb3, 0xd8, 0xd5, 0x0b, 0xc7, 0xd2, 0x1e,
1049 0x44, 0xe8, 0x3e, 0x34, 0x18, 0x49, 0x63, 0x3c, 0x1b, 0x2d, 0x68, 0xab, 0x22, 0x7d, 0xea, 0xca,
1050 0xd0, 0xa3, 0x62, 0x71, 0xb3, 0xc1, 0x96, 0x5a, 0x8c, 0x32, 0xe4, 0xd7, 0x50, 0x1b, 0xd3, 0x05,
1051 0x27, 0xaf, 0x79, 0xab, 0xba, 0x5f, 0x3e, 0xb0, 0xbc, 0x4f, 0xb3, 0x44, 0x15, 0x49, 0x8b, 0xbc,
1052 0x09, 0x2f, 0x7f, 0xc1, 0xd3, 0x9b, 0x30, 0xc3, 0x88, 0xec, 0x2c, 0x97, 0x71, 0xd4, 0xaa, 0xa9,
1053 0xec, 0x88, 0x71, 0xfb, 0x08, 0x9a, 0x79, 0x67, 0x64, 0x43, 0xf9, 0x9a, 0xdc, 0xe8, 0x60, 0xc5,
1054 0x50, 0x24, 0x60, 0x85, 0x67, 0x4b, 0xa2, 0x13, 0xad, 0x26, 0x47, 0xe6, 0xa1, 0xe1, 0xfc, 0x66,
1055 0x80, 0xad, 0x0e, 0xbe, 0x10, 0xb6, 0x01, 0x8e, 0x53, 0x86, 0xbe, 0x81, 0xda, 0x5c, 0xda, 0x58,
1056 0xcb, 0x90, 0x1c, 0x3f, 0x2b, 0x72, 0xdc, 0xb8, 0x6a, 0x03, 0xd3, 0x2c, 0x35, 0x4a, 0x30, 0xca,
1057 0x2f, 0xbc, 0x8d, 0x91, 0x99, 0x67, 0xf4, 0xa7, 0x01, 0x7b, 0x0a, 0x1c, 0x2c, 0xae, 0x68, 0x3a,
1058 0x97, 0x05, 0x8d, 0x3c, 0xa8, 0x8b, 0x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, 0x24, 0xd6, 0xb0,
1092 0xb2, 0x84, 0xd9, 0xb7, 0x7b, 0xcc, 0x49, 0x29, 0xac, 0x5f, 0x67, 0x0d, 0xd7, 0x03, 0x58, 0x03,
1093 0x3c, 0x99, 0x6d, 0xcb, 0xdb, 0xbb, 0x8d, 0xf0, 0x4e, 0x4a, 0x61, 0xe3, 0x7a, 0xdd, 0xc3, 0x0e,
1094 0xa1, 0x99, 0x6f, 0x0c, 0x32, 0xdd, 0x39, 0x7a, 0x39, 0x3d, 0x0b, 0x7a, 0xb9, 0x56, 0xf1, 0xa2,
1095 0x09, 0xa0, 0x7a, 0x89, 0xb8, 0x9a, 0x17, 0x3e, 0xdc, 0xa3, 0xe9, 0xc4, 0xa5, 0x09, 0x59, 0x8c,
1096 0x69, 0x1a, 0x69, 0xfc, 0x2f, 0xee, 0x24, 0xe6, 0xd3, 0xe5, 0xa5, 0x3b, 0xa6, 0xf3, 0x4e, 0xb6,
1097 0xd6, 0x51, 0x6b, 0x5f, 0xe8, 0x1f, 0xbb, 0xd5, 0x93, 0xce, 0x84, 0x6a, 0xdb, 0x65, 0x55, 0x1a,
1098 0x9f, 0xfc, 0x1b, 0x00, 0x00, 0xff, 0xff, 0x6d, 0xad, 0x4a, 0x9a, 0x21, 0x0a, 0x00, 0x00,
William Kurkian1b363f42019-03-12 15:28:12 -04001099}