| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1 | // Code generated by protoc-gen-go. DO NOT EDIT. |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 2 | // versions: |
| 3 | // protoc-gen-go v1.36.11 |
| 4 | // protoc v4.25.8 |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 5 | // source: voltha_protos/events.proto |
| 6 | |
| William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 7 | package voltha |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 8 | |
| William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 9 | import ( |
| khenaidoo | 5fc5cea | 2021-08-11 17:39:16 -0400 | [diff] [blame] | 10 | common "github.com/opencord/voltha-protos/v5/go/common" |
| William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 11 | _ "google.golang.org/genproto/googleapis/api/annotations" |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 12 | protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 13 | protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 14 | timestamppb "google.golang.org/protobuf/types/known/timestamppb" |
| 15 | reflect "reflect" |
| 16 | sync "sync" |
| 17 | unsafe "unsafe" |
| William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 18 | ) |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 19 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 20 | const ( |
| 21 | // Verify that this generated code is sufficiently up-to-date. |
| 22 | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 23 | // Verify that runtime/protoimpl is sufficiently up-to-date. |
| 24 | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 25 | ) |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 26 | |
| khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 27 | type EventFilterRuleKey_EventFilterRuleType int32 |
| 28 | |
| 29 | const ( |
| 30 | EventFilterRuleKey_filter_all EventFilterRuleKey_EventFilterRuleType = 0 |
| 31 | EventFilterRuleKey_category EventFilterRuleKey_EventFilterRuleType = 1 |
| 32 | EventFilterRuleKey_sub_category EventFilterRuleKey_EventFilterRuleType = 2 |
| 33 | EventFilterRuleKey_kpi_event_type EventFilterRuleKey_EventFilterRuleType = 3 |
| 34 | EventFilterRuleKey_config_event_type EventFilterRuleKey_EventFilterRuleType = 4 |
| 35 | EventFilterRuleKey_device_event_type EventFilterRuleKey_EventFilterRuleType = 5 |
| 36 | ) |
| 37 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 38 | // Enum value maps for EventFilterRuleKey_EventFilterRuleType. |
| 39 | var ( |
| 40 | EventFilterRuleKey_EventFilterRuleType_name = map[int32]string{ |
| 41 | 0: "filter_all", |
| 42 | 1: "category", |
| 43 | 2: "sub_category", |
| 44 | 3: "kpi_event_type", |
| 45 | 4: "config_event_type", |
| 46 | 5: "device_event_type", |
| 47 | } |
| 48 | EventFilterRuleKey_EventFilterRuleType_value = map[string]int32{ |
| 49 | "filter_all": 0, |
| 50 | "category": 1, |
| 51 | "sub_category": 2, |
| 52 | "kpi_event_type": 3, |
| 53 | "config_event_type": 4, |
| 54 | "device_event_type": 5, |
| 55 | } |
| 56 | ) |
| khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 57 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 58 | func (x EventFilterRuleKey_EventFilterRuleType) Enum() *EventFilterRuleKey_EventFilterRuleType { |
| 59 | p := new(EventFilterRuleKey_EventFilterRuleType) |
| 60 | *p = x |
| 61 | return p |
| khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 62 | } |
| 63 | |
| 64 | func (x EventFilterRuleKey_EventFilterRuleType) String() string { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 65 | return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 66 | } |
| 67 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 68 | func (EventFilterRuleKey_EventFilterRuleType) Descriptor() protoreflect.EnumDescriptor { |
| 69 | return file_voltha_protos_events_proto_enumTypes[0].Descriptor() |
| 70 | } |
| 71 | |
| 72 | func (EventFilterRuleKey_EventFilterRuleType) Type() protoreflect.EnumType { |
| 73 | return &file_voltha_protos_events_proto_enumTypes[0] |
| 74 | } |
| 75 | |
| 76 | func (x EventFilterRuleKey_EventFilterRuleType) Number() protoreflect.EnumNumber { |
| 77 | return protoreflect.EnumNumber(x) |
| 78 | } |
| 79 | |
| 80 | // Deprecated: Use EventFilterRuleKey_EventFilterRuleType.Descriptor instead. |
| khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 81 | func (EventFilterRuleKey_EventFilterRuleType) EnumDescriptor() ([]byte, []int) { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 82 | return file_voltha_protos_events_proto_rawDescGZIP(), []int{0, 0} |
| khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 83 | } |
| 84 | |
| Serkant Uluderya | cbcfaa4 | 2019-10-18 13:25:08 +0300 | [diff] [blame] | 85 | type ConfigEventType_Types int32 |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 86 | |
| 87 | const ( |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 88 | ConfigEventType_add ConfigEventType_Types = 0 // A new config has been added |
| 89 | ConfigEventType_remove ConfigEventType_Types = 1 // A config has been removed |
| 90 | ConfigEventType_update ConfigEventType_Types = 2 // A config has been updated |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 91 | ) |
| 92 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 93 | // Enum value maps for ConfigEventType_Types. |
| 94 | var ( |
| 95 | ConfigEventType_Types_name = map[int32]string{ |
| 96 | 0: "add", |
| 97 | 1: "remove", |
| 98 | 2: "update", |
| 99 | } |
| 100 | ConfigEventType_Types_value = map[string]int32{ |
| 101 | "add": 0, |
| 102 | "remove": 1, |
| 103 | "update": 2, |
| 104 | } |
| 105 | ) |
| William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 106 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 107 | func (x ConfigEventType_Types) Enum() *ConfigEventType_Types { |
| 108 | p := new(ConfigEventType_Types) |
| 109 | *p = x |
| 110 | return p |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 111 | } |
| 112 | |
| Serkant Uluderya | cbcfaa4 | 2019-10-18 13:25:08 +0300 | [diff] [blame] | 113 | func (x ConfigEventType_Types) String() string { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 114 | return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 115 | } |
| William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 116 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 117 | func (ConfigEventType_Types) Descriptor() protoreflect.EnumDescriptor { |
| 118 | return file_voltha_protos_events_proto_enumTypes[1].Descriptor() |
| 119 | } |
| 120 | |
| 121 | func (ConfigEventType_Types) Type() protoreflect.EnumType { |
| 122 | return &file_voltha_protos_events_proto_enumTypes[1] |
| 123 | } |
| 124 | |
| 125 | func (x ConfigEventType_Types) Number() protoreflect.EnumNumber { |
| 126 | return protoreflect.EnumNumber(x) |
| 127 | } |
| 128 | |
| 129 | // Deprecated: Use ConfigEventType_Types.Descriptor instead. |
| Serkant Uluderya | cbcfaa4 | 2019-10-18 13:25:08 +0300 | [diff] [blame] | 130 | func (ConfigEventType_Types) EnumDescriptor() ([]byte, []int) { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 131 | return file_voltha_protos_events_proto_rawDescGZIP(), []int{4, 0} |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 132 | } |
| 133 | |
| Serkant Uluderya | cbcfaa4 | 2019-10-18 13:25:08 +0300 | [diff] [blame] | 134 | type KpiEventType_Types int32 |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 135 | |
| 136 | const ( |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 137 | KpiEventType_slice KpiEventType_Types = 0 // slice: a set of path/metric data for same time-stamp |
| 138 | KpiEventType_ts KpiEventType_Types = 1 // time-series: array of data for same metric |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 139 | ) |
| 140 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 141 | // Enum value maps for KpiEventType_Types. |
| 142 | var ( |
| 143 | KpiEventType_Types_name = map[int32]string{ |
| 144 | 0: "slice", |
| 145 | 1: "ts", |
| 146 | } |
| 147 | KpiEventType_Types_value = map[string]int32{ |
| 148 | "slice": 0, |
| 149 | "ts": 1, |
| 150 | } |
| 151 | ) |
| William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 152 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 153 | func (x KpiEventType_Types) Enum() *KpiEventType_Types { |
| 154 | p := new(KpiEventType_Types) |
| 155 | *p = x |
| 156 | return p |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 157 | } |
| 158 | |
| Serkant Uluderya | cbcfaa4 | 2019-10-18 13:25:08 +0300 | [diff] [blame] | 159 | func (x KpiEventType_Types) String() string { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 160 | return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 161 | } |
| William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 162 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 163 | func (KpiEventType_Types) Descriptor() protoreflect.EnumDescriptor { |
| 164 | return file_voltha_protos_events_proto_enumTypes[2].Descriptor() |
| 165 | } |
| 166 | |
| 167 | func (KpiEventType_Types) Type() protoreflect.EnumType { |
| 168 | return &file_voltha_protos_events_proto_enumTypes[2] |
| 169 | } |
| 170 | |
| 171 | func (x KpiEventType_Types) Number() protoreflect.EnumNumber { |
| 172 | return protoreflect.EnumNumber(x) |
| 173 | } |
| 174 | |
| 175 | // Deprecated: Use KpiEventType_Types.Descriptor instead. |
| Serkant Uluderya | cbcfaa4 | 2019-10-18 13:25:08 +0300 | [diff] [blame] | 176 | func (KpiEventType_Types) EnumDescriptor() ([]byte, []int) { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 177 | return file_voltha_protos_events_proto_rawDescGZIP(), []int{6, 0} |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 178 | } |
| 179 | |
| Serkant Uluderya | cbcfaa4 | 2019-10-18 13:25:08 +0300 | [diff] [blame] | 180 | type EventCategory_Types int32 |
| Devmalya Paul | f98ca13 | 2019-07-09 06:14:19 -0400 | [diff] [blame] | 181 | |
| 182 | const ( |
| Serkant Uluderya | cbcfaa4 | 2019-10-18 13:25:08 +0300 | [diff] [blame] | 183 | EventCategory_COMMUNICATION EventCategory_Types = 0 |
| 184 | EventCategory_ENVIRONMENT EventCategory_Types = 1 |
| 185 | EventCategory_EQUIPMENT EventCategory_Types = 2 |
| 186 | EventCategory_SERVICE EventCategory_Types = 3 |
| 187 | EventCategory_PROCESSING EventCategory_Types = 4 |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 188 | EventCategory_SECURITY EventCategory_Types = 5 // Add new event areas here |
| Devmalya Paul | f98ca13 | 2019-07-09 06:14:19 -0400 | [diff] [blame] | 189 | ) |
| 190 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 191 | // Enum value maps for EventCategory_Types. |
| 192 | var ( |
| 193 | EventCategory_Types_name = map[int32]string{ |
| 194 | 0: "COMMUNICATION", |
| 195 | 1: "ENVIRONMENT", |
| 196 | 2: "EQUIPMENT", |
| 197 | 3: "SERVICE", |
| 198 | 4: "PROCESSING", |
| 199 | 5: "SECURITY", |
| 200 | } |
| 201 | EventCategory_Types_value = map[string]int32{ |
| 202 | "COMMUNICATION": 0, |
| 203 | "ENVIRONMENT": 1, |
| 204 | "EQUIPMENT": 2, |
| 205 | "SERVICE": 3, |
| 206 | "PROCESSING": 4, |
| 207 | "SECURITY": 5, |
| 208 | } |
| 209 | ) |
| Devmalya Paul | f98ca13 | 2019-07-09 06:14:19 -0400 | [diff] [blame] | 210 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 211 | func (x EventCategory_Types) Enum() *EventCategory_Types { |
| 212 | p := new(EventCategory_Types) |
| 213 | *p = x |
| 214 | return p |
| Devmalya Paul | f98ca13 | 2019-07-09 06:14:19 -0400 | [diff] [blame] | 215 | } |
| 216 | |
| Serkant Uluderya | cbcfaa4 | 2019-10-18 13:25:08 +0300 | [diff] [blame] | 217 | func (x EventCategory_Types) String() string { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 218 | return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| Devmalya Paul | f98ca13 | 2019-07-09 06:14:19 -0400 | [diff] [blame] | 219 | } |
| 220 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 221 | func (EventCategory_Types) Descriptor() protoreflect.EnumDescriptor { |
| 222 | return file_voltha_protos_events_proto_enumTypes[3].Descriptor() |
| 223 | } |
| 224 | |
| 225 | func (EventCategory_Types) Type() protoreflect.EnumType { |
| 226 | return &file_voltha_protos_events_proto_enumTypes[3] |
| 227 | } |
| 228 | |
| 229 | func (x EventCategory_Types) Number() protoreflect.EnumNumber { |
| 230 | return protoreflect.EnumNumber(x) |
| 231 | } |
| 232 | |
| 233 | // Deprecated: Use EventCategory_Types.Descriptor instead. |
| Serkant Uluderya | cbcfaa4 | 2019-10-18 13:25:08 +0300 | [diff] [blame] | 234 | func (EventCategory_Types) EnumDescriptor() ([]byte, []int) { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 235 | return file_voltha_protos_events_proto_rawDescGZIP(), []int{16, 0} |
| Devmalya Paul | f98ca13 | 2019-07-09 06:14:19 -0400 | [diff] [blame] | 236 | } |
| 237 | |
| Serkant Uluderya | cbcfaa4 | 2019-10-18 13:25:08 +0300 | [diff] [blame] | 238 | type EventSubCategory_Types int32 |
| Devmalya Paul | f98ca13 | 2019-07-09 06:14:19 -0400 | [diff] [blame] | 239 | |
| 240 | const ( |
| Himani Chawla | 78c19ec | 2021-01-18 18:07:40 +0530 | [diff] [blame] | 241 | EventSubCategory_PON EventSubCategory_Types = 0 |
| 242 | EventSubCategory_OLT EventSubCategory_Types = 1 |
| 243 | EventSubCategory_ONT EventSubCategory_Types = 2 |
| 244 | EventSubCategory_ONU EventSubCategory_Types = 3 |
| 245 | EventSubCategory_NNI EventSubCategory_Types = 4 |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 246 | EventSubCategory_NONE EventSubCategory_Types = 5 //Adding None for RPC Events |
| Devmalya Paul | f98ca13 | 2019-07-09 06:14:19 -0400 | [diff] [blame] | 247 | ) |
| 248 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 249 | // Enum value maps for EventSubCategory_Types. |
| 250 | var ( |
| 251 | EventSubCategory_Types_name = map[int32]string{ |
| 252 | 0: "PON", |
| 253 | 1: "OLT", |
| 254 | 2: "ONT", |
| 255 | 3: "ONU", |
| 256 | 4: "NNI", |
| 257 | 5: "NONE", |
| 258 | } |
| 259 | EventSubCategory_Types_value = map[string]int32{ |
| 260 | "PON": 0, |
| 261 | "OLT": 1, |
| 262 | "ONT": 2, |
| 263 | "ONU": 3, |
| 264 | "NNI": 4, |
| 265 | "NONE": 5, |
| 266 | } |
| 267 | ) |
| Devmalya Paul | f98ca13 | 2019-07-09 06:14:19 -0400 | [diff] [blame] | 268 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 269 | func (x EventSubCategory_Types) Enum() *EventSubCategory_Types { |
| 270 | p := new(EventSubCategory_Types) |
| 271 | *p = x |
| 272 | return p |
| Devmalya Paul | f98ca13 | 2019-07-09 06:14:19 -0400 | [diff] [blame] | 273 | } |
| 274 | |
| Serkant Uluderya | cbcfaa4 | 2019-10-18 13:25:08 +0300 | [diff] [blame] | 275 | func (x EventSubCategory_Types) String() string { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 276 | return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| Devmalya Paul | f98ca13 | 2019-07-09 06:14:19 -0400 | [diff] [blame] | 277 | } |
| 278 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 279 | func (EventSubCategory_Types) Descriptor() protoreflect.EnumDescriptor { |
| 280 | return file_voltha_protos_events_proto_enumTypes[4].Descriptor() |
| 281 | } |
| 282 | |
| 283 | func (EventSubCategory_Types) Type() protoreflect.EnumType { |
| 284 | return &file_voltha_protos_events_proto_enumTypes[4] |
| 285 | } |
| 286 | |
| 287 | func (x EventSubCategory_Types) Number() protoreflect.EnumNumber { |
| 288 | return protoreflect.EnumNumber(x) |
| 289 | } |
| 290 | |
| 291 | // Deprecated: Use EventSubCategory_Types.Descriptor instead. |
| Serkant Uluderya | cbcfaa4 | 2019-10-18 13:25:08 +0300 | [diff] [blame] | 292 | func (EventSubCategory_Types) EnumDescriptor() ([]byte, []int) { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 293 | return file_voltha_protos_events_proto_rawDescGZIP(), []int{17, 0} |
| Devmalya Paul | f98ca13 | 2019-07-09 06:14:19 -0400 | [diff] [blame] | 294 | } |
| 295 | |
| Serkant Uluderya | cbcfaa4 | 2019-10-18 13:25:08 +0300 | [diff] [blame] | 296 | type EventType_Types int32 |
| Devmalya Paul | f98ca13 | 2019-07-09 06:14:19 -0400 | [diff] [blame] | 297 | |
| 298 | const ( |
| Serkant Uluderya | cbcfaa4 | 2019-10-18 13:25:08 +0300 | [diff] [blame] | 299 | EventType_CONFIG_EVENT EventType_Types = 0 |
| 300 | EventType_KPI_EVENT EventType_Types = 1 |
| 301 | EventType_KPI_EVENT2 EventType_Types = 2 |
| 302 | EventType_DEVICE_EVENT EventType_Types = 3 |
| Himani Chawla | 9499e95 | 2020-12-17 13:12:52 +0530 | [diff] [blame] | 303 | EventType_RPC_EVENT EventType_Types = 4 |
| pnalmas | 9029942 | 2025-12-16 11:29:25 +0530 | [diff] [blame] | 304 | EventType_KPI_EVENT3 EventType_Types = 5 |
| Devmalya Paul | f98ca13 | 2019-07-09 06:14:19 -0400 | [diff] [blame] | 305 | ) |
| 306 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 307 | // Enum value maps for EventType_Types. |
| 308 | var ( |
| 309 | EventType_Types_name = map[int32]string{ |
| 310 | 0: "CONFIG_EVENT", |
| 311 | 1: "KPI_EVENT", |
| 312 | 2: "KPI_EVENT2", |
| 313 | 3: "DEVICE_EVENT", |
| 314 | 4: "RPC_EVENT", |
| 315 | 5: "KPI_EVENT3", |
| 316 | } |
| 317 | EventType_Types_value = map[string]int32{ |
| 318 | "CONFIG_EVENT": 0, |
| 319 | "KPI_EVENT": 1, |
| 320 | "KPI_EVENT2": 2, |
| 321 | "DEVICE_EVENT": 3, |
| 322 | "RPC_EVENT": 4, |
| 323 | "KPI_EVENT3": 5, |
| 324 | } |
| 325 | ) |
| Devmalya Paul | f98ca13 | 2019-07-09 06:14:19 -0400 | [diff] [blame] | 326 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 327 | func (x EventType_Types) Enum() *EventType_Types { |
| 328 | p := new(EventType_Types) |
| 329 | *p = x |
| 330 | return p |
| Devmalya Paul | f98ca13 | 2019-07-09 06:14:19 -0400 | [diff] [blame] | 331 | } |
| 332 | |
| Serkant Uluderya | cbcfaa4 | 2019-10-18 13:25:08 +0300 | [diff] [blame] | 333 | func (x EventType_Types) String() string { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 334 | return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| Devmalya Paul | f98ca13 | 2019-07-09 06:14:19 -0400 | [diff] [blame] | 335 | } |
| 336 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 337 | func (EventType_Types) Descriptor() protoreflect.EnumDescriptor { |
| 338 | return file_voltha_protos_events_proto_enumTypes[5].Descriptor() |
| 339 | } |
| 340 | |
| 341 | func (EventType_Types) Type() protoreflect.EnumType { |
| 342 | return &file_voltha_protos_events_proto_enumTypes[5] |
| 343 | } |
| 344 | |
| 345 | func (x EventType_Types) Number() protoreflect.EnumNumber { |
| 346 | return protoreflect.EnumNumber(x) |
| 347 | } |
| 348 | |
| 349 | // Deprecated: Use EventType_Types.Descriptor instead. |
| Serkant Uluderya | cbcfaa4 | 2019-10-18 13:25:08 +0300 | [diff] [blame] | 350 | func (EventType_Types) EnumDescriptor() ([]byte, []int) { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 351 | return file_voltha_protos_events_proto_rawDescGZIP(), []int{18, 0} |
| khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 352 | } |
| 353 | |
| 354 | type EventFilterRuleKey struct { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 355 | state protoimpl.MessageState `protogen:"open.v1"` |
| 356 | unknownFields protoimpl.UnknownFields |
| 357 | sizeCache protoimpl.SizeCache |
| khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 358 | } |
| 359 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 360 | func (x *EventFilterRuleKey) Reset() { |
| 361 | *x = EventFilterRuleKey{} |
| 362 | mi := &file_voltha_protos_events_proto_msgTypes[0] |
| 363 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 364 | ms.StoreMessageInfo(mi) |
| 365 | } |
| 366 | |
| 367 | func (x *EventFilterRuleKey) String() string { |
| 368 | return protoimpl.X.MessageStringOf(x) |
| 369 | } |
| 370 | |
| 371 | func (*EventFilterRuleKey) ProtoMessage() {} |
| 372 | |
| 373 | func (x *EventFilterRuleKey) ProtoReflect() protoreflect.Message { |
| 374 | mi := &file_voltha_protos_events_proto_msgTypes[0] |
| 375 | if x != nil { |
| 376 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 377 | if ms.LoadMessageInfo() == nil { |
| 378 | ms.StoreMessageInfo(mi) |
| 379 | } |
| 380 | return ms |
| 381 | } |
| 382 | return mi.MessageOf(x) |
| 383 | } |
| 384 | |
| 385 | // Deprecated: Use EventFilterRuleKey.ProtoReflect.Descriptor instead. |
| khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 386 | func (*EventFilterRuleKey) Descriptor() ([]byte, []int) { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 387 | return file_voltha_protos_events_proto_rawDescGZIP(), []int{0} |
| khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 388 | } |
| 389 | |
| khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 390 | type EventFilterRule struct { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 391 | state protoimpl.MessageState `protogen:"open.v1"` |
| 392 | Key EventFilterRuleKey_EventFilterRuleType `protobuf:"varint,1,opt,name=key,proto3,enum=event.EventFilterRuleKey_EventFilterRuleType" json:"key,omitempty"` |
| 393 | Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` |
| 394 | unknownFields protoimpl.UnknownFields |
| 395 | sizeCache protoimpl.SizeCache |
| khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 396 | } |
| 397 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 398 | func (x *EventFilterRule) Reset() { |
| 399 | *x = EventFilterRule{} |
| 400 | mi := &file_voltha_protos_events_proto_msgTypes[1] |
| 401 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 402 | ms.StoreMessageInfo(mi) |
| 403 | } |
| 404 | |
| 405 | func (x *EventFilterRule) String() string { |
| 406 | return protoimpl.X.MessageStringOf(x) |
| 407 | } |
| 408 | |
| 409 | func (*EventFilterRule) ProtoMessage() {} |
| 410 | |
| 411 | func (x *EventFilterRule) ProtoReflect() protoreflect.Message { |
| 412 | mi := &file_voltha_protos_events_proto_msgTypes[1] |
| 413 | if x != nil { |
| 414 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 415 | if ms.LoadMessageInfo() == nil { |
| 416 | ms.StoreMessageInfo(mi) |
| 417 | } |
| 418 | return ms |
| 419 | } |
| 420 | return mi.MessageOf(x) |
| 421 | } |
| 422 | |
| 423 | // Deprecated: Use EventFilterRule.ProtoReflect.Descriptor instead. |
| khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 424 | func (*EventFilterRule) Descriptor() ([]byte, []int) { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 425 | return file_voltha_protos_events_proto_rawDescGZIP(), []int{1} |
| khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 426 | } |
| 427 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 428 | func (x *EventFilterRule) GetKey() EventFilterRuleKey_EventFilterRuleType { |
| 429 | if x != nil { |
| 430 | return x.Key |
| khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 431 | } |
| 432 | return EventFilterRuleKey_filter_all |
| 433 | } |
| 434 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 435 | func (x *EventFilterRule) GetValue() string { |
| 436 | if x != nil { |
| 437 | return x.Value |
| khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 438 | } |
| 439 | return "" |
| 440 | } |
| 441 | |
| 442 | type EventFilter struct { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 443 | state protoimpl.MessageState `protogen:"open.v1"` |
| 444 | Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` |
| 445 | Enable bool `protobuf:"varint,2,opt,name=enable,proto3" json:"enable,omitempty"` |
| 446 | DeviceId string `protobuf:"bytes,3,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` |
| 447 | EventType string `protobuf:"bytes,4,opt,name=event_type,json=eventType,proto3" json:"event_type,omitempty"` |
| 448 | Rules []*EventFilterRule `protobuf:"bytes,5,rep,name=rules,proto3" json:"rules,omitempty"` |
| 449 | unknownFields protoimpl.UnknownFields |
| 450 | sizeCache protoimpl.SizeCache |
| khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 451 | } |
| 452 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 453 | func (x *EventFilter) Reset() { |
| 454 | *x = EventFilter{} |
| 455 | mi := &file_voltha_protos_events_proto_msgTypes[2] |
| 456 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 457 | ms.StoreMessageInfo(mi) |
| 458 | } |
| 459 | |
| 460 | func (x *EventFilter) String() string { |
| 461 | return protoimpl.X.MessageStringOf(x) |
| 462 | } |
| 463 | |
| 464 | func (*EventFilter) ProtoMessage() {} |
| 465 | |
| 466 | func (x *EventFilter) ProtoReflect() protoreflect.Message { |
| 467 | mi := &file_voltha_protos_events_proto_msgTypes[2] |
| 468 | if x != nil { |
| 469 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 470 | if ms.LoadMessageInfo() == nil { |
| 471 | ms.StoreMessageInfo(mi) |
| 472 | } |
| 473 | return ms |
| 474 | } |
| 475 | return mi.MessageOf(x) |
| 476 | } |
| 477 | |
| 478 | // Deprecated: Use EventFilter.ProtoReflect.Descriptor instead. |
| khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 479 | func (*EventFilter) Descriptor() ([]byte, []int) { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 480 | return file_voltha_protos_events_proto_rawDescGZIP(), []int{2} |
| khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 481 | } |
| 482 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 483 | func (x *EventFilter) GetId() string { |
| 484 | if x != nil { |
| 485 | return x.Id |
| khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 486 | } |
| 487 | return "" |
| 488 | } |
| 489 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 490 | func (x *EventFilter) GetEnable() bool { |
| 491 | if x != nil { |
| 492 | return x.Enable |
| khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 493 | } |
| 494 | return false |
| 495 | } |
| 496 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 497 | func (x *EventFilter) GetDeviceId() string { |
| 498 | if x != nil { |
| 499 | return x.DeviceId |
| khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 500 | } |
| 501 | return "" |
| 502 | } |
| 503 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 504 | func (x *EventFilter) GetEventType() string { |
| 505 | if x != nil { |
| 506 | return x.EventType |
| khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 507 | } |
| 508 | return "" |
| 509 | } |
| 510 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 511 | func (x *EventFilter) GetRules() []*EventFilterRule { |
| 512 | if x != nil { |
| 513 | return x.Rules |
| khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 514 | } |
| 515 | return nil |
| 516 | } |
| 517 | |
| 518 | type EventFilters struct { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 519 | state protoimpl.MessageState `protogen:"open.v1"` |
| 520 | Filters []*EventFilter `protobuf:"bytes,1,rep,name=filters,proto3" json:"filters,omitempty"` |
| 521 | unknownFields protoimpl.UnknownFields |
| 522 | sizeCache protoimpl.SizeCache |
| khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 523 | } |
| 524 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 525 | func (x *EventFilters) Reset() { |
| 526 | *x = EventFilters{} |
| 527 | mi := &file_voltha_protos_events_proto_msgTypes[3] |
| 528 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 529 | ms.StoreMessageInfo(mi) |
| 530 | } |
| 531 | |
| 532 | func (x *EventFilters) String() string { |
| 533 | return protoimpl.X.MessageStringOf(x) |
| 534 | } |
| 535 | |
| 536 | func (*EventFilters) ProtoMessage() {} |
| 537 | |
| 538 | func (x *EventFilters) ProtoReflect() protoreflect.Message { |
| 539 | mi := &file_voltha_protos_events_proto_msgTypes[3] |
| 540 | if x != nil { |
| 541 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 542 | if ms.LoadMessageInfo() == nil { |
| 543 | ms.StoreMessageInfo(mi) |
| 544 | } |
| 545 | return ms |
| 546 | } |
| 547 | return mi.MessageOf(x) |
| 548 | } |
| 549 | |
| 550 | // Deprecated: Use EventFilters.ProtoReflect.Descriptor instead. |
| khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 551 | func (*EventFilters) Descriptor() ([]byte, []int) { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 552 | return file_voltha_protos_events_proto_rawDescGZIP(), []int{3} |
| khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 553 | } |
| 554 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 555 | func (x *EventFilters) GetFilters() []*EventFilter { |
| 556 | if x != nil { |
| 557 | return x.Filters |
| khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 558 | } |
| 559 | return nil |
| Devmalya Paul | f98ca13 | 2019-07-09 06:14:19 -0400 | [diff] [blame] | 560 | } |
| 561 | |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 562 | type ConfigEventType struct { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 563 | state protoimpl.MessageState `protogen:"open.v1"` |
| 564 | unknownFields protoimpl.UnknownFields |
| 565 | sizeCache protoimpl.SizeCache |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 566 | } |
| 567 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 568 | func (x *ConfigEventType) Reset() { |
| 569 | *x = ConfigEventType{} |
| 570 | mi := &file_voltha_protos_events_proto_msgTypes[4] |
| 571 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 572 | ms.StoreMessageInfo(mi) |
| 573 | } |
| 574 | |
| 575 | func (x *ConfigEventType) String() string { |
| 576 | return protoimpl.X.MessageStringOf(x) |
| 577 | } |
| 578 | |
| 579 | func (*ConfigEventType) ProtoMessage() {} |
| 580 | |
| 581 | func (x *ConfigEventType) ProtoReflect() protoreflect.Message { |
| 582 | mi := &file_voltha_protos_events_proto_msgTypes[4] |
| 583 | if x != nil { |
| 584 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 585 | if ms.LoadMessageInfo() == nil { |
| 586 | ms.StoreMessageInfo(mi) |
| 587 | } |
| 588 | return ms |
| 589 | } |
| 590 | return mi.MessageOf(x) |
| 591 | } |
| 592 | |
| 593 | // Deprecated: Use ConfigEventType.ProtoReflect.Descriptor instead. |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 594 | func (*ConfigEventType) Descriptor() ([]byte, []int) { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 595 | return file_voltha_protos_events_proto_rawDescGZIP(), []int{4} |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 596 | } |
| William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 597 | |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 598 | type ConfigEvent struct { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 599 | state protoimpl.MessageState `protogen:"open.v1"` |
| 600 | Type ConfigEventType_Types `protobuf:"varint,1,opt,name=type,proto3,enum=event.ConfigEventType_Types" json:"type,omitempty"` |
| 601 | Hash string `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"` // hash for this change, can be used for quick lookup |
| 602 | Data string `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // the actual new data, in json format |
| 603 | unknownFields protoimpl.UnknownFields |
| 604 | sizeCache protoimpl.SizeCache |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 605 | } |
| 606 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 607 | func (x *ConfigEvent) Reset() { |
| 608 | *x = ConfigEvent{} |
| 609 | mi := &file_voltha_protos_events_proto_msgTypes[5] |
| 610 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 611 | ms.StoreMessageInfo(mi) |
| 612 | } |
| 613 | |
| 614 | func (x *ConfigEvent) String() string { |
| 615 | return protoimpl.X.MessageStringOf(x) |
| 616 | } |
| 617 | |
| 618 | func (*ConfigEvent) ProtoMessage() {} |
| 619 | |
| 620 | func (x *ConfigEvent) ProtoReflect() protoreflect.Message { |
| 621 | mi := &file_voltha_protos_events_proto_msgTypes[5] |
| 622 | if x != nil { |
| 623 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 624 | if ms.LoadMessageInfo() == nil { |
| 625 | ms.StoreMessageInfo(mi) |
| 626 | } |
| 627 | return ms |
| 628 | } |
| 629 | return mi.MessageOf(x) |
| 630 | } |
| 631 | |
| 632 | // Deprecated: Use ConfigEvent.ProtoReflect.Descriptor instead. |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 633 | func (*ConfigEvent) Descriptor() ([]byte, []int) { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 634 | return file_voltha_protos_events_proto_rawDescGZIP(), []int{5} |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 635 | } |
| William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 636 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 637 | func (x *ConfigEvent) GetType() ConfigEventType_Types { |
| 638 | if x != nil { |
| 639 | return x.Type |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 640 | } |
| 641 | return ConfigEventType_add |
| 642 | } |
| 643 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 644 | func (x *ConfigEvent) GetHash() string { |
| 645 | if x != nil { |
| 646 | return x.Hash |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 647 | } |
| 648 | return "" |
| 649 | } |
| 650 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 651 | func (x *ConfigEvent) GetData() string { |
| 652 | if x != nil { |
| 653 | return x.Data |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 654 | } |
| 655 | return "" |
| 656 | } |
| 657 | |
| 658 | type KpiEventType struct { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 659 | state protoimpl.MessageState `protogen:"open.v1"` |
| 660 | unknownFields protoimpl.UnknownFields |
| 661 | sizeCache protoimpl.SizeCache |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 662 | } |
| 663 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 664 | func (x *KpiEventType) Reset() { |
| 665 | *x = KpiEventType{} |
| 666 | mi := &file_voltha_protos_events_proto_msgTypes[6] |
| 667 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 668 | ms.StoreMessageInfo(mi) |
| 669 | } |
| 670 | |
| 671 | func (x *KpiEventType) String() string { |
| 672 | return protoimpl.X.MessageStringOf(x) |
| 673 | } |
| 674 | |
| 675 | func (*KpiEventType) ProtoMessage() {} |
| 676 | |
| 677 | func (x *KpiEventType) ProtoReflect() protoreflect.Message { |
| 678 | mi := &file_voltha_protos_events_proto_msgTypes[6] |
| 679 | if x != nil { |
| 680 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 681 | if ms.LoadMessageInfo() == nil { |
| 682 | ms.StoreMessageInfo(mi) |
| 683 | } |
| 684 | return ms |
| 685 | } |
| 686 | return mi.MessageOf(x) |
| 687 | } |
| 688 | |
| 689 | // Deprecated: Use KpiEventType.ProtoReflect.Descriptor instead. |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 690 | func (*KpiEventType) Descriptor() ([]byte, []int) { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 691 | return file_voltha_protos_events_proto_rawDescGZIP(), []int{6} |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 692 | } |
| William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 693 | |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 694 | // Struct to convey a dictionary of metric metadata. |
| 695 | type MetricMetaData struct { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 696 | state protoimpl.MessageState `protogen:"open.v1"` |
| 697 | Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` // Metric group or individual metric name |
| 698 | Ts float64 `protobuf:"fixed64,2,opt,name=ts,proto3" json:"ts,omitempty"` // UTC time-stamp of data (seconds since epoch) of |
| 699 | LogicalDeviceId string `protobuf:"bytes,3,opt,name=logical_device_id,json=logicalDeviceId,proto3" json:"logical_device_id,omitempty"` // The logical device ID of the VOLTHA |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 700 | // (equivalent to the DPID that ONOS has |
| 701 | // for the VOLTHA device without the |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 702 | // |
| 703 | // 'of:' prefix |
| 704 | SerialNo string `protobuf:"bytes,4,opt,name=serial_no,json=serialNo,proto3" json:"serial_no,omitempty"` // The OLT, ONU, ... device serial number |
| 705 | DeviceId string `protobuf:"bytes,5,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` // The OLT, ONU, ... physical device ID |
| 706 | Context map[string]string `protobuf:"bytes,6,rep,name=context,proto3" json:"context,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Name value pairs that provide additional |
| 707 | Uuid string `protobuf:"bytes,7,opt,name=uuid,proto3" json:"uuid,omitempty"` // Transaction identifier used to match On |
| 708 | unknownFields protoimpl.UnknownFields |
| 709 | sizeCache protoimpl.SizeCache |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 710 | } |
| 711 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 712 | func (x *MetricMetaData) Reset() { |
| 713 | *x = MetricMetaData{} |
| 714 | mi := &file_voltha_protos_events_proto_msgTypes[7] |
| 715 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 716 | ms.StoreMessageInfo(mi) |
| 717 | } |
| 718 | |
| 719 | func (x *MetricMetaData) String() string { |
| 720 | return protoimpl.X.MessageStringOf(x) |
| 721 | } |
| 722 | |
| 723 | func (*MetricMetaData) ProtoMessage() {} |
| 724 | |
| 725 | func (x *MetricMetaData) ProtoReflect() protoreflect.Message { |
| 726 | mi := &file_voltha_protos_events_proto_msgTypes[7] |
| 727 | if x != nil { |
| 728 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 729 | if ms.LoadMessageInfo() == nil { |
| 730 | ms.StoreMessageInfo(mi) |
| 731 | } |
| 732 | return ms |
| 733 | } |
| 734 | return mi.MessageOf(x) |
| 735 | } |
| 736 | |
| 737 | // Deprecated: Use MetricMetaData.ProtoReflect.Descriptor instead. |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 738 | func (*MetricMetaData) Descriptor() ([]byte, []int) { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 739 | return file_voltha_protos_events_proto_rawDescGZIP(), []int{7} |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 740 | } |
| William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 741 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 742 | func (x *MetricMetaData) GetTitle() string { |
| 743 | if x != nil { |
| 744 | return x.Title |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 745 | } |
| 746 | return "" |
| 747 | } |
| 748 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 749 | func (x *MetricMetaData) GetTs() float64 { |
| 750 | if x != nil { |
| 751 | return x.Ts |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 752 | } |
| 753 | return 0 |
| 754 | } |
| 755 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 756 | func (x *MetricMetaData) GetLogicalDeviceId() string { |
| 757 | if x != nil { |
| 758 | return x.LogicalDeviceId |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 759 | } |
| 760 | return "" |
| 761 | } |
| 762 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 763 | func (x *MetricMetaData) GetSerialNo() string { |
| 764 | if x != nil { |
| 765 | return x.SerialNo |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 766 | } |
| 767 | return "" |
| 768 | } |
| 769 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 770 | func (x *MetricMetaData) GetDeviceId() string { |
| 771 | if x != nil { |
| 772 | return x.DeviceId |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 773 | } |
| 774 | return "" |
| 775 | } |
| 776 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 777 | func (x *MetricMetaData) GetContext() map[string]string { |
| 778 | if x != nil { |
| 779 | return x.Context |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 780 | } |
| 781 | return nil |
| 782 | } |
| 783 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 784 | func (x *MetricMetaData) GetUuid() string { |
| 785 | if x != nil { |
| 786 | return x.Uuid |
| onkar.kundargi | 7b85fa1 | 2020-02-27 13:19:22 +0530 | [diff] [blame] | 787 | } |
| 788 | return "" |
| 789 | } |
| 790 | |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 791 | // Struct to convey a dictionary of metric->value pairs. Typically used in |
| 792 | // pure shared-timestamp or shared-timestamp + shared object prefix situations. |
| 793 | type MetricValuePairs struct { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 794 | state protoimpl.MessageState `protogen:"open.v1"` |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 795 | // Metric / value pairs. |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 796 | Metrics map[string]float32 `protobuf:"bytes,1,rep,name=metrics,proto3" json:"metrics,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"` |
| 797 | unknownFields protoimpl.UnknownFields |
| 798 | sizeCache protoimpl.SizeCache |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 799 | } |
| 800 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 801 | func (x *MetricValuePairs) Reset() { |
| 802 | *x = MetricValuePairs{} |
| 803 | mi := &file_voltha_protos_events_proto_msgTypes[8] |
| 804 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 805 | ms.StoreMessageInfo(mi) |
| 806 | } |
| 807 | |
| 808 | func (x *MetricValuePairs) String() string { |
| 809 | return protoimpl.X.MessageStringOf(x) |
| 810 | } |
| 811 | |
| 812 | func (*MetricValuePairs) ProtoMessage() {} |
| 813 | |
| 814 | func (x *MetricValuePairs) ProtoReflect() protoreflect.Message { |
| 815 | mi := &file_voltha_protos_events_proto_msgTypes[8] |
| 816 | if x != nil { |
| 817 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 818 | if ms.LoadMessageInfo() == nil { |
| 819 | ms.StoreMessageInfo(mi) |
| 820 | } |
| 821 | return ms |
| 822 | } |
| 823 | return mi.MessageOf(x) |
| 824 | } |
| 825 | |
| 826 | // Deprecated: Use MetricValuePairs.ProtoReflect.Descriptor instead. |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 827 | func (*MetricValuePairs) Descriptor() ([]byte, []int) { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 828 | return file_voltha_protos_events_proto_rawDescGZIP(), []int{8} |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 829 | } |
| William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 830 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 831 | func (x *MetricValuePairs) GetMetrics() map[string]float32 { |
| 832 | if x != nil { |
| 833 | return x.Metrics |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 834 | } |
| 835 | return nil |
| 836 | } |
| 837 | |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 838 | // Struct to group metadata for a metric (or group of metrics) with the key-value |
| 839 | // pairs of collected metrics |
| 840 | type MetricInformation struct { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 841 | state protoimpl.MessageState `protogen:"open.v1"` |
| 842 | Metadata *MetricMetaData `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` |
| 843 | Metrics map[string]float32 `protobuf:"bytes,2,rep,name=metrics,proto3" json:"metrics,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"` |
| 844 | unknownFields protoimpl.UnknownFields |
| 845 | sizeCache protoimpl.SizeCache |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 846 | } |
| 847 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 848 | func (x *MetricInformation) Reset() { |
| 849 | *x = MetricInformation{} |
| 850 | mi := &file_voltha_protos_events_proto_msgTypes[9] |
| 851 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 852 | ms.StoreMessageInfo(mi) |
| 853 | } |
| 854 | |
| 855 | func (x *MetricInformation) String() string { |
| 856 | return protoimpl.X.MessageStringOf(x) |
| 857 | } |
| 858 | |
| 859 | func (*MetricInformation) ProtoMessage() {} |
| 860 | |
| 861 | func (x *MetricInformation) ProtoReflect() protoreflect.Message { |
| 862 | mi := &file_voltha_protos_events_proto_msgTypes[9] |
| 863 | if x != nil { |
| 864 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 865 | if ms.LoadMessageInfo() == nil { |
| 866 | ms.StoreMessageInfo(mi) |
| 867 | } |
| 868 | return ms |
| 869 | } |
| 870 | return mi.MessageOf(x) |
| 871 | } |
| 872 | |
| 873 | // Deprecated: Use MetricInformation.ProtoReflect.Descriptor instead. |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 874 | func (*MetricInformation) Descriptor() ([]byte, []int) { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 875 | return file_voltha_protos_events_proto_rawDescGZIP(), []int{9} |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 876 | } |
| William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 877 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 878 | func (x *MetricInformation) GetMetadata() *MetricMetaData { |
| 879 | if x != nil { |
| 880 | return x.Metadata |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 881 | } |
| 882 | return nil |
| 883 | } |
| 884 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 885 | func (x *MetricInformation) GetMetrics() map[string]float32 { |
| 886 | if x != nil { |
| 887 | return x.Metrics |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 888 | } |
| 889 | return nil |
| 890 | } |
| 891 | |
| pnalmas | 9029942 | 2025-12-16 11:29:25 +0530 | [diff] [blame] | 892 | // Struct to group metadata for a metric (or group of metrics) with the key-value |
| pnalmas | 3bb72f7 | 2026-02-02 19:45:17 +0530 | [diff] [blame] | 893 | // pairs of collected metrics using 64-bit double precision floating point. |
| 894 | // This supports both floating-point metrics and large integer counters up to 2^53 |
| 895 | // (e.g., FEC counters, GEM counters, optical power levels). |
| pnalmas | 9029942 | 2025-12-16 11:29:25 +0530 | [diff] [blame] | 896 | type MetricInformation64 struct { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 897 | state protoimpl.MessageState `protogen:"open.v1"` |
| 898 | Metadata *MetricMetaData `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` |
| 899 | Metrics map[string]float64 `protobuf:"bytes,2,rep,name=metrics,proto3" json:"metrics,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"` |
| 900 | unknownFields protoimpl.UnknownFields |
| 901 | sizeCache protoimpl.SizeCache |
| pnalmas | 9029942 | 2025-12-16 11:29:25 +0530 | [diff] [blame] | 902 | } |
| 903 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 904 | func (x *MetricInformation64) Reset() { |
| 905 | *x = MetricInformation64{} |
| 906 | mi := &file_voltha_protos_events_proto_msgTypes[10] |
| 907 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 908 | ms.StoreMessageInfo(mi) |
| 909 | } |
| 910 | |
| 911 | func (x *MetricInformation64) String() string { |
| 912 | return protoimpl.X.MessageStringOf(x) |
| 913 | } |
| 914 | |
| 915 | func (*MetricInformation64) ProtoMessage() {} |
| 916 | |
| 917 | func (x *MetricInformation64) ProtoReflect() protoreflect.Message { |
| 918 | mi := &file_voltha_protos_events_proto_msgTypes[10] |
| 919 | if x != nil { |
| 920 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 921 | if ms.LoadMessageInfo() == nil { |
| 922 | ms.StoreMessageInfo(mi) |
| 923 | } |
| 924 | return ms |
| 925 | } |
| 926 | return mi.MessageOf(x) |
| 927 | } |
| 928 | |
| 929 | // Deprecated: Use MetricInformation64.ProtoReflect.Descriptor instead. |
| pnalmas | 9029942 | 2025-12-16 11:29:25 +0530 | [diff] [blame] | 930 | func (*MetricInformation64) Descriptor() ([]byte, []int) { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 931 | return file_voltha_protos_events_proto_rawDescGZIP(), []int{10} |
| pnalmas | 9029942 | 2025-12-16 11:29:25 +0530 | [diff] [blame] | 932 | } |
| 933 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 934 | func (x *MetricInformation64) GetMetadata() *MetricMetaData { |
| 935 | if x != nil { |
| 936 | return x.Metadata |
| pnalmas | 9029942 | 2025-12-16 11:29:25 +0530 | [diff] [blame] | 937 | } |
| 938 | return nil |
| 939 | } |
| 940 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 941 | func (x *MetricInformation64) GetMetrics() map[string]float64 { |
| 942 | if x != nil { |
| 943 | return x.Metrics |
| pnalmas | 9029942 | 2025-12-16 11:29:25 +0530 | [diff] [blame] | 944 | } |
| 945 | return nil |
| 946 | } |
| 947 | |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 948 | // Legacy KPI Event structured. In mid-August, the KPI event format was updated |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 949 | // |
| 950 | // to a more easily parsable format. See VOL-1140 |
| 951 | // for more information. |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 952 | type KpiEvent struct { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 953 | state protoimpl.MessageState `protogen:"open.v1"` |
| 954 | Type KpiEventType_Types `protobuf:"varint,1,opt,name=type,proto3,enum=event.KpiEventType_Types" json:"type,omitempty"` |
| 955 | Ts float32 `protobuf:"fixed32,2,opt,name=ts,proto3" json:"ts,omitempty"` // UTC time-stamp of data in slice mode (seconds since epoc) |
| 956 | Prefixes map[string]*MetricValuePairs `protobuf:"bytes,3,rep,name=prefixes,proto3" json:"prefixes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` |
| 957 | unknownFields protoimpl.UnknownFields |
| 958 | sizeCache protoimpl.SizeCache |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 959 | } |
| 960 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 961 | func (x *KpiEvent) Reset() { |
| 962 | *x = KpiEvent{} |
| 963 | mi := &file_voltha_protos_events_proto_msgTypes[11] |
| 964 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 965 | ms.StoreMessageInfo(mi) |
| 966 | } |
| 967 | |
| 968 | func (x *KpiEvent) String() string { |
| 969 | return protoimpl.X.MessageStringOf(x) |
| 970 | } |
| 971 | |
| 972 | func (*KpiEvent) ProtoMessage() {} |
| 973 | |
| 974 | func (x *KpiEvent) ProtoReflect() protoreflect.Message { |
| 975 | mi := &file_voltha_protos_events_proto_msgTypes[11] |
| 976 | if x != nil { |
| 977 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 978 | if ms.LoadMessageInfo() == nil { |
| 979 | ms.StoreMessageInfo(mi) |
| 980 | } |
| 981 | return ms |
| 982 | } |
| 983 | return mi.MessageOf(x) |
| 984 | } |
| 985 | |
| 986 | // Deprecated: Use KpiEvent.ProtoReflect.Descriptor instead. |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 987 | func (*KpiEvent) Descriptor() ([]byte, []int) { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 988 | return file_voltha_protos_events_proto_rawDescGZIP(), []int{11} |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 989 | } |
| William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 990 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 991 | func (x *KpiEvent) GetType() KpiEventType_Types { |
| 992 | if x != nil { |
| 993 | return x.Type |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 994 | } |
| 995 | return KpiEventType_slice |
| 996 | } |
| 997 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 998 | func (x *KpiEvent) GetTs() float32 { |
| 999 | if x != nil { |
| 1000 | return x.Ts |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1001 | } |
| 1002 | return 0 |
| 1003 | } |
| 1004 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 1005 | func (x *KpiEvent) GetPrefixes() map[string]*MetricValuePairs { |
| 1006 | if x != nil { |
| 1007 | return x.Prefixes |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1008 | } |
| 1009 | return nil |
| 1010 | } |
| 1011 | |
| 1012 | type KpiEvent2 struct { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 1013 | state protoimpl.MessageState `protogen:"open.v1"` |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1014 | // Type of KPI Event |
| khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 1015 | Type KpiEventType_Types `protobuf:"varint,1,opt,name=type,proto3,enum=event.KpiEventType_Types" json:"type,omitempty"` |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1016 | // Fields used when for slice: |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 1017 | Ts float64 `protobuf:"fixed64,2,opt,name=ts,proto3" json:"ts,omitempty"` // UTC time-stamp of data in slice mode (seconds since epoch) |
| 1018 | SliceData []*MetricInformation `protobuf:"bytes,3,rep,name=slice_data,json=sliceData,proto3" json:"slice_data,omitempty"` |
| 1019 | unknownFields protoimpl.UnknownFields |
| 1020 | sizeCache protoimpl.SizeCache |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1021 | } |
| 1022 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 1023 | func (x *KpiEvent2) Reset() { |
| 1024 | *x = KpiEvent2{} |
| 1025 | mi := &file_voltha_protos_events_proto_msgTypes[12] |
| 1026 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1027 | ms.StoreMessageInfo(mi) |
| 1028 | } |
| 1029 | |
| 1030 | func (x *KpiEvent2) String() string { |
| 1031 | return protoimpl.X.MessageStringOf(x) |
| 1032 | } |
| 1033 | |
| 1034 | func (*KpiEvent2) ProtoMessage() {} |
| 1035 | |
| 1036 | func (x *KpiEvent2) ProtoReflect() protoreflect.Message { |
| 1037 | mi := &file_voltha_protos_events_proto_msgTypes[12] |
| 1038 | if x != nil { |
| 1039 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1040 | if ms.LoadMessageInfo() == nil { |
| 1041 | ms.StoreMessageInfo(mi) |
| 1042 | } |
| 1043 | return ms |
| 1044 | } |
| 1045 | return mi.MessageOf(x) |
| 1046 | } |
| 1047 | |
| 1048 | // Deprecated: Use KpiEvent2.ProtoReflect.Descriptor instead. |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1049 | func (*KpiEvent2) Descriptor() ([]byte, []int) { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 1050 | return file_voltha_protos_events_proto_rawDescGZIP(), []int{12} |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1051 | } |
| William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 1052 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 1053 | func (x *KpiEvent2) GetType() KpiEventType_Types { |
| 1054 | if x != nil { |
| 1055 | return x.Type |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1056 | } |
| 1057 | return KpiEventType_slice |
| 1058 | } |
| 1059 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 1060 | func (x *KpiEvent2) GetTs() float64 { |
| 1061 | if x != nil { |
| 1062 | return x.Ts |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1063 | } |
| 1064 | return 0 |
| 1065 | } |
| 1066 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 1067 | func (x *KpiEvent2) GetSliceData() []*MetricInformation { |
| 1068 | if x != nil { |
| 1069 | return x.SliceData |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1070 | } |
| 1071 | return nil |
| 1072 | } |
| 1073 | |
| pnalmas | 9029942 | 2025-12-16 11:29:25 +0530 | [diff] [blame] | 1074 | // KpiEvent3 with support for 64-bit unsigned integer counters. |
| 1075 | // Use this for metrics that require full 64-bit precision (e.g., FEC counters, GEM counters). |
| 1076 | type KpiEvent3 struct { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 1077 | state protoimpl.MessageState `protogen:"open.v1"` |
| pnalmas | 9029942 | 2025-12-16 11:29:25 +0530 | [diff] [blame] | 1078 | // Type of KPI Event |
| 1079 | Type KpiEventType_Types `protobuf:"varint,1,opt,name=type,proto3,enum=event.KpiEventType_Types" json:"type,omitempty"` |
| 1080 | // Fields used when for slice: |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 1081 | Ts float64 `protobuf:"fixed64,2,opt,name=ts,proto3" json:"ts,omitempty"` // UTC time-stamp of data in slice mode (seconds since epoch) |
| 1082 | SliceData []*MetricInformation64 `protobuf:"bytes,3,rep,name=slice_data,json=sliceData,proto3" json:"slice_data,omitempty"` |
| 1083 | unknownFields protoimpl.UnknownFields |
| 1084 | sizeCache protoimpl.SizeCache |
| pnalmas | 9029942 | 2025-12-16 11:29:25 +0530 | [diff] [blame] | 1085 | } |
| 1086 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 1087 | func (x *KpiEvent3) Reset() { |
| 1088 | *x = KpiEvent3{} |
| 1089 | mi := &file_voltha_protos_events_proto_msgTypes[13] |
| 1090 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1091 | ms.StoreMessageInfo(mi) |
| 1092 | } |
| 1093 | |
| 1094 | func (x *KpiEvent3) String() string { |
| 1095 | return protoimpl.X.MessageStringOf(x) |
| 1096 | } |
| 1097 | |
| 1098 | func (*KpiEvent3) ProtoMessage() {} |
| 1099 | |
| 1100 | func (x *KpiEvent3) ProtoReflect() protoreflect.Message { |
| 1101 | mi := &file_voltha_protos_events_proto_msgTypes[13] |
| 1102 | if x != nil { |
| 1103 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1104 | if ms.LoadMessageInfo() == nil { |
| 1105 | ms.StoreMessageInfo(mi) |
| 1106 | } |
| 1107 | return ms |
| 1108 | } |
| 1109 | return mi.MessageOf(x) |
| 1110 | } |
| 1111 | |
| 1112 | // Deprecated: Use KpiEvent3.ProtoReflect.Descriptor instead. |
| pnalmas | 9029942 | 2025-12-16 11:29:25 +0530 | [diff] [blame] | 1113 | func (*KpiEvent3) Descriptor() ([]byte, []int) { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 1114 | return file_voltha_protos_events_proto_rawDescGZIP(), []int{13} |
| pnalmas | 9029942 | 2025-12-16 11:29:25 +0530 | [diff] [blame] | 1115 | } |
| 1116 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 1117 | func (x *KpiEvent3) GetType() KpiEventType_Types { |
| 1118 | if x != nil { |
| 1119 | return x.Type |
| pnalmas | 9029942 | 2025-12-16 11:29:25 +0530 | [diff] [blame] | 1120 | } |
| 1121 | return KpiEventType_slice |
| 1122 | } |
| 1123 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 1124 | func (x *KpiEvent3) GetTs() float64 { |
| 1125 | if x != nil { |
| 1126 | return x.Ts |
| pnalmas | 9029942 | 2025-12-16 11:29:25 +0530 | [diff] [blame] | 1127 | } |
| 1128 | return 0 |
| 1129 | } |
| 1130 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 1131 | func (x *KpiEvent3) GetSliceData() []*MetricInformation64 { |
| 1132 | if x != nil { |
| 1133 | return x.SliceData |
| pnalmas | 9029942 | 2025-12-16 11:29:25 +0530 | [diff] [blame] | 1134 | } |
| 1135 | return nil |
| 1136 | } |
| 1137 | |
| Devmalya Paul | f98ca13 | 2019-07-09 06:14:19 -0400 | [diff] [blame] | 1138 | // Describes the events specific to device |
| 1139 | type DeviceEvent struct { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 1140 | state protoimpl.MessageState `protogen:"open.v1"` |
| Devmalya Paul | f98ca13 | 2019-07-09 06:14:19 -0400 | [diff] [blame] | 1141 | // Identifier of the originating resource of the event, for ex: device_id |
| 1142 | ResourceId string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` |
| 1143 | // device_event_name indicates clearly the name of the device event |
| 1144 | DeviceEventName string `protobuf:"bytes,2,opt,name=device_event_name,json=deviceEventName,proto3" json:"device_event_name,omitempty"` |
| 1145 | // Textual explanation of the device event |
| 1146 | Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` |
| 1147 | // Key/Value storage for extra information that may give context to the event |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 1148 | Context map[string]string `protobuf:"bytes,4,rep,name=context,proto3" json:"context,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` |
| 1149 | unknownFields protoimpl.UnknownFields |
| 1150 | sizeCache protoimpl.SizeCache |
| Devmalya Paul | f98ca13 | 2019-07-09 06:14:19 -0400 | [diff] [blame] | 1151 | } |
| 1152 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 1153 | func (x *DeviceEvent) Reset() { |
| 1154 | *x = DeviceEvent{} |
| 1155 | mi := &file_voltha_protos_events_proto_msgTypes[14] |
| 1156 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1157 | ms.StoreMessageInfo(mi) |
| 1158 | } |
| 1159 | |
| 1160 | func (x *DeviceEvent) String() string { |
| 1161 | return protoimpl.X.MessageStringOf(x) |
| 1162 | } |
| 1163 | |
| 1164 | func (*DeviceEvent) ProtoMessage() {} |
| 1165 | |
| 1166 | func (x *DeviceEvent) ProtoReflect() protoreflect.Message { |
| 1167 | mi := &file_voltha_protos_events_proto_msgTypes[14] |
| 1168 | if x != nil { |
| 1169 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1170 | if ms.LoadMessageInfo() == nil { |
| 1171 | ms.StoreMessageInfo(mi) |
| 1172 | } |
| 1173 | return ms |
| 1174 | } |
| 1175 | return mi.MessageOf(x) |
| 1176 | } |
| 1177 | |
| 1178 | // Deprecated: Use DeviceEvent.ProtoReflect.Descriptor instead. |
| Devmalya Paul | f98ca13 | 2019-07-09 06:14:19 -0400 | [diff] [blame] | 1179 | func (*DeviceEvent) Descriptor() ([]byte, []int) { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 1180 | return file_voltha_protos_events_proto_rawDescGZIP(), []int{14} |
| Devmalya Paul | f98ca13 | 2019-07-09 06:14:19 -0400 | [diff] [blame] | 1181 | } |
| 1182 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 1183 | func (x *DeviceEvent) GetResourceId() string { |
| 1184 | if x != nil { |
| 1185 | return x.ResourceId |
| Devmalya Paul | f98ca13 | 2019-07-09 06:14:19 -0400 | [diff] [blame] | 1186 | } |
| 1187 | return "" |
| 1188 | } |
| 1189 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 1190 | func (x *DeviceEvent) GetDeviceEventName() string { |
| 1191 | if x != nil { |
| 1192 | return x.DeviceEventName |
| Devmalya Paul | f98ca13 | 2019-07-09 06:14:19 -0400 | [diff] [blame] | 1193 | } |
| 1194 | return "" |
| 1195 | } |
| 1196 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 1197 | func (x *DeviceEvent) GetDescription() string { |
| 1198 | if x != nil { |
| 1199 | return x.Description |
| Devmalya Paul | f98ca13 | 2019-07-09 06:14:19 -0400 | [diff] [blame] | 1200 | } |
| 1201 | return "" |
| 1202 | } |
| 1203 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 1204 | func (x *DeviceEvent) GetContext() map[string]string { |
| 1205 | if x != nil { |
| 1206 | return x.Context |
| Devmalya Paul | f98ca13 | 2019-07-09 06:14:19 -0400 | [diff] [blame] | 1207 | } |
| 1208 | return nil |
| 1209 | } |
| 1210 | |
| Himani Chawla | 9499e95 | 2020-12-17 13:12:52 +0530 | [diff] [blame] | 1211 | // Describes the events specific to an RPC request |
| 1212 | type RPCEvent struct { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 1213 | state protoimpl.MessageState `protogen:"open.v1"` |
| Himani Chawla | 9499e95 | 2020-12-17 13:12:52 +0530 | [diff] [blame] | 1214 | // RPC name |
| 1215 | Rpc string `protobuf:"bytes,1,opt,name=rpc,proto3" json:"rpc,omitempty"` |
| 1216 | // The operation id of that request. Can be a log correlation ID |
| 1217 | OperationId string `protobuf:"bytes,2,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"` |
| 1218 | // Identifies the service name originating the event |
| 1219 | Service string `protobuf:"bytes,3,opt,name=service,proto3" json:"service,omitempty"` |
| 1220 | // Identifies the stack originating the event |
| 1221 | StackId string `protobuf:"bytes,4,opt,name=stack_id,json=stackId,proto3" json:"stack_id,omitempty"` |
| 1222 | // Identifies the resource upon which the action is taken, e.g. device_id |
| 1223 | ResourceId string `protobuf:"bytes,5,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` |
| 1224 | // Textual explanation of the event |
| 1225 | Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` |
| 1226 | // Key/Value storage for extra information that may give context to the event |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 1227 | Context map[string]string `protobuf:"bytes,7,rep,name=context,proto3" json:"context,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` |
| Himani Chawla | 9499e95 | 2020-12-17 13:12:52 +0530 | [diff] [blame] | 1228 | // Status of the RPC Event |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 1229 | Status *common.OperationResp `protobuf:"bytes,8,opt,name=status,proto3" json:"status,omitempty"` |
| 1230 | unknownFields protoimpl.UnknownFields |
| 1231 | sizeCache protoimpl.SizeCache |
| Himani Chawla | 9499e95 | 2020-12-17 13:12:52 +0530 | [diff] [blame] | 1232 | } |
| 1233 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 1234 | func (x *RPCEvent) Reset() { |
| 1235 | *x = RPCEvent{} |
| 1236 | mi := &file_voltha_protos_events_proto_msgTypes[15] |
| 1237 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1238 | ms.StoreMessageInfo(mi) |
| 1239 | } |
| 1240 | |
| 1241 | func (x *RPCEvent) String() string { |
| 1242 | return protoimpl.X.MessageStringOf(x) |
| 1243 | } |
| 1244 | |
| 1245 | func (*RPCEvent) ProtoMessage() {} |
| 1246 | |
| 1247 | func (x *RPCEvent) ProtoReflect() protoreflect.Message { |
| 1248 | mi := &file_voltha_protos_events_proto_msgTypes[15] |
| 1249 | if x != nil { |
| 1250 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1251 | if ms.LoadMessageInfo() == nil { |
| 1252 | ms.StoreMessageInfo(mi) |
| 1253 | } |
| 1254 | return ms |
| 1255 | } |
| 1256 | return mi.MessageOf(x) |
| 1257 | } |
| 1258 | |
| 1259 | // Deprecated: Use RPCEvent.ProtoReflect.Descriptor instead. |
| Himani Chawla | 9499e95 | 2020-12-17 13:12:52 +0530 | [diff] [blame] | 1260 | func (*RPCEvent) Descriptor() ([]byte, []int) { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 1261 | return file_voltha_protos_events_proto_rawDescGZIP(), []int{15} |
| Himani Chawla | 9499e95 | 2020-12-17 13:12:52 +0530 | [diff] [blame] | 1262 | } |
| 1263 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 1264 | func (x *RPCEvent) GetRpc() string { |
| 1265 | if x != nil { |
| 1266 | return x.Rpc |
| Himani Chawla | 9499e95 | 2020-12-17 13:12:52 +0530 | [diff] [blame] | 1267 | } |
| 1268 | return "" |
| 1269 | } |
| 1270 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 1271 | func (x *RPCEvent) GetOperationId() string { |
| 1272 | if x != nil { |
| 1273 | return x.OperationId |
| Himani Chawla | 9499e95 | 2020-12-17 13:12:52 +0530 | [diff] [blame] | 1274 | } |
| 1275 | return "" |
| 1276 | } |
| 1277 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 1278 | func (x *RPCEvent) GetService() string { |
| 1279 | if x != nil { |
| 1280 | return x.Service |
| Himani Chawla | 9499e95 | 2020-12-17 13:12:52 +0530 | [diff] [blame] | 1281 | } |
| 1282 | return "" |
| 1283 | } |
| 1284 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 1285 | func (x *RPCEvent) GetStackId() string { |
| 1286 | if x != nil { |
| 1287 | return x.StackId |
| Himani Chawla | 9499e95 | 2020-12-17 13:12:52 +0530 | [diff] [blame] | 1288 | } |
| 1289 | return "" |
| 1290 | } |
| 1291 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 1292 | func (x *RPCEvent) GetResourceId() string { |
| 1293 | if x != nil { |
| 1294 | return x.ResourceId |
| Himani Chawla | 9499e95 | 2020-12-17 13:12:52 +0530 | [diff] [blame] | 1295 | } |
| 1296 | return "" |
| 1297 | } |
| 1298 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 1299 | func (x *RPCEvent) GetDescription() string { |
| 1300 | if x != nil { |
| 1301 | return x.Description |
| Himani Chawla | 9499e95 | 2020-12-17 13:12:52 +0530 | [diff] [blame] | 1302 | } |
| 1303 | return "" |
| 1304 | } |
| 1305 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 1306 | func (x *RPCEvent) GetContext() map[string]string { |
| 1307 | if x != nil { |
| 1308 | return x.Context |
| Himani Chawla | 9499e95 | 2020-12-17 13:12:52 +0530 | [diff] [blame] | 1309 | } |
| 1310 | return nil |
| 1311 | } |
| 1312 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 1313 | func (x *RPCEvent) GetStatus() *common.OperationResp { |
| 1314 | if x != nil { |
| 1315 | return x.Status |
| Himani Chawla | 9499e95 | 2020-12-17 13:12:52 +0530 | [diff] [blame] | 1316 | } |
| 1317 | return nil |
| 1318 | } |
| 1319 | |
| Devmalya Paul | f98ca13 | 2019-07-09 06:14:19 -0400 | [diff] [blame] | 1320 | // Identify the area of the system impacted by the event. |
| 1321 | type EventCategory struct { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 1322 | state protoimpl.MessageState `protogen:"open.v1"` |
| 1323 | unknownFields protoimpl.UnknownFields |
| 1324 | sizeCache protoimpl.SizeCache |
| Devmalya Paul | f98ca13 | 2019-07-09 06:14:19 -0400 | [diff] [blame] | 1325 | } |
| 1326 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 1327 | func (x *EventCategory) Reset() { |
| 1328 | *x = EventCategory{} |
| 1329 | mi := &file_voltha_protos_events_proto_msgTypes[16] |
| 1330 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1331 | ms.StoreMessageInfo(mi) |
| 1332 | } |
| 1333 | |
| 1334 | func (x *EventCategory) String() string { |
| 1335 | return protoimpl.X.MessageStringOf(x) |
| 1336 | } |
| 1337 | |
| 1338 | func (*EventCategory) ProtoMessage() {} |
| 1339 | |
| 1340 | func (x *EventCategory) ProtoReflect() protoreflect.Message { |
| 1341 | mi := &file_voltha_protos_events_proto_msgTypes[16] |
| 1342 | if x != nil { |
| 1343 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1344 | if ms.LoadMessageInfo() == nil { |
| 1345 | ms.StoreMessageInfo(mi) |
| 1346 | } |
| 1347 | return ms |
| 1348 | } |
| 1349 | return mi.MessageOf(x) |
| 1350 | } |
| 1351 | |
| 1352 | // Deprecated: Use EventCategory.ProtoReflect.Descriptor instead. |
| Devmalya Paul | f98ca13 | 2019-07-09 06:14:19 -0400 | [diff] [blame] | 1353 | func (*EventCategory) Descriptor() ([]byte, []int) { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 1354 | return file_voltha_protos_events_proto_rawDescGZIP(), []int{16} |
| Devmalya Paul | f98ca13 | 2019-07-09 06:14:19 -0400 | [diff] [blame] | 1355 | } |
| 1356 | |
| Devmalya Paul | f98ca13 | 2019-07-09 06:14:19 -0400 | [diff] [blame] | 1357 | // Identify the functional category originating the event |
| 1358 | type EventSubCategory struct { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 1359 | state protoimpl.MessageState `protogen:"open.v1"` |
| 1360 | unknownFields protoimpl.UnknownFields |
| 1361 | sizeCache protoimpl.SizeCache |
| Devmalya Paul | f98ca13 | 2019-07-09 06:14:19 -0400 | [diff] [blame] | 1362 | } |
| 1363 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 1364 | func (x *EventSubCategory) Reset() { |
| 1365 | *x = EventSubCategory{} |
| 1366 | mi := &file_voltha_protos_events_proto_msgTypes[17] |
| 1367 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1368 | ms.StoreMessageInfo(mi) |
| 1369 | } |
| 1370 | |
| 1371 | func (x *EventSubCategory) String() string { |
| 1372 | return protoimpl.X.MessageStringOf(x) |
| 1373 | } |
| 1374 | |
| 1375 | func (*EventSubCategory) ProtoMessage() {} |
| 1376 | |
| 1377 | func (x *EventSubCategory) ProtoReflect() protoreflect.Message { |
| 1378 | mi := &file_voltha_protos_events_proto_msgTypes[17] |
| 1379 | if x != nil { |
| 1380 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1381 | if ms.LoadMessageInfo() == nil { |
| 1382 | ms.StoreMessageInfo(mi) |
| 1383 | } |
| 1384 | return ms |
| 1385 | } |
| 1386 | return mi.MessageOf(x) |
| 1387 | } |
| 1388 | |
| 1389 | // Deprecated: Use EventSubCategory.ProtoReflect.Descriptor instead. |
| Devmalya Paul | f98ca13 | 2019-07-09 06:14:19 -0400 | [diff] [blame] | 1390 | func (*EventSubCategory) Descriptor() ([]byte, []int) { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 1391 | return file_voltha_protos_events_proto_rawDescGZIP(), []int{17} |
| Devmalya Paul | f98ca13 | 2019-07-09 06:14:19 -0400 | [diff] [blame] | 1392 | } |
| 1393 | |
| Devmalya Paul | f98ca13 | 2019-07-09 06:14:19 -0400 | [diff] [blame] | 1394 | // Identify the type of event |
| 1395 | type EventType struct { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 1396 | state protoimpl.MessageState `protogen:"open.v1"` |
| 1397 | unknownFields protoimpl.UnknownFields |
| 1398 | sizeCache protoimpl.SizeCache |
| Devmalya Paul | f98ca13 | 2019-07-09 06:14:19 -0400 | [diff] [blame] | 1399 | } |
| 1400 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 1401 | func (x *EventType) Reset() { |
| 1402 | *x = EventType{} |
| 1403 | mi := &file_voltha_protos_events_proto_msgTypes[18] |
| 1404 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1405 | ms.StoreMessageInfo(mi) |
| 1406 | } |
| 1407 | |
| 1408 | func (x *EventType) String() string { |
| 1409 | return protoimpl.X.MessageStringOf(x) |
| 1410 | } |
| 1411 | |
| 1412 | func (*EventType) ProtoMessage() {} |
| 1413 | |
| 1414 | func (x *EventType) ProtoReflect() protoreflect.Message { |
| 1415 | mi := &file_voltha_protos_events_proto_msgTypes[18] |
| 1416 | if x != nil { |
| 1417 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1418 | if ms.LoadMessageInfo() == nil { |
| 1419 | ms.StoreMessageInfo(mi) |
| 1420 | } |
| 1421 | return ms |
| 1422 | } |
| 1423 | return mi.MessageOf(x) |
| 1424 | } |
| 1425 | |
| 1426 | // Deprecated: Use EventType.ProtoReflect.Descriptor instead. |
| Devmalya Paul | f98ca13 | 2019-07-09 06:14:19 -0400 | [diff] [blame] | 1427 | func (*EventType) Descriptor() ([]byte, []int) { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 1428 | return file_voltha_protos_events_proto_rawDescGZIP(), []int{18} |
| Devmalya Paul | f98ca13 | 2019-07-09 06:14:19 -0400 | [diff] [blame] | 1429 | } |
| 1430 | |
| Devmalya Paul | f98ca13 | 2019-07-09 06:14:19 -0400 | [diff] [blame] | 1431 | // Identify the functional category originating the event |
| 1432 | type EventHeader struct { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 1433 | state protoimpl.MessageState `protogen:"open.v1"` |
| Devmalya Paul | f98ca13 | 2019-07-09 06:14:19 -0400 | [diff] [blame] | 1434 | // Unique ID for this event. e.g. voltha.some_olt.1234 |
| 1435 | Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` |
| 1436 | // Refers to the functional area affect by the event |
| khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 1437 | Category EventCategory_Types `protobuf:"varint,2,opt,name=category,proto3,enum=event.EventCategory_Types" json:"category,omitempty"` |
| Devmalya Paul | f98ca13 | 2019-07-09 06:14:19 -0400 | [diff] [blame] | 1438 | // Refers to functional category of the event |
| khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 1439 | SubCategory EventSubCategory_Types `protobuf:"varint,3,opt,name=sub_category,json=subCategory,proto3,enum=event.EventSubCategory_Types" json:"sub_category,omitempty"` |
| Devmalya Paul | f98ca13 | 2019-07-09 06:14:19 -0400 | [diff] [blame] | 1440 | // Refers to the type of the event |
| khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 1441 | Type EventType_Types `protobuf:"varint,4,opt,name=type,proto3,enum=event.EventType_Types" json:"type,omitempty"` |
| Devmalya Paul | f98ca13 | 2019-07-09 06:14:19 -0400 | [diff] [blame] | 1442 | // The version identifier for this event type, thus allowing each |
| 1443 | // event type to evolve independently. The version should be in the |
| 1444 | // format “MAJOR.MINOR” format and minor changes must only be additive |
| 1445 | // and non-breaking. |
| 1446 | TypeVersion string `protobuf:"bytes,5,opt,name=type_version,json=typeVersion,proto3" json:"type_version,omitempty"` |
| 1447 | // Timestamp at which the event was first raised. |
| 1448 | // This represents the UTC time stamp since epoch (in seconds) when the |
| 1449 | // the event was first raised from the source entity. |
| 1450 | // If the source entity doesn't send the raised_ts, this shall be set |
| 1451 | // to timestamp when the event was received. |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 1452 | RaisedTs *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=raised_ts,json=raisedTs,proto3" json:"raised_ts,omitempty"` |
| Devmalya Paul | f98ca13 | 2019-07-09 06:14:19 -0400 | [diff] [blame] | 1453 | // Timestamp at which the event was reported. |
| 1454 | // This represents the UTC time stamp since epoch (in seconds) when the |
| 1455 | // the event was reported (this time stamp is >= raised_ts). |
| 1456 | // If the source entity that reported this event doesn't send the |
| 1457 | // reported_ts, this shall be set to the same value as raised_ts. |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 1458 | ReportedTs *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=reported_ts,json=reportedTs,proto3" json:"reported_ts,omitempty"` |
| 1459 | unknownFields protoimpl.UnknownFields |
| 1460 | sizeCache protoimpl.SizeCache |
| Devmalya Paul | f98ca13 | 2019-07-09 06:14:19 -0400 | [diff] [blame] | 1461 | } |
| 1462 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 1463 | func (x *EventHeader) Reset() { |
| 1464 | *x = EventHeader{} |
| 1465 | mi := &file_voltha_protos_events_proto_msgTypes[19] |
| 1466 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1467 | ms.StoreMessageInfo(mi) |
| 1468 | } |
| 1469 | |
| 1470 | func (x *EventHeader) String() string { |
| 1471 | return protoimpl.X.MessageStringOf(x) |
| 1472 | } |
| 1473 | |
| 1474 | func (*EventHeader) ProtoMessage() {} |
| 1475 | |
| 1476 | func (x *EventHeader) ProtoReflect() protoreflect.Message { |
| 1477 | mi := &file_voltha_protos_events_proto_msgTypes[19] |
| 1478 | if x != nil { |
| 1479 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1480 | if ms.LoadMessageInfo() == nil { |
| 1481 | ms.StoreMessageInfo(mi) |
| 1482 | } |
| 1483 | return ms |
| 1484 | } |
| 1485 | return mi.MessageOf(x) |
| 1486 | } |
| 1487 | |
| 1488 | // Deprecated: Use EventHeader.ProtoReflect.Descriptor instead. |
| Devmalya Paul | f98ca13 | 2019-07-09 06:14:19 -0400 | [diff] [blame] | 1489 | func (*EventHeader) Descriptor() ([]byte, []int) { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 1490 | return file_voltha_protos_events_proto_rawDescGZIP(), []int{19} |
| Devmalya Paul | f98ca13 | 2019-07-09 06:14:19 -0400 | [diff] [blame] | 1491 | } |
| 1492 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 1493 | func (x *EventHeader) GetId() string { |
| 1494 | if x != nil { |
| 1495 | return x.Id |
| Devmalya Paul | f98ca13 | 2019-07-09 06:14:19 -0400 | [diff] [blame] | 1496 | } |
| 1497 | return "" |
| 1498 | } |
| 1499 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 1500 | func (x *EventHeader) GetCategory() EventCategory_Types { |
| 1501 | if x != nil { |
| 1502 | return x.Category |
| Devmalya Paul | f98ca13 | 2019-07-09 06:14:19 -0400 | [diff] [blame] | 1503 | } |
| 1504 | return EventCategory_COMMUNICATION |
| 1505 | } |
| 1506 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 1507 | func (x *EventHeader) GetSubCategory() EventSubCategory_Types { |
| 1508 | if x != nil { |
| 1509 | return x.SubCategory |
| Devmalya Paul | f98ca13 | 2019-07-09 06:14:19 -0400 | [diff] [blame] | 1510 | } |
| 1511 | return EventSubCategory_PON |
| 1512 | } |
| 1513 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 1514 | func (x *EventHeader) GetType() EventType_Types { |
| 1515 | if x != nil { |
| 1516 | return x.Type |
| Devmalya Paul | f98ca13 | 2019-07-09 06:14:19 -0400 | [diff] [blame] | 1517 | } |
| 1518 | return EventType_CONFIG_EVENT |
| 1519 | } |
| 1520 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 1521 | func (x *EventHeader) GetTypeVersion() string { |
| 1522 | if x != nil { |
| 1523 | return x.TypeVersion |
| Devmalya Paul | f98ca13 | 2019-07-09 06:14:19 -0400 | [diff] [blame] | 1524 | } |
| 1525 | return "" |
| 1526 | } |
| 1527 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 1528 | func (x *EventHeader) GetRaisedTs() *timestamppb.Timestamp { |
| 1529 | if x != nil { |
| 1530 | return x.RaisedTs |
| Devmalya Paul | f98ca13 | 2019-07-09 06:14:19 -0400 | [diff] [blame] | 1531 | } |
| Scott Baker | 7c854aa | 2020-02-10 17:25:31 -0800 | [diff] [blame] | 1532 | return nil |
| Devmalya Paul | f98ca13 | 2019-07-09 06:14:19 -0400 | [diff] [blame] | 1533 | } |
| 1534 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 1535 | func (x *EventHeader) GetReportedTs() *timestamppb.Timestamp { |
| 1536 | if x != nil { |
| 1537 | return x.ReportedTs |
| Devmalya Paul | f98ca13 | 2019-07-09 06:14:19 -0400 | [diff] [blame] | 1538 | } |
| Scott Baker | 7c854aa | 2020-02-10 17:25:31 -0800 | [diff] [blame] | 1539 | return nil |
| Devmalya Paul | f98ca13 | 2019-07-09 06:14:19 -0400 | [diff] [blame] | 1540 | } |
| 1541 | |
| Devmalya Paul | f98ca13 | 2019-07-09 06:14:19 -0400 | [diff] [blame] | 1542 | // Event Structure |
| 1543 | type Event struct { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 1544 | state protoimpl.MessageState `protogen:"open.v1"` |
| Devmalya Paul | f98ca13 | 2019-07-09 06:14:19 -0400 | [diff] [blame] | 1545 | // event header |
| 1546 | Header *EventHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` |
| 1547 | // oneof event types referred by EventType. |
| 1548 | // |
| 1549 | // Types that are valid to be assigned to EventType: |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 1550 | // |
| Devmalya Paul | f98ca13 | 2019-07-09 06:14:19 -0400 | [diff] [blame] | 1551 | // *Event_ConfigEvent |
| 1552 | // *Event_KpiEvent |
| 1553 | // *Event_KpiEvent2 |
| 1554 | // *Event_DeviceEvent |
| Himani Chawla | 9499e95 | 2020-12-17 13:12:52 +0530 | [diff] [blame] | 1555 | // *Event_RpcEvent |
| pnalmas | 9029942 | 2025-12-16 11:29:25 +0530 | [diff] [blame] | 1556 | // *Event_KpiEvent3 |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 1557 | EventType isEvent_EventType `protobuf_oneof:"event_type"` |
| 1558 | unknownFields protoimpl.UnknownFields |
| 1559 | sizeCache protoimpl.SizeCache |
| Devmalya Paul | f98ca13 | 2019-07-09 06:14:19 -0400 | [diff] [blame] | 1560 | } |
| 1561 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 1562 | func (x *Event) Reset() { |
| 1563 | *x = Event{} |
| 1564 | mi := &file_voltha_protos_events_proto_msgTypes[20] |
| 1565 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1566 | ms.StoreMessageInfo(mi) |
| 1567 | } |
| 1568 | |
| 1569 | func (x *Event) String() string { |
| 1570 | return protoimpl.X.MessageStringOf(x) |
| 1571 | } |
| 1572 | |
| 1573 | func (*Event) ProtoMessage() {} |
| 1574 | |
| 1575 | func (x *Event) ProtoReflect() protoreflect.Message { |
| 1576 | mi := &file_voltha_protos_events_proto_msgTypes[20] |
| 1577 | if x != nil { |
| 1578 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1579 | if ms.LoadMessageInfo() == nil { |
| 1580 | ms.StoreMessageInfo(mi) |
| 1581 | } |
| 1582 | return ms |
| 1583 | } |
| 1584 | return mi.MessageOf(x) |
| 1585 | } |
| 1586 | |
| 1587 | // Deprecated: Use Event.ProtoReflect.Descriptor instead. |
| Devmalya Paul | f98ca13 | 2019-07-09 06:14:19 -0400 | [diff] [blame] | 1588 | func (*Event) Descriptor() ([]byte, []int) { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 1589 | return file_voltha_protos_events_proto_rawDescGZIP(), []int{20} |
| Devmalya Paul | f98ca13 | 2019-07-09 06:14:19 -0400 | [diff] [blame] | 1590 | } |
| 1591 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 1592 | func (x *Event) GetHeader() *EventHeader { |
| 1593 | if x != nil { |
| 1594 | return x.Header |
| 1595 | } |
| 1596 | return nil |
| Devmalya Paul | f98ca13 | 2019-07-09 06:14:19 -0400 | [diff] [blame] | 1597 | } |
| 1598 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 1599 | func (x *Event) GetEventType() isEvent_EventType { |
| 1600 | if x != nil { |
| 1601 | return x.EventType |
| 1602 | } |
| 1603 | return nil |
| 1604 | } |
| Devmalya Paul | f98ca13 | 2019-07-09 06:14:19 -0400 | [diff] [blame] | 1605 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 1606 | func (x *Event) GetConfigEvent() *ConfigEvent { |
| 1607 | if x != nil { |
| 1608 | if x, ok := x.EventType.(*Event_ConfigEvent); ok { |
| 1609 | return x.ConfigEvent |
| 1610 | } |
| 1611 | } |
| 1612 | return nil |
| 1613 | } |
| 1614 | |
| 1615 | func (x *Event) GetKpiEvent() *KpiEvent { |
| 1616 | if x != nil { |
| 1617 | if x, ok := x.EventType.(*Event_KpiEvent); ok { |
| 1618 | return x.KpiEvent |
| 1619 | } |
| 1620 | } |
| 1621 | return nil |
| 1622 | } |
| 1623 | |
| 1624 | func (x *Event) GetKpiEvent2() *KpiEvent2 { |
| 1625 | if x != nil { |
| 1626 | if x, ok := x.EventType.(*Event_KpiEvent2); ok { |
| 1627 | return x.KpiEvent2 |
| 1628 | } |
| 1629 | } |
| 1630 | return nil |
| 1631 | } |
| 1632 | |
| 1633 | func (x *Event) GetDeviceEvent() *DeviceEvent { |
| 1634 | if x != nil { |
| 1635 | if x, ok := x.EventType.(*Event_DeviceEvent); ok { |
| 1636 | return x.DeviceEvent |
| 1637 | } |
| 1638 | } |
| 1639 | return nil |
| 1640 | } |
| 1641 | |
| 1642 | func (x *Event) GetRpcEvent() *RPCEvent { |
| 1643 | if x != nil { |
| 1644 | if x, ok := x.EventType.(*Event_RpcEvent); ok { |
| 1645 | return x.RpcEvent |
| 1646 | } |
| 1647 | } |
| 1648 | return nil |
| 1649 | } |
| 1650 | |
| 1651 | func (x *Event) GetKpiEvent3() *KpiEvent3 { |
| 1652 | if x != nil { |
| 1653 | if x, ok := x.EventType.(*Event_KpiEvent3); ok { |
| 1654 | return x.KpiEvent3 |
| 1655 | } |
| Devmalya Paul | f98ca13 | 2019-07-09 06:14:19 -0400 | [diff] [blame] | 1656 | } |
| 1657 | return nil |
| 1658 | } |
| 1659 | |
| 1660 | type isEvent_EventType interface { |
| 1661 | isEvent_EventType() |
| 1662 | } |
| 1663 | |
| 1664 | type Event_ConfigEvent struct { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 1665 | // Refers to ConfigEvent |
| Devmalya Paul | f98ca13 | 2019-07-09 06:14:19 -0400 | [diff] [blame] | 1666 | ConfigEvent *ConfigEvent `protobuf:"bytes,2,opt,name=config_event,json=configEvent,proto3,oneof"` |
| 1667 | } |
| 1668 | |
| 1669 | type Event_KpiEvent struct { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 1670 | // Refers to KpiEvent |
| Devmalya Paul | f98ca13 | 2019-07-09 06:14:19 -0400 | [diff] [blame] | 1671 | KpiEvent *KpiEvent `protobuf:"bytes,3,opt,name=kpi_event,json=kpiEvent,proto3,oneof"` |
| 1672 | } |
| 1673 | |
| 1674 | type Event_KpiEvent2 struct { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 1675 | // Refers to KpiEvent2 |
| Devmalya Paul | f98ca13 | 2019-07-09 06:14:19 -0400 | [diff] [blame] | 1676 | KpiEvent2 *KpiEvent2 `protobuf:"bytes,4,opt,name=kpi_event2,json=kpiEvent2,proto3,oneof"` |
| 1677 | } |
| 1678 | |
| 1679 | type Event_DeviceEvent struct { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 1680 | // Refers to DeviceEvent |
| Devmalya Paul | f98ca13 | 2019-07-09 06:14:19 -0400 | [diff] [blame] | 1681 | DeviceEvent *DeviceEvent `protobuf:"bytes,5,opt,name=device_event,json=deviceEvent,proto3,oneof"` |
| 1682 | } |
| 1683 | |
| Himani Chawla | 9499e95 | 2020-12-17 13:12:52 +0530 | [diff] [blame] | 1684 | type Event_RpcEvent struct { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 1685 | // Refers to an RPC Event |
| Himani Chawla | 9499e95 | 2020-12-17 13:12:52 +0530 | [diff] [blame] | 1686 | RpcEvent *RPCEvent `protobuf:"bytes,6,opt,name=rpc_event,json=rpcEvent,proto3,oneof"` |
| 1687 | } |
| 1688 | |
| pnalmas | 9029942 | 2025-12-16 11:29:25 +0530 | [diff] [blame] | 1689 | type Event_KpiEvent3 struct { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 1690 | // Refers to KpiEvent3 (64-bit counter support) |
| pnalmas | 9029942 | 2025-12-16 11:29:25 +0530 | [diff] [blame] | 1691 | KpiEvent3 *KpiEvent3 `protobuf:"bytes,7,opt,name=kpi_event3,json=kpiEvent3,proto3,oneof"` |
| 1692 | } |
| 1693 | |
| Devmalya Paul | f98ca13 | 2019-07-09 06:14:19 -0400 | [diff] [blame] | 1694 | func (*Event_ConfigEvent) isEvent_EventType() {} |
| 1695 | |
| 1696 | func (*Event_KpiEvent) isEvent_EventType() {} |
| 1697 | |
| 1698 | func (*Event_KpiEvent2) isEvent_EventType() {} |
| 1699 | |
| 1700 | func (*Event_DeviceEvent) isEvent_EventType() {} |
| 1701 | |
| Himani Chawla | 9499e95 | 2020-12-17 13:12:52 +0530 | [diff] [blame] | 1702 | func (*Event_RpcEvent) isEvent_EventType() {} |
| 1703 | |
| pnalmas | 9029942 | 2025-12-16 11:29:25 +0530 | [diff] [blame] | 1704 | func (*Event_KpiEvent3) isEvent_EventType() {} |
| 1705 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 1706 | var File_voltha_protos_events_proto protoreflect.FileDescriptor |
| 1707 | |
| 1708 | const file_voltha_protos_events_proto_rawDesc = "" + |
| 1709 | "\n" + |
| 1710 | "\x1avoltha_protos/events.proto\x12\x05event\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1avoltha_protos/common.proto\"\x9e\x01\n" + |
| 1711 | "\x12EventFilterRuleKey\"\x87\x01\n" + |
| 1712 | "\x13EventFilterRuleType\x12\x0e\n" + |
| 1713 | "\n" + |
| 1714 | "filter_all\x10\x00\x12\f\n" + |
| 1715 | "\bcategory\x10\x01\x12\x10\n" + |
| 1716 | "\fsub_category\x10\x02\x12\x12\n" + |
| 1717 | "\x0ekpi_event_type\x10\x03\x12\x15\n" + |
| 1718 | "\x11config_event_type\x10\x04\x12\x15\n" + |
| 1719 | "\x11device_event_type\x10\x05\"h\n" + |
| 1720 | "\x0fEventFilterRule\x12?\n" + |
| 1721 | "\x03key\x18\x01 \x01(\x0e2-.event.EventFilterRuleKey.EventFilterRuleTypeR\x03key\x12\x14\n" + |
| 1722 | "\x05value\x18\x02 \x01(\tR\x05value\"\x9f\x01\n" + |
| 1723 | "\vEventFilter\x12\x0e\n" + |
| 1724 | "\x02id\x18\x01 \x01(\tR\x02id\x12\x16\n" + |
| 1725 | "\x06enable\x18\x02 \x01(\bR\x06enable\x12\x1b\n" + |
| 1726 | "\tdevice_id\x18\x03 \x01(\tR\bdeviceId\x12\x1d\n" + |
| 1727 | "\n" + |
| 1728 | "event_type\x18\x04 \x01(\tR\teventType\x12,\n" + |
| 1729 | "\x05rules\x18\x05 \x03(\v2\x16.event.EventFilterRuleR\x05rules\"<\n" + |
| 1730 | "\fEventFilters\x12,\n" + |
| 1731 | "\afilters\x18\x01 \x03(\v2\x12.event.EventFilterR\afilters\";\n" + |
| 1732 | "\x0fConfigEventType\"(\n" + |
| 1733 | "\x05Types\x12\a\n" + |
| 1734 | "\x03add\x10\x00\x12\n" + |
| 1735 | "\n" + |
| 1736 | "\x06remove\x10\x01\x12\n" + |
| 1737 | "\n" + |
| 1738 | "\x06update\x10\x02\"g\n" + |
| 1739 | "\vConfigEvent\x120\n" + |
| 1740 | "\x04type\x18\x01 \x01(\x0e2\x1c.event.ConfigEventType.TypesR\x04type\x12\x12\n" + |
| 1741 | "\x04hash\x18\x02 \x01(\tR\x04hash\x12\x12\n" + |
| 1742 | "\x04data\x18\x03 \x01(\tR\x04data\"*\n" + |
| 1743 | "\fKpiEventType\"\x1a\n" + |
| 1744 | "\x05Types\x12\t\n" + |
| 1745 | "\x05slice\x10\x00\x12\x06\n" + |
| 1746 | "\x02ts\x10\x01\"\xaa\x02\n" + |
| 1747 | "\x0eMetricMetaData\x12\x14\n" + |
| 1748 | "\x05title\x18\x01 \x01(\tR\x05title\x12\x0e\n" + |
| 1749 | "\x02ts\x18\x02 \x01(\x01R\x02ts\x12*\n" + |
| 1750 | "\x11logical_device_id\x18\x03 \x01(\tR\x0flogicalDeviceId\x12\x1b\n" + |
| 1751 | "\tserial_no\x18\x04 \x01(\tR\bserialNo\x12\x1b\n" + |
| 1752 | "\tdevice_id\x18\x05 \x01(\tR\bdeviceId\x12<\n" + |
| 1753 | "\acontext\x18\x06 \x03(\v2\".event.MetricMetaData.ContextEntryR\acontext\x12\x12\n" + |
| 1754 | "\x04uuid\x18\a \x01(\tR\x04uuid\x1a:\n" + |
| 1755 | "\fContextEntry\x12\x10\n" + |
| 1756 | "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + |
| 1757 | "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\x8e\x01\n" + |
| 1758 | "\x10MetricValuePairs\x12>\n" + |
| 1759 | "\ametrics\x18\x01 \x03(\v2$.event.MetricValuePairs.MetricsEntryR\ametrics\x1a:\n" + |
| 1760 | "\fMetricsEntry\x12\x10\n" + |
| 1761 | "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + |
| 1762 | "\x05value\x18\x02 \x01(\x02R\x05value:\x028\x01\"\xc3\x01\n" + |
| 1763 | "\x11MetricInformation\x121\n" + |
| 1764 | "\bmetadata\x18\x01 \x01(\v2\x15.event.MetricMetaDataR\bmetadata\x12?\n" + |
| 1765 | "\ametrics\x18\x02 \x03(\v2%.event.MetricInformation.MetricsEntryR\ametrics\x1a:\n" + |
| 1766 | "\fMetricsEntry\x12\x10\n" + |
| 1767 | "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + |
| 1768 | "\x05value\x18\x02 \x01(\x02R\x05value:\x028\x01\"\xc7\x01\n" + |
| 1769 | "\x13MetricInformation64\x121\n" + |
| 1770 | "\bmetadata\x18\x01 \x01(\v2\x15.event.MetricMetaDataR\bmetadata\x12A\n" + |
| 1771 | "\ametrics\x18\x02 \x03(\v2'.event.MetricInformation64.MetricsEntryR\ametrics\x1a:\n" + |
| 1772 | "\fMetricsEntry\x12\x10\n" + |
| 1773 | "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + |
| 1774 | "\x05value\x18\x02 \x01(\x01R\x05value:\x028\x01\"\xda\x01\n" + |
| 1775 | "\bKpiEvent\x12-\n" + |
| 1776 | "\x04type\x18\x01 \x01(\x0e2\x19.event.KpiEventType.TypesR\x04type\x12\x0e\n" + |
| 1777 | "\x02ts\x18\x02 \x01(\x02R\x02ts\x129\n" + |
| 1778 | "\bprefixes\x18\x03 \x03(\v2\x1d.event.KpiEvent.PrefixesEntryR\bprefixes\x1aT\n" + |
| 1779 | "\rPrefixesEntry\x12\x10\n" + |
| 1780 | "\x03key\x18\x01 \x01(\tR\x03key\x12-\n" + |
| 1781 | "\x05value\x18\x02 \x01(\v2\x17.event.MetricValuePairsR\x05value:\x028\x01\"\x83\x01\n" + |
| 1782 | "\tKpiEvent2\x12-\n" + |
| 1783 | "\x04type\x18\x01 \x01(\x0e2\x19.event.KpiEventType.TypesR\x04type\x12\x0e\n" + |
| 1784 | "\x02ts\x18\x02 \x01(\x01R\x02ts\x127\n" + |
| 1785 | "\n" + |
| 1786 | "slice_data\x18\x03 \x03(\v2\x18.event.MetricInformationR\tsliceData\"\x85\x01\n" + |
| 1787 | "\tKpiEvent3\x12-\n" + |
| 1788 | "\x04type\x18\x01 \x01(\x0e2\x19.event.KpiEventType.TypesR\x04type\x12\x0e\n" + |
| 1789 | "\x02ts\x18\x02 \x01(\x01R\x02ts\x129\n" + |
| 1790 | "\n" + |
| 1791 | "slice_data\x18\x03 \x03(\v2\x1a.event.MetricInformation64R\tsliceData\"\xf3\x01\n" + |
| 1792 | "\vDeviceEvent\x12\x1f\n" + |
| 1793 | "\vresource_id\x18\x01 \x01(\tR\n" + |
| 1794 | "resourceId\x12*\n" + |
| 1795 | "\x11device_event_name\x18\x02 \x01(\tR\x0fdeviceEventName\x12 \n" + |
| 1796 | "\vdescription\x18\x03 \x01(\tR\vdescription\x129\n" + |
| 1797 | "\acontext\x18\x04 \x03(\v2\x1f.event.DeviceEvent.ContextEntryR\acontext\x1a:\n" + |
| 1798 | "\fContextEntry\x12\x10\n" + |
| 1799 | "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + |
| 1800 | "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\xda\x02\n" + |
| 1801 | "\bRPCEvent\x12\x10\n" + |
| 1802 | "\x03rpc\x18\x01 \x01(\tR\x03rpc\x12!\n" + |
| 1803 | "\foperation_id\x18\x02 \x01(\tR\voperationId\x12\x18\n" + |
| 1804 | "\aservice\x18\x03 \x01(\tR\aservice\x12\x19\n" + |
| 1805 | "\bstack_id\x18\x04 \x01(\tR\astackId\x12\x1f\n" + |
| 1806 | "\vresource_id\x18\x05 \x01(\tR\n" + |
| 1807 | "resourceId\x12 \n" + |
| 1808 | "\vdescription\x18\x06 \x01(\tR\vdescription\x126\n" + |
| 1809 | "\acontext\x18\a \x03(\v2\x1c.event.RPCEvent.ContextEntryR\acontext\x12-\n" + |
| 1810 | "\x06status\x18\b \x01(\v2\x15.common.OperationRespR\x06status\x1a:\n" + |
| 1811 | "\fContextEntry\x12\x10\n" + |
| 1812 | "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + |
| 1813 | "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"v\n" + |
| 1814 | "\rEventCategory\"e\n" + |
| 1815 | "\x05Types\x12\x11\n" + |
| 1816 | "\rCOMMUNICATION\x10\x00\x12\x0f\n" + |
| 1817 | "\vENVIRONMENT\x10\x01\x12\r\n" + |
| 1818 | "\tEQUIPMENT\x10\x02\x12\v\n" + |
| 1819 | "\aSERVICE\x10\x03\x12\x0e\n" + |
| 1820 | "\n" + |
| 1821 | "PROCESSING\x10\x04\x12\f\n" + |
| 1822 | "\bSECURITY\x10\x05\"R\n" + |
| 1823 | "\x10EventSubCategory\">\n" + |
| 1824 | "\x05Types\x12\a\n" + |
| 1825 | "\x03PON\x10\x00\x12\a\n" + |
| 1826 | "\x03OLT\x10\x01\x12\a\n" + |
| 1827 | "\x03ONT\x10\x02\x12\a\n" + |
| 1828 | "\x03ONU\x10\x03\x12\a\n" + |
| 1829 | "\x03NNI\x10\x04\x12\b\n" + |
| 1830 | "\x04NONE\x10\x05\"v\n" + |
| 1831 | "\tEventType\"i\n" + |
| 1832 | "\x05Types\x12\x10\n" + |
| 1833 | "\fCONFIG_EVENT\x10\x00\x12\r\n" + |
| 1834 | "\tKPI_EVENT\x10\x01\x12\x0e\n" + |
| 1835 | "\n" + |
| 1836 | "KPI_EVENT2\x10\x02\x12\x10\n" + |
| 1837 | "\fDEVICE_EVENT\x10\x03\x12\r\n" + |
| 1838 | "\tRPC_EVENT\x10\x04\x12\x0e\n" + |
| 1839 | "\n" + |
| 1840 | "KPI_EVENT3\x10\x05\"\xdc\x02\n" + |
| 1841 | "\vEventHeader\x12\x0e\n" + |
| 1842 | "\x02id\x18\x01 \x01(\tR\x02id\x126\n" + |
| 1843 | "\bcategory\x18\x02 \x01(\x0e2\x1a.event.EventCategory.TypesR\bcategory\x12@\n" + |
| 1844 | "\fsub_category\x18\x03 \x01(\x0e2\x1d.event.EventSubCategory.TypesR\vsubCategory\x12*\n" + |
| 1845 | "\x04type\x18\x04 \x01(\x0e2\x16.event.EventType.TypesR\x04type\x12!\n" + |
| 1846 | "\ftype_version\x18\x05 \x01(\tR\vtypeVersion\x127\n" + |
| 1847 | "\traised_ts\x18\x06 \x01(\v2\x1a.google.protobuf.TimestampR\braisedTs\x12;\n" + |
| 1848 | "\vreported_ts\x18\a \x01(\v2\x1a.google.protobuf.TimestampR\n" + |
| 1849 | "reportedTs\"\xf9\x02\n" + |
| 1850 | "\x05Event\x12*\n" + |
| 1851 | "\x06header\x18\x01 \x01(\v2\x12.event.EventHeaderR\x06header\x127\n" + |
| 1852 | "\fconfig_event\x18\x02 \x01(\v2\x12.event.ConfigEventH\x00R\vconfigEvent\x12.\n" + |
| 1853 | "\tkpi_event\x18\x03 \x01(\v2\x0f.event.KpiEventH\x00R\bkpiEvent\x121\n" + |
| 1854 | "\n" + |
| 1855 | "kpi_event2\x18\x04 \x01(\v2\x10.event.KpiEvent2H\x00R\tkpiEvent2\x127\n" + |
| 1856 | "\fdevice_event\x18\x05 \x01(\v2\x12.event.DeviceEventH\x00R\vdeviceEvent\x12.\n" + |
| 1857 | "\trpc_event\x18\x06 \x01(\v2\x0f.event.RPCEventH\x00R\brpcEvent\x121\n" + |
| 1858 | "\n" + |
| 1859 | "kpi_event3\x18\a \x01(\v2\x10.event.KpiEvent3H\x00R\tkpiEvent3B\f\n" + |
| 1860 | "\n" + |
| 1861 | "event_typeBL\n" + |
| 1862 | "\x1aorg.opencord.voltha.eventsZ.github.com/opencord/voltha-protos/v5/go/volthab\x06proto3" |
| 1863 | |
| 1864 | var ( |
| 1865 | file_voltha_protos_events_proto_rawDescOnce sync.Once |
| 1866 | file_voltha_protos_events_proto_rawDescData []byte |
| 1867 | ) |
| 1868 | |
| 1869 | func file_voltha_protos_events_proto_rawDescGZIP() []byte { |
| 1870 | file_voltha_protos_events_proto_rawDescOnce.Do(func() { |
| 1871 | file_voltha_protos_events_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_voltha_protos_events_proto_rawDesc), len(file_voltha_protos_events_proto_rawDesc))) |
| 1872 | }) |
| 1873 | return file_voltha_protos_events_proto_rawDescData |
| Devmalya Paul | f98ca13 | 2019-07-09 06:14:19 -0400 | [diff] [blame] | 1874 | } |
| 1875 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 1876 | var file_voltha_protos_events_proto_enumTypes = make([]protoimpl.EnumInfo, 6) |
| 1877 | var file_voltha_protos_events_proto_msgTypes = make([]protoimpl.MessageInfo, 28) |
| 1878 | var file_voltha_protos_events_proto_goTypes = []any{ |
| 1879 | (EventFilterRuleKey_EventFilterRuleType)(0), // 0: event.EventFilterRuleKey.EventFilterRuleType |
| 1880 | (ConfigEventType_Types)(0), // 1: event.ConfigEventType.Types |
| 1881 | (KpiEventType_Types)(0), // 2: event.KpiEventType.Types |
| 1882 | (EventCategory_Types)(0), // 3: event.EventCategory.Types |
| 1883 | (EventSubCategory_Types)(0), // 4: event.EventSubCategory.Types |
| 1884 | (EventType_Types)(0), // 5: event.EventType.Types |
| 1885 | (*EventFilterRuleKey)(nil), // 6: event.EventFilterRuleKey |
| 1886 | (*EventFilterRule)(nil), // 7: event.EventFilterRule |
| 1887 | (*EventFilter)(nil), // 8: event.EventFilter |
| 1888 | (*EventFilters)(nil), // 9: event.EventFilters |
| 1889 | (*ConfigEventType)(nil), // 10: event.ConfigEventType |
| 1890 | (*ConfigEvent)(nil), // 11: event.ConfigEvent |
| 1891 | (*KpiEventType)(nil), // 12: event.KpiEventType |
| 1892 | (*MetricMetaData)(nil), // 13: event.MetricMetaData |
| 1893 | (*MetricValuePairs)(nil), // 14: event.MetricValuePairs |
| 1894 | (*MetricInformation)(nil), // 15: event.MetricInformation |
| 1895 | (*MetricInformation64)(nil), // 16: event.MetricInformation64 |
| 1896 | (*KpiEvent)(nil), // 17: event.KpiEvent |
| 1897 | (*KpiEvent2)(nil), // 18: event.KpiEvent2 |
| 1898 | (*KpiEvent3)(nil), // 19: event.KpiEvent3 |
| 1899 | (*DeviceEvent)(nil), // 20: event.DeviceEvent |
| 1900 | (*RPCEvent)(nil), // 21: event.RPCEvent |
| 1901 | (*EventCategory)(nil), // 22: event.EventCategory |
| 1902 | (*EventSubCategory)(nil), // 23: event.EventSubCategory |
| 1903 | (*EventType)(nil), // 24: event.EventType |
| 1904 | (*EventHeader)(nil), // 25: event.EventHeader |
| 1905 | (*Event)(nil), // 26: event.Event |
| 1906 | nil, // 27: event.MetricMetaData.ContextEntry |
| 1907 | nil, // 28: event.MetricValuePairs.MetricsEntry |
| 1908 | nil, // 29: event.MetricInformation.MetricsEntry |
| 1909 | nil, // 30: event.MetricInformation64.MetricsEntry |
| 1910 | nil, // 31: event.KpiEvent.PrefixesEntry |
| 1911 | nil, // 32: event.DeviceEvent.ContextEntry |
| 1912 | nil, // 33: event.RPCEvent.ContextEntry |
| 1913 | (*common.OperationResp)(nil), // 34: common.OperationResp |
| 1914 | (*timestamppb.Timestamp)(nil), // 35: google.protobuf.Timestamp |
| 1915 | } |
| 1916 | var file_voltha_protos_events_proto_depIdxs = []int32{ |
| 1917 | 0, // 0: event.EventFilterRule.key:type_name -> event.EventFilterRuleKey.EventFilterRuleType |
| 1918 | 7, // 1: event.EventFilter.rules:type_name -> event.EventFilterRule |
| 1919 | 8, // 2: event.EventFilters.filters:type_name -> event.EventFilter |
| 1920 | 1, // 3: event.ConfigEvent.type:type_name -> event.ConfigEventType.Types |
| 1921 | 27, // 4: event.MetricMetaData.context:type_name -> event.MetricMetaData.ContextEntry |
| 1922 | 28, // 5: event.MetricValuePairs.metrics:type_name -> event.MetricValuePairs.MetricsEntry |
| 1923 | 13, // 6: event.MetricInformation.metadata:type_name -> event.MetricMetaData |
| 1924 | 29, // 7: event.MetricInformation.metrics:type_name -> event.MetricInformation.MetricsEntry |
| 1925 | 13, // 8: event.MetricInformation64.metadata:type_name -> event.MetricMetaData |
| 1926 | 30, // 9: event.MetricInformation64.metrics:type_name -> event.MetricInformation64.MetricsEntry |
| 1927 | 2, // 10: event.KpiEvent.type:type_name -> event.KpiEventType.Types |
| 1928 | 31, // 11: event.KpiEvent.prefixes:type_name -> event.KpiEvent.PrefixesEntry |
| 1929 | 2, // 12: event.KpiEvent2.type:type_name -> event.KpiEventType.Types |
| 1930 | 15, // 13: event.KpiEvent2.slice_data:type_name -> event.MetricInformation |
| 1931 | 2, // 14: event.KpiEvent3.type:type_name -> event.KpiEventType.Types |
| 1932 | 16, // 15: event.KpiEvent3.slice_data:type_name -> event.MetricInformation64 |
| 1933 | 32, // 16: event.DeviceEvent.context:type_name -> event.DeviceEvent.ContextEntry |
| 1934 | 33, // 17: event.RPCEvent.context:type_name -> event.RPCEvent.ContextEntry |
| 1935 | 34, // 18: event.RPCEvent.status:type_name -> common.OperationResp |
| 1936 | 3, // 19: event.EventHeader.category:type_name -> event.EventCategory.Types |
| 1937 | 4, // 20: event.EventHeader.sub_category:type_name -> event.EventSubCategory.Types |
| 1938 | 5, // 21: event.EventHeader.type:type_name -> event.EventType.Types |
| 1939 | 35, // 22: event.EventHeader.raised_ts:type_name -> google.protobuf.Timestamp |
| 1940 | 35, // 23: event.EventHeader.reported_ts:type_name -> google.protobuf.Timestamp |
| 1941 | 25, // 24: event.Event.header:type_name -> event.EventHeader |
| 1942 | 11, // 25: event.Event.config_event:type_name -> event.ConfigEvent |
| 1943 | 17, // 26: event.Event.kpi_event:type_name -> event.KpiEvent |
| 1944 | 18, // 27: event.Event.kpi_event2:type_name -> event.KpiEvent2 |
| 1945 | 20, // 28: event.Event.device_event:type_name -> event.DeviceEvent |
| 1946 | 21, // 29: event.Event.rpc_event:type_name -> event.RPCEvent |
| 1947 | 19, // 30: event.Event.kpi_event3:type_name -> event.KpiEvent3 |
| 1948 | 14, // 31: event.KpiEvent.PrefixesEntry.value:type_name -> event.MetricValuePairs |
| 1949 | 32, // [32:32] is the sub-list for method output_type |
| 1950 | 32, // [32:32] is the sub-list for method input_type |
| 1951 | 32, // [32:32] is the sub-list for extension type_name |
| 1952 | 32, // [32:32] is the sub-list for extension extendee |
| 1953 | 0, // [0:32] is the sub-list for field type_name |
| Devmalya Paul | f98ca13 | 2019-07-09 06:14:19 -0400 | [diff] [blame] | 1954 | } |
| 1955 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 1956 | func init() { file_voltha_protos_events_proto_init() } |
| 1957 | func file_voltha_protos_events_proto_init() { |
| 1958 | if File_voltha_protos_events_proto != nil { |
| 1959 | return |
| Devmalya Paul | f98ca13 | 2019-07-09 06:14:19 -0400 | [diff] [blame] | 1960 | } |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 1961 | file_voltha_protos_events_proto_msgTypes[20].OneofWrappers = []any{ |
| Devmalya Paul | f98ca13 | 2019-07-09 06:14:19 -0400 | [diff] [blame] | 1962 | (*Event_ConfigEvent)(nil), |
| 1963 | (*Event_KpiEvent)(nil), |
| 1964 | (*Event_KpiEvent2)(nil), |
| 1965 | (*Event_DeviceEvent)(nil), |
| Himani Chawla | 9499e95 | 2020-12-17 13:12:52 +0530 | [diff] [blame] | 1966 | (*Event_RpcEvent)(nil), |
| pnalmas | 9029942 | 2025-12-16 11:29:25 +0530 | [diff] [blame] | 1967 | (*Event_KpiEvent3)(nil), |
| Devmalya Paul | f98ca13 | 2019-07-09 06:14:19 -0400 | [diff] [blame] | 1968 | } |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 1969 | type x struct{} |
| 1970 | out := protoimpl.TypeBuilder{ |
| 1971 | File: protoimpl.DescBuilder{ |
| 1972 | GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 1973 | RawDescriptor: unsafe.Slice(unsafe.StringData(file_voltha_protos_events_proto_rawDesc), len(file_voltha_protos_events_proto_rawDesc)), |
| 1974 | NumEnums: 6, |
| 1975 | NumMessages: 28, |
| 1976 | NumExtensions: 0, |
| 1977 | NumServices: 0, |
| 1978 | }, |
| 1979 | GoTypes: file_voltha_protos_events_proto_goTypes, |
| 1980 | DependencyIndexes: file_voltha_protos_events_proto_depIdxs, |
| 1981 | EnumInfos: file_voltha_protos_events_proto_enumTypes, |
| 1982 | MessageInfos: file_voltha_protos_events_proto_msgTypes, |
| 1983 | }.Build() |
| 1984 | File_voltha_protos_events_proto = out.File |
| 1985 | file_voltha_protos_events_proto_goTypes = nil |
| 1986 | file_voltha_protos_events_proto_depIdxs = nil |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1987 | } |