| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 1 | // Copyright 2020-2024 Open Networking Foundation (ONF) and the ONF Contributors |
| 2 | // |
| 3 | // Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | // you may not use this file except in compliance with the License. |
| 5 | // You may obtain a copy of the License at: |
| 6 | // |
| 7 | // http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | // |
| 9 | // Unless required by applicable law or agreed to in writing, software |
| 10 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | // See the License for the specific language governing permissions and |
| 13 | // limitations under the License. |
| 14 | |
| dpaul | 2b52e71 | 2020-06-23 13:02:28 +0530 | [diff] [blame] | 15 | // Code generated by protoc-gen-go. DO NOT EDIT. |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 16 | // versions: |
| 17 | // protoc-gen-go v1.36.11 |
| 18 | // protoc v4.25.8 |
| dpaul | 2b52e71 | 2020-06-23 13:02:28 +0530 | [diff] [blame] | 19 | // source: voltha_protos/ext_config.proto |
| 20 | |
| 21 | package config |
| 22 | |
| 23 | import ( |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 24 | protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 25 | protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 26 | reflect "reflect" |
| 27 | sync "sync" |
| 28 | unsafe "unsafe" |
| dpaul | 2b52e71 | 2020-06-23 13:02:28 +0530 | [diff] [blame] | 29 | ) |
| 30 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 31 | const ( |
| 32 | // Verify that this generated code is sufficiently up-to-date. |
| 33 | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 34 | // Verify that runtime/protoimpl is sufficiently up-to-date. |
| 35 | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 36 | ) |
| dpaul | 2b52e71 | 2020-06-23 13:02:28 +0530 | [diff] [blame] | 37 | |
| 38 | type OnuItuPonAlarm_AlarmID int32 |
| 39 | |
| 40 | const ( |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 41 | OnuItuPonAlarm_RDI_ERRORS OnuItuPonAlarm_AlarmID = 0 // RDI errors |
| dpaul | 2b52e71 | 2020-06-23 13:02:28 +0530 | [diff] [blame] | 42 | ) |
| 43 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 44 | // Enum value maps for OnuItuPonAlarm_AlarmID. |
| 45 | var ( |
| 46 | OnuItuPonAlarm_AlarmID_name = map[int32]string{ |
| 47 | 0: "RDI_ERRORS", |
| 48 | } |
| 49 | OnuItuPonAlarm_AlarmID_value = map[string]int32{ |
| 50 | "RDI_ERRORS": 0, |
| 51 | } |
| 52 | ) |
| dpaul | 2b52e71 | 2020-06-23 13:02:28 +0530 | [diff] [blame] | 53 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 54 | func (x OnuItuPonAlarm_AlarmID) Enum() *OnuItuPonAlarm_AlarmID { |
| 55 | p := new(OnuItuPonAlarm_AlarmID) |
| 56 | *p = x |
| 57 | return p |
| dpaul | 2b52e71 | 2020-06-23 13:02:28 +0530 | [diff] [blame] | 58 | } |
| 59 | |
| 60 | func (x OnuItuPonAlarm_AlarmID) String() string { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 61 | return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| dpaul | 2b52e71 | 2020-06-23 13:02:28 +0530 | [diff] [blame] | 62 | } |
| 63 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 64 | func (OnuItuPonAlarm_AlarmID) Descriptor() protoreflect.EnumDescriptor { |
| 65 | return file_voltha_protos_ext_config_proto_enumTypes[0].Descriptor() |
| 66 | } |
| 67 | |
| 68 | func (OnuItuPonAlarm_AlarmID) Type() protoreflect.EnumType { |
| 69 | return &file_voltha_protos_ext_config_proto_enumTypes[0] |
| 70 | } |
| 71 | |
| 72 | func (x OnuItuPonAlarm_AlarmID) Number() protoreflect.EnumNumber { |
| 73 | return protoreflect.EnumNumber(x) |
| 74 | } |
| 75 | |
| 76 | // Deprecated: Use OnuItuPonAlarm_AlarmID.Descriptor instead. |
| dpaul | 2b52e71 | 2020-06-23 13:02:28 +0530 | [diff] [blame] | 77 | func (OnuItuPonAlarm_AlarmID) EnumDescriptor() ([]byte, []int) { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 78 | return file_voltha_protos_ext_config_proto_rawDescGZIP(), []int{1, 0} |
| dpaul | 2b52e71 | 2020-06-23 13:02:28 +0530 | [diff] [blame] | 79 | } |
| 80 | |
| 81 | type OnuItuPonAlarm_AlarmReportingCondition int32 |
| 82 | |
| 83 | const ( |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 84 | OnuItuPonAlarm_RATE_THRESHOLD OnuItuPonAlarm_AlarmReportingCondition = 0 // The alarm is triggered if the stats delta value between samples crosses the configured threshold boundary |
| 85 | OnuItuPonAlarm_RATE_RANGE OnuItuPonAlarm_AlarmReportingCondition = 1 // The alarm is triggered if the stats delta value between samples deviates from the configured range |
| 86 | OnuItuPonAlarm_VALUE_THRESHOLD OnuItuPonAlarm_AlarmReportingCondition = 2 // The alarm is raised if the stats sample value becomes greater than this level. The alarm is cleared when the host read the stats |
| dpaul | 2b52e71 | 2020-06-23 13:02:28 +0530 | [diff] [blame] | 87 | ) |
| 88 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 89 | // Enum value maps for OnuItuPonAlarm_AlarmReportingCondition. |
| 90 | var ( |
| 91 | OnuItuPonAlarm_AlarmReportingCondition_name = map[int32]string{ |
| 92 | 0: "RATE_THRESHOLD", |
| 93 | 1: "RATE_RANGE", |
| 94 | 2: "VALUE_THRESHOLD", |
| 95 | } |
| 96 | OnuItuPonAlarm_AlarmReportingCondition_value = map[string]int32{ |
| 97 | "RATE_THRESHOLD": 0, |
| 98 | "RATE_RANGE": 1, |
| 99 | "VALUE_THRESHOLD": 2, |
| 100 | } |
| 101 | ) |
| dpaul | 2b52e71 | 2020-06-23 13:02:28 +0530 | [diff] [blame] | 102 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 103 | func (x OnuItuPonAlarm_AlarmReportingCondition) Enum() *OnuItuPonAlarm_AlarmReportingCondition { |
| 104 | p := new(OnuItuPonAlarm_AlarmReportingCondition) |
| 105 | *p = x |
| 106 | return p |
| dpaul | 2b52e71 | 2020-06-23 13:02:28 +0530 | [diff] [blame] | 107 | } |
| 108 | |
| 109 | func (x OnuItuPonAlarm_AlarmReportingCondition) String() string { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 110 | return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| dpaul | 2b52e71 | 2020-06-23 13:02:28 +0530 | [diff] [blame] | 111 | } |
| 112 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 113 | func (OnuItuPonAlarm_AlarmReportingCondition) Descriptor() protoreflect.EnumDescriptor { |
| 114 | return file_voltha_protos_ext_config_proto_enumTypes[1].Descriptor() |
| 115 | } |
| 116 | |
| 117 | func (OnuItuPonAlarm_AlarmReportingCondition) Type() protoreflect.EnumType { |
| 118 | return &file_voltha_protos_ext_config_proto_enumTypes[1] |
| 119 | } |
| 120 | |
| 121 | func (x OnuItuPonAlarm_AlarmReportingCondition) Number() protoreflect.EnumNumber { |
| 122 | return protoreflect.EnumNumber(x) |
| 123 | } |
| 124 | |
| 125 | // Deprecated: Use OnuItuPonAlarm_AlarmReportingCondition.Descriptor instead. |
| dpaul | 2b52e71 | 2020-06-23 13:02:28 +0530 | [diff] [blame] | 126 | func (OnuItuPonAlarm_AlarmReportingCondition) EnumDescriptor() ([]byte, []int) { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 127 | return file_voltha_protos_ext_config_proto_rawDescGZIP(), []int{1, 1} |
| dpaul | 2b52e71 | 2020-06-23 13:02:28 +0530 | [diff] [blame] | 128 | } |
| 129 | |
| 130 | type AlarmConfig struct { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 131 | state protoimpl.MessageState `protogen:"open.v1"` |
| dpaul | 2b52e71 | 2020-06-23 13:02:28 +0530 | [diff] [blame] | 132 | // Types that are valid to be assigned to Config: |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 133 | // |
| dpaul | 2b52e71 | 2020-06-23 13:02:28 +0530 | [diff] [blame] | 134 | // *AlarmConfig_OnuItuPonAlarmConfig |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 135 | Config isAlarmConfig_Config `protobuf_oneof:"config"` |
| 136 | unknownFields protoimpl.UnknownFields |
| 137 | sizeCache protoimpl.SizeCache |
| dpaul | 2b52e71 | 2020-06-23 13:02:28 +0530 | [diff] [blame] | 138 | } |
| 139 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 140 | func (x *AlarmConfig) Reset() { |
| 141 | *x = AlarmConfig{} |
| 142 | mi := &file_voltha_protos_ext_config_proto_msgTypes[0] |
| 143 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 144 | ms.StoreMessageInfo(mi) |
| 145 | } |
| 146 | |
| 147 | func (x *AlarmConfig) String() string { |
| 148 | return protoimpl.X.MessageStringOf(x) |
| 149 | } |
| 150 | |
| 151 | func (*AlarmConfig) ProtoMessage() {} |
| 152 | |
| 153 | func (x *AlarmConfig) ProtoReflect() protoreflect.Message { |
| 154 | mi := &file_voltha_protos_ext_config_proto_msgTypes[0] |
| 155 | if x != nil { |
| 156 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 157 | if ms.LoadMessageInfo() == nil { |
| 158 | ms.StoreMessageInfo(mi) |
| 159 | } |
| 160 | return ms |
| 161 | } |
| 162 | return mi.MessageOf(x) |
| 163 | } |
| 164 | |
| 165 | // Deprecated: Use AlarmConfig.ProtoReflect.Descriptor instead. |
| dpaul | 2b52e71 | 2020-06-23 13:02:28 +0530 | [diff] [blame] | 166 | func (*AlarmConfig) Descriptor() ([]byte, []int) { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 167 | return file_voltha_protos_ext_config_proto_rawDescGZIP(), []int{0} |
| dpaul | 2b52e71 | 2020-06-23 13:02:28 +0530 | [diff] [blame] | 168 | } |
| 169 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 170 | func (x *AlarmConfig) GetConfig() isAlarmConfig_Config { |
| 171 | if x != nil { |
| 172 | return x.Config |
| 173 | } |
| 174 | return nil |
| dpaul | 2b52e71 | 2020-06-23 13:02:28 +0530 | [diff] [blame] | 175 | } |
| 176 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 177 | func (x *AlarmConfig) GetOnuItuPonAlarmConfig() *OnuItuPonAlarm { |
| 178 | if x != nil { |
| 179 | if x, ok := x.Config.(*AlarmConfig_OnuItuPonAlarmConfig); ok { |
| 180 | return x.OnuItuPonAlarmConfig |
| 181 | } |
| 182 | } |
| 183 | return nil |
| 184 | } |
| dpaul | 2b52e71 | 2020-06-23 13:02:28 +0530 | [diff] [blame] | 185 | |
| 186 | type isAlarmConfig_Config interface { |
| 187 | isAlarmConfig_Config() |
| 188 | } |
| 189 | |
| 190 | type AlarmConfig_OnuItuPonAlarmConfig struct { |
| 191 | OnuItuPonAlarmConfig *OnuItuPonAlarm `protobuf:"bytes,1,opt,name=onu_itu_pon_alarm_config,json=onuItuPonAlarmConfig,proto3,oneof"` |
| 192 | } |
| 193 | |
| 194 | func (*AlarmConfig_OnuItuPonAlarmConfig) isAlarmConfig_Config() {} |
| 195 | |
| dpaul | 2b52e71 | 2020-06-23 13:02:28 +0530 | [diff] [blame] | 196 | type OnuItuPonAlarm struct { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 197 | state protoimpl.MessageState `protogen:"open.v1"` |
| dpaul | 2b52e71 | 2020-06-23 13:02:28 +0530 | [diff] [blame] | 198 | PonNi uint32 `protobuf:"fixed32,1,opt,name=pon_ni,json=ponNi,proto3" json:"pon_ni,omitempty"` |
| 199 | OnuId uint32 `protobuf:"fixed32,2,opt,name=onu_id,json=onuId,proto3" json:"onu_id,omitempty"` |
| 200 | AlarmId OnuItuPonAlarm_AlarmID `protobuf:"varint,3,opt,name=alarm_id,json=alarmId,proto3,enum=config.OnuItuPonAlarm_AlarmID" json:"alarm_id,omitempty"` |
| 201 | AlarmReportingCondition OnuItuPonAlarm_AlarmReportingCondition `protobuf:"varint,4,opt,name=alarm_reporting_condition,json=alarmReportingCondition,proto3,enum=config.OnuItuPonAlarm_AlarmReportingCondition" json:"alarm_reporting_condition,omitempty"` |
| 202 | // Types that are valid to be assigned to Config: |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 203 | // |
| dpaul | 2b52e71 | 2020-06-23 13:02:28 +0530 | [diff] [blame] | 204 | // *OnuItuPonAlarm_RateThresholdConfig_ |
| 205 | // *OnuItuPonAlarm_RateRangeConfig_ |
| 206 | // *OnuItuPonAlarm_ValueThresholdConfig_ |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 207 | Config isOnuItuPonAlarm_Config `protobuf_oneof:"config"` |
| 208 | unknownFields protoimpl.UnknownFields |
| 209 | sizeCache protoimpl.SizeCache |
| dpaul | 2b52e71 | 2020-06-23 13:02:28 +0530 | [diff] [blame] | 210 | } |
| 211 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 212 | func (x *OnuItuPonAlarm) Reset() { |
| 213 | *x = OnuItuPonAlarm{} |
| 214 | mi := &file_voltha_protos_ext_config_proto_msgTypes[1] |
| 215 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 216 | ms.StoreMessageInfo(mi) |
| 217 | } |
| 218 | |
| 219 | func (x *OnuItuPonAlarm) String() string { |
| 220 | return protoimpl.X.MessageStringOf(x) |
| 221 | } |
| 222 | |
| 223 | func (*OnuItuPonAlarm) ProtoMessage() {} |
| 224 | |
| 225 | func (x *OnuItuPonAlarm) ProtoReflect() protoreflect.Message { |
| 226 | mi := &file_voltha_protos_ext_config_proto_msgTypes[1] |
| 227 | if x != nil { |
| 228 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 229 | if ms.LoadMessageInfo() == nil { |
| 230 | ms.StoreMessageInfo(mi) |
| 231 | } |
| 232 | return ms |
| 233 | } |
| 234 | return mi.MessageOf(x) |
| 235 | } |
| 236 | |
| 237 | // Deprecated: Use OnuItuPonAlarm.ProtoReflect.Descriptor instead. |
| dpaul | 2b52e71 | 2020-06-23 13:02:28 +0530 | [diff] [blame] | 238 | func (*OnuItuPonAlarm) Descriptor() ([]byte, []int) { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 239 | return file_voltha_protos_ext_config_proto_rawDescGZIP(), []int{1} |
| dpaul | 2b52e71 | 2020-06-23 13:02:28 +0530 | [diff] [blame] | 240 | } |
| 241 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 242 | func (x *OnuItuPonAlarm) GetPonNi() uint32 { |
| 243 | if x != nil { |
| 244 | return x.PonNi |
| dpaul | 2b52e71 | 2020-06-23 13:02:28 +0530 | [diff] [blame] | 245 | } |
| 246 | return 0 |
| 247 | } |
| 248 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 249 | func (x *OnuItuPonAlarm) GetOnuId() uint32 { |
| 250 | if x != nil { |
| 251 | return x.OnuId |
| dpaul | 2b52e71 | 2020-06-23 13:02:28 +0530 | [diff] [blame] | 252 | } |
| 253 | return 0 |
| 254 | } |
| 255 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 256 | func (x *OnuItuPonAlarm) GetAlarmId() OnuItuPonAlarm_AlarmID { |
| 257 | if x != nil { |
| 258 | return x.AlarmId |
| dpaul | 2b52e71 | 2020-06-23 13:02:28 +0530 | [diff] [blame] | 259 | } |
| 260 | return OnuItuPonAlarm_RDI_ERRORS |
| 261 | } |
| 262 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 263 | func (x *OnuItuPonAlarm) GetAlarmReportingCondition() OnuItuPonAlarm_AlarmReportingCondition { |
| 264 | if x != nil { |
| 265 | return x.AlarmReportingCondition |
| dpaul | 2b52e71 | 2020-06-23 13:02:28 +0530 | [diff] [blame] | 266 | } |
| 267 | return OnuItuPonAlarm_RATE_THRESHOLD |
| 268 | } |
| 269 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 270 | func (x *OnuItuPonAlarm) GetConfig() isOnuItuPonAlarm_Config { |
| 271 | if x != nil { |
| 272 | return x.Config |
| 273 | } |
| 274 | return nil |
| 275 | } |
| 276 | |
| 277 | func (x *OnuItuPonAlarm) GetRateThresholdConfig() *OnuItuPonAlarm_RateThresholdConfig { |
| 278 | if x != nil { |
| 279 | if x, ok := x.Config.(*OnuItuPonAlarm_RateThresholdConfig_); ok { |
| 280 | return x.RateThresholdConfig |
| 281 | } |
| 282 | } |
| 283 | return nil |
| 284 | } |
| 285 | |
| 286 | func (x *OnuItuPonAlarm) GetRateRangeConfig() *OnuItuPonAlarm_RateRangeConfig { |
| 287 | if x != nil { |
| 288 | if x, ok := x.Config.(*OnuItuPonAlarm_RateRangeConfig_); ok { |
| 289 | return x.RateRangeConfig |
| 290 | } |
| 291 | } |
| 292 | return nil |
| 293 | } |
| 294 | |
| 295 | func (x *OnuItuPonAlarm) GetValueThresholdConfig() *OnuItuPonAlarm_ValueThresholdConfig { |
| 296 | if x != nil { |
| 297 | if x, ok := x.Config.(*OnuItuPonAlarm_ValueThresholdConfig_); ok { |
| 298 | return x.ValueThresholdConfig |
| 299 | } |
| 300 | } |
| 301 | return nil |
| 302 | } |
| 303 | |
| dpaul | 2b52e71 | 2020-06-23 13:02:28 +0530 | [diff] [blame] | 304 | type isOnuItuPonAlarm_Config interface { |
| 305 | isOnuItuPonAlarm_Config() |
| 306 | } |
| 307 | |
| 308 | type OnuItuPonAlarm_RateThresholdConfig_ struct { |
| 309 | RateThresholdConfig *OnuItuPonAlarm_RateThresholdConfig `protobuf:"bytes,5,opt,name=rate_threshold_config,json=rateThresholdConfig,proto3,oneof"` |
| 310 | } |
| 311 | |
| 312 | type OnuItuPonAlarm_RateRangeConfig_ struct { |
| 313 | RateRangeConfig *OnuItuPonAlarm_RateRangeConfig `protobuf:"bytes,6,opt,name=rate_range_config,json=rateRangeConfig,proto3,oneof"` |
| 314 | } |
| 315 | |
| 316 | type OnuItuPonAlarm_ValueThresholdConfig_ struct { |
| 317 | ValueThresholdConfig *OnuItuPonAlarm_ValueThresholdConfig `protobuf:"bytes,7,opt,name=value_threshold_config,json=valueThresholdConfig,proto3,oneof"` |
| 318 | } |
| 319 | |
| 320 | func (*OnuItuPonAlarm_RateThresholdConfig_) isOnuItuPonAlarm_Config() {} |
| 321 | |
| 322 | func (*OnuItuPonAlarm_RateRangeConfig_) isOnuItuPonAlarm_Config() {} |
| 323 | |
| 324 | func (*OnuItuPonAlarm_ValueThresholdConfig_) isOnuItuPonAlarm_Config() {} |
| 325 | |
| dpaul | 2b52e71 | 2020-06-23 13:02:28 +0530 | [diff] [blame] | 326 | type OnuItuPonAlarm_SoakTime struct { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 327 | state protoimpl.MessageState `protogen:"open.v1"` |
| 328 | ActiveSoakTime uint32 `protobuf:"fixed32,1,opt,name=active_soak_time,json=activeSoakTime,proto3" json:"active_soak_time,omitempty"` |
| 329 | ClearSoakTime uint32 `protobuf:"fixed32,2,opt,name=clear_soak_time,json=clearSoakTime,proto3" json:"clear_soak_time,omitempty"` |
| 330 | unknownFields protoimpl.UnknownFields |
| 331 | sizeCache protoimpl.SizeCache |
| dpaul | 2b52e71 | 2020-06-23 13:02:28 +0530 | [diff] [blame] | 332 | } |
| 333 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 334 | func (x *OnuItuPonAlarm_SoakTime) Reset() { |
| 335 | *x = OnuItuPonAlarm_SoakTime{} |
| 336 | mi := &file_voltha_protos_ext_config_proto_msgTypes[2] |
| 337 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 338 | ms.StoreMessageInfo(mi) |
| 339 | } |
| 340 | |
| 341 | func (x *OnuItuPonAlarm_SoakTime) String() string { |
| 342 | return protoimpl.X.MessageStringOf(x) |
| 343 | } |
| 344 | |
| 345 | func (*OnuItuPonAlarm_SoakTime) ProtoMessage() {} |
| 346 | |
| 347 | func (x *OnuItuPonAlarm_SoakTime) ProtoReflect() protoreflect.Message { |
| 348 | mi := &file_voltha_protos_ext_config_proto_msgTypes[2] |
| 349 | if x != nil { |
| 350 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 351 | if ms.LoadMessageInfo() == nil { |
| 352 | ms.StoreMessageInfo(mi) |
| 353 | } |
| 354 | return ms |
| 355 | } |
| 356 | return mi.MessageOf(x) |
| 357 | } |
| 358 | |
| 359 | // Deprecated: Use OnuItuPonAlarm_SoakTime.ProtoReflect.Descriptor instead. |
| dpaul | 2b52e71 | 2020-06-23 13:02:28 +0530 | [diff] [blame] | 360 | func (*OnuItuPonAlarm_SoakTime) Descriptor() ([]byte, []int) { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 361 | return file_voltha_protos_ext_config_proto_rawDescGZIP(), []int{1, 0} |
| dpaul | 2b52e71 | 2020-06-23 13:02:28 +0530 | [diff] [blame] | 362 | } |
| 363 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 364 | func (x *OnuItuPonAlarm_SoakTime) GetActiveSoakTime() uint32 { |
| 365 | if x != nil { |
| 366 | return x.ActiveSoakTime |
| dpaul | 2b52e71 | 2020-06-23 13:02:28 +0530 | [diff] [blame] | 367 | } |
| 368 | return 0 |
| 369 | } |
| 370 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 371 | func (x *OnuItuPonAlarm_SoakTime) GetClearSoakTime() uint32 { |
| 372 | if x != nil { |
| 373 | return x.ClearSoakTime |
| dpaul | 2b52e71 | 2020-06-23 13:02:28 +0530 | [diff] [blame] | 374 | } |
| 375 | return 0 |
| 376 | } |
| 377 | |
| 378 | type OnuItuPonAlarm_RateThresholdConfig struct { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 379 | state protoimpl.MessageState `protogen:"open.v1"` |
| dpaul | 2b52e71 | 2020-06-23 13:02:28 +0530 | [diff] [blame] | 380 | RateThresholdRising uint64 `protobuf:"fixed64,1,opt,name=rate_threshold_rising,json=rateThresholdRising,proto3" json:"rate_threshold_rising,omitempty"` |
| 381 | RateThresholdFalling uint64 `protobuf:"fixed64,2,opt,name=rate_threshold_falling,json=rateThresholdFalling,proto3" json:"rate_threshold_falling,omitempty"` |
| 382 | SoakTime *OnuItuPonAlarm_SoakTime `protobuf:"bytes,3,opt,name=soak_time,json=soakTime,proto3" json:"soak_time,omitempty"` |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 383 | unknownFields protoimpl.UnknownFields |
| 384 | sizeCache protoimpl.SizeCache |
| dpaul | 2b52e71 | 2020-06-23 13:02:28 +0530 | [diff] [blame] | 385 | } |
| 386 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 387 | func (x *OnuItuPonAlarm_RateThresholdConfig) Reset() { |
| 388 | *x = OnuItuPonAlarm_RateThresholdConfig{} |
| 389 | mi := &file_voltha_protos_ext_config_proto_msgTypes[3] |
| 390 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 391 | ms.StoreMessageInfo(mi) |
| 392 | } |
| 393 | |
| 394 | func (x *OnuItuPonAlarm_RateThresholdConfig) String() string { |
| 395 | return protoimpl.X.MessageStringOf(x) |
| 396 | } |
| 397 | |
| 398 | func (*OnuItuPonAlarm_RateThresholdConfig) ProtoMessage() {} |
| 399 | |
| 400 | func (x *OnuItuPonAlarm_RateThresholdConfig) ProtoReflect() protoreflect.Message { |
| 401 | mi := &file_voltha_protos_ext_config_proto_msgTypes[3] |
| 402 | if x != nil { |
| 403 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 404 | if ms.LoadMessageInfo() == nil { |
| 405 | ms.StoreMessageInfo(mi) |
| 406 | } |
| 407 | return ms |
| 408 | } |
| 409 | return mi.MessageOf(x) |
| 410 | } |
| 411 | |
| 412 | // Deprecated: Use OnuItuPonAlarm_RateThresholdConfig.ProtoReflect.Descriptor instead. |
| dpaul | 2b52e71 | 2020-06-23 13:02:28 +0530 | [diff] [blame] | 413 | func (*OnuItuPonAlarm_RateThresholdConfig) Descriptor() ([]byte, []int) { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 414 | return file_voltha_protos_ext_config_proto_rawDescGZIP(), []int{1, 1} |
| dpaul | 2b52e71 | 2020-06-23 13:02:28 +0530 | [diff] [blame] | 415 | } |
| 416 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 417 | func (x *OnuItuPonAlarm_RateThresholdConfig) GetRateThresholdRising() uint64 { |
| 418 | if x != nil { |
| 419 | return x.RateThresholdRising |
| dpaul | 2b52e71 | 2020-06-23 13:02:28 +0530 | [diff] [blame] | 420 | } |
| 421 | return 0 |
| 422 | } |
| 423 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 424 | func (x *OnuItuPonAlarm_RateThresholdConfig) GetRateThresholdFalling() uint64 { |
| 425 | if x != nil { |
| 426 | return x.RateThresholdFalling |
| dpaul | 2b52e71 | 2020-06-23 13:02:28 +0530 | [diff] [blame] | 427 | } |
| 428 | return 0 |
| 429 | } |
| 430 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 431 | func (x *OnuItuPonAlarm_RateThresholdConfig) GetSoakTime() *OnuItuPonAlarm_SoakTime { |
| 432 | if x != nil { |
| 433 | return x.SoakTime |
| dpaul | 2b52e71 | 2020-06-23 13:02:28 +0530 | [diff] [blame] | 434 | } |
| 435 | return nil |
| 436 | } |
| 437 | |
| 438 | type OnuItuPonAlarm_RateRangeConfig struct { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 439 | state protoimpl.MessageState `protogen:"open.v1"` |
| 440 | RateRangeLower uint64 `protobuf:"fixed64,1,opt,name=rate_range_lower,json=rateRangeLower,proto3" json:"rate_range_lower,omitempty"` |
| 441 | RateRangeUpper uint64 `protobuf:"fixed64,2,opt,name=rate_range_upper,json=rateRangeUpper,proto3" json:"rate_range_upper,omitempty"` |
| 442 | SoakTime *OnuItuPonAlarm_SoakTime `protobuf:"bytes,3,opt,name=soak_time,json=soakTime,proto3" json:"soak_time,omitempty"` |
| 443 | unknownFields protoimpl.UnknownFields |
| 444 | sizeCache protoimpl.SizeCache |
| dpaul | 2b52e71 | 2020-06-23 13:02:28 +0530 | [diff] [blame] | 445 | } |
| 446 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 447 | func (x *OnuItuPonAlarm_RateRangeConfig) Reset() { |
| 448 | *x = OnuItuPonAlarm_RateRangeConfig{} |
| 449 | mi := &file_voltha_protos_ext_config_proto_msgTypes[4] |
| 450 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 451 | ms.StoreMessageInfo(mi) |
| 452 | } |
| 453 | |
| 454 | func (x *OnuItuPonAlarm_RateRangeConfig) String() string { |
| 455 | return protoimpl.X.MessageStringOf(x) |
| 456 | } |
| 457 | |
| 458 | func (*OnuItuPonAlarm_RateRangeConfig) ProtoMessage() {} |
| 459 | |
| 460 | func (x *OnuItuPonAlarm_RateRangeConfig) ProtoReflect() protoreflect.Message { |
| 461 | mi := &file_voltha_protos_ext_config_proto_msgTypes[4] |
| 462 | if x != nil { |
| 463 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 464 | if ms.LoadMessageInfo() == nil { |
| 465 | ms.StoreMessageInfo(mi) |
| 466 | } |
| 467 | return ms |
| 468 | } |
| 469 | return mi.MessageOf(x) |
| 470 | } |
| 471 | |
| 472 | // Deprecated: Use OnuItuPonAlarm_RateRangeConfig.ProtoReflect.Descriptor instead. |
| dpaul | 2b52e71 | 2020-06-23 13:02:28 +0530 | [diff] [blame] | 473 | func (*OnuItuPonAlarm_RateRangeConfig) Descriptor() ([]byte, []int) { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 474 | return file_voltha_protos_ext_config_proto_rawDescGZIP(), []int{1, 2} |
| dpaul | 2b52e71 | 2020-06-23 13:02:28 +0530 | [diff] [blame] | 475 | } |
| 476 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 477 | func (x *OnuItuPonAlarm_RateRangeConfig) GetRateRangeLower() uint64 { |
| 478 | if x != nil { |
| 479 | return x.RateRangeLower |
| dpaul | 2b52e71 | 2020-06-23 13:02:28 +0530 | [diff] [blame] | 480 | } |
| 481 | return 0 |
| 482 | } |
| 483 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 484 | func (x *OnuItuPonAlarm_RateRangeConfig) GetRateRangeUpper() uint64 { |
| 485 | if x != nil { |
| 486 | return x.RateRangeUpper |
| dpaul | 2b52e71 | 2020-06-23 13:02:28 +0530 | [diff] [blame] | 487 | } |
| 488 | return 0 |
| 489 | } |
| 490 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 491 | func (x *OnuItuPonAlarm_RateRangeConfig) GetSoakTime() *OnuItuPonAlarm_SoakTime { |
| 492 | if x != nil { |
| 493 | return x.SoakTime |
| dpaul | 2b52e71 | 2020-06-23 13:02:28 +0530 | [diff] [blame] | 494 | } |
| 495 | return nil |
| 496 | } |
| 497 | |
| 498 | type OnuItuPonAlarm_ValueThresholdConfig struct { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 499 | state protoimpl.MessageState `protogen:"open.v1"` |
| 500 | ThresholdLimit uint64 `protobuf:"fixed64,1,opt,name=threshold_limit,json=thresholdLimit,proto3" json:"threshold_limit,omitempty"` |
| 501 | SoakTime *OnuItuPonAlarm_SoakTime `protobuf:"bytes,2,opt,name=soak_time,json=soakTime,proto3" json:"soak_time,omitempty"` |
| 502 | unknownFields protoimpl.UnknownFields |
| 503 | sizeCache protoimpl.SizeCache |
| dpaul | 2b52e71 | 2020-06-23 13:02:28 +0530 | [diff] [blame] | 504 | } |
| 505 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 506 | func (x *OnuItuPonAlarm_ValueThresholdConfig) Reset() { |
| 507 | *x = OnuItuPonAlarm_ValueThresholdConfig{} |
| 508 | mi := &file_voltha_protos_ext_config_proto_msgTypes[5] |
| 509 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 510 | ms.StoreMessageInfo(mi) |
| 511 | } |
| 512 | |
| 513 | func (x *OnuItuPonAlarm_ValueThresholdConfig) String() string { |
| 514 | return protoimpl.X.MessageStringOf(x) |
| 515 | } |
| 516 | |
| 517 | func (*OnuItuPonAlarm_ValueThresholdConfig) ProtoMessage() {} |
| 518 | |
| 519 | func (x *OnuItuPonAlarm_ValueThresholdConfig) ProtoReflect() protoreflect.Message { |
| 520 | mi := &file_voltha_protos_ext_config_proto_msgTypes[5] |
| 521 | if x != nil { |
| 522 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 523 | if ms.LoadMessageInfo() == nil { |
| 524 | ms.StoreMessageInfo(mi) |
| 525 | } |
| 526 | return ms |
| 527 | } |
| 528 | return mi.MessageOf(x) |
| 529 | } |
| 530 | |
| 531 | // Deprecated: Use OnuItuPonAlarm_ValueThresholdConfig.ProtoReflect.Descriptor instead. |
| dpaul | 2b52e71 | 2020-06-23 13:02:28 +0530 | [diff] [blame] | 532 | func (*OnuItuPonAlarm_ValueThresholdConfig) Descriptor() ([]byte, []int) { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 533 | return file_voltha_protos_ext_config_proto_rawDescGZIP(), []int{1, 3} |
| dpaul | 2b52e71 | 2020-06-23 13:02:28 +0530 | [diff] [blame] | 534 | } |
| 535 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 536 | func (x *OnuItuPonAlarm_ValueThresholdConfig) GetThresholdLimit() uint64 { |
| 537 | if x != nil { |
| 538 | return x.ThresholdLimit |
| dpaul | 2b52e71 | 2020-06-23 13:02:28 +0530 | [diff] [blame] | 539 | } |
| 540 | return 0 |
| 541 | } |
| 542 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 543 | func (x *OnuItuPonAlarm_ValueThresholdConfig) GetSoakTime() *OnuItuPonAlarm_SoakTime { |
| 544 | if x != nil { |
| 545 | return x.SoakTime |
| dpaul | 2b52e71 | 2020-06-23 13:02:28 +0530 | [diff] [blame] | 546 | } |
| 547 | return nil |
| 548 | } |
| 549 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 550 | var File_voltha_protos_ext_config_proto protoreflect.FileDescriptor |
| 551 | |
| 552 | const file_voltha_protos_ext_config_proto_rawDesc = "" + |
| 553 | "\n" + |
| 554 | "\x1evoltha_protos/ext_config.proto\x12\x06config\"i\n" + |
| 555 | "\vAlarmConfig\x12P\n" + |
| 556 | "\x18onu_itu_pon_alarm_config\x18\x01 \x01(\v2\x16.config.OnuItuPonAlarmH\x00R\x14onuItuPonAlarmConfigB\b\n" + |
| 557 | "\x06config\"\xbe\t\n" + |
| 558 | "\x0eOnuItuPonAlarm\x12\x15\n" + |
| 559 | "\x06pon_ni\x18\x01 \x01(\aR\x05ponNi\x12\x15\n" + |
| 560 | "\x06onu_id\x18\x02 \x01(\aR\x05onuId\x129\n" + |
| 561 | "\balarm_id\x18\x03 \x01(\x0e2\x1e.config.OnuItuPonAlarm.AlarmIDR\aalarmId\x12j\n" + |
| 562 | "\x19alarm_reporting_condition\x18\x04 \x01(\x0e2..config.OnuItuPonAlarm.AlarmReportingConditionR\x17alarmReportingCondition\x12`\n" + |
| 563 | "\x15rate_threshold_config\x18\x05 \x01(\v2*.config.OnuItuPonAlarm.RateThresholdConfigH\x00R\x13rateThresholdConfig\x12T\n" + |
| 564 | "\x11rate_range_config\x18\x06 \x01(\v2&.config.OnuItuPonAlarm.RateRangeConfigH\x00R\x0frateRangeConfig\x12c\n" + |
| 565 | "\x16value_threshold_config\x18\a \x01(\v2+.config.OnuItuPonAlarm.ValueThresholdConfigH\x00R\x14valueThresholdConfig\x1a\\\n" + |
| 566 | "\bSoakTime\x12(\n" + |
| 567 | "\x10active_soak_time\x18\x01 \x01(\aR\x0eactiveSoakTime\x12&\n" + |
| 568 | "\x0fclear_soak_time\x18\x02 \x01(\aR\rclearSoakTime\x1a\xbd\x01\n" + |
| 569 | "\x13RateThresholdConfig\x122\n" + |
| 570 | "\x15rate_threshold_rising\x18\x01 \x01(\x06R\x13rateThresholdRising\x124\n" + |
| 571 | "\x16rate_threshold_falling\x18\x02 \x01(\x06R\x14rateThresholdFalling\x12<\n" + |
| 572 | "\tsoak_time\x18\x03 \x01(\v2\x1f.config.OnuItuPonAlarm.SoakTimeR\bsoakTime\x1a\xa3\x01\n" + |
| 573 | "\x0fRateRangeConfig\x12(\n" + |
| 574 | "\x10rate_range_lower\x18\x01 \x01(\x06R\x0erateRangeLower\x12(\n" + |
| 575 | "\x10rate_range_upper\x18\x02 \x01(\x06R\x0erateRangeUpper\x12<\n" + |
| 576 | "\tsoak_time\x18\x03 \x01(\v2\x1f.config.OnuItuPonAlarm.SoakTimeR\bsoakTime\x1a}\n" + |
| 577 | "\x14ValueThresholdConfig\x12'\n" + |
| 578 | "\x0fthreshold_limit\x18\x01 \x01(\x06R\x0ethresholdLimit\x12<\n" + |
| 579 | "\tsoak_time\x18\x02 \x01(\v2\x1f.config.OnuItuPonAlarm.SoakTimeR\bsoakTime\"\x19\n" + |
| 580 | "\aAlarmID\x12\x0e\n" + |
| 581 | "\n" + |
| 582 | "RDI_ERRORS\x10\x00\"R\n" + |
| 583 | "\x17AlarmReportingCondition\x12\x12\n" + |
| 584 | "\x0eRATE_THRESHOLD\x10\x00\x12\x0e\n" + |
| 585 | "\n" + |
| 586 | "RATE_RANGE\x10\x01\x12\x13\n" + |
| 587 | "\x0fVALUE_THRESHOLD\x10\x02B\b\n" + |
| 588 | "\x06configBI\n" + |
| 589 | "\x13org.opencord.volthaZ2github.com/opencord/voltha-protos/v5/go/ext/configb\x06proto3" |
| 590 | |
| 591 | var ( |
| 592 | file_voltha_protos_ext_config_proto_rawDescOnce sync.Once |
| 593 | file_voltha_protos_ext_config_proto_rawDescData []byte |
| 594 | ) |
| 595 | |
| 596 | func file_voltha_protos_ext_config_proto_rawDescGZIP() []byte { |
| 597 | file_voltha_protos_ext_config_proto_rawDescOnce.Do(func() { |
| 598 | file_voltha_protos_ext_config_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_voltha_protos_ext_config_proto_rawDesc), len(file_voltha_protos_ext_config_proto_rawDesc))) |
| 599 | }) |
| 600 | return file_voltha_protos_ext_config_proto_rawDescData |
| dpaul | 2b52e71 | 2020-06-23 13:02:28 +0530 | [diff] [blame] | 601 | } |
| 602 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 603 | var file_voltha_protos_ext_config_proto_enumTypes = make([]protoimpl.EnumInfo, 2) |
| 604 | var file_voltha_protos_ext_config_proto_msgTypes = make([]protoimpl.MessageInfo, 6) |
| 605 | var file_voltha_protos_ext_config_proto_goTypes = []any{ |
| 606 | (OnuItuPonAlarm_AlarmID)(0), // 0: config.OnuItuPonAlarm.AlarmID |
| 607 | (OnuItuPonAlarm_AlarmReportingCondition)(0), // 1: config.OnuItuPonAlarm.AlarmReportingCondition |
| 608 | (*AlarmConfig)(nil), // 2: config.AlarmConfig |
| 609 | (*OnuItuPonAlarm)(nil), // 3: config.OnuItuPonAlarm |
| 610 | (*OnuItuPonAlarm_SoakTime)(nil), // 4: config.OnuItuPonAlarm.SoakTime |
| 611 | (*OnuItuPonAlarm_RateThresholdConfig)(nil), // 5: config.OnuItuPonAlarm.RateThresholdConfig |
| 612 | (*OnuItuPonAlarm_RateRangeConfig)(nil), // 6: config.OnuItuPonAlarm.RateRangeConfig |
| 613 | (*OnuItuPonAlarm_ValueThresholdConfig)(nil), // 7: config.OnuItuPonAlarm.ValueThresholdConfig |
| 614 | } |
| 615 | var file_voltha_protos_ext_config_proto_depIdxs = []int32{ |
| 616 | 3, // 0: config.AlarmConfig.onu_itu_pon_alarm_config:type_name -> config.OnuItuPonAlarm |
| 617 | 0, // 1: config.OnuItuPonAlarm.alarm_id:type_name -> config.OnuItuPonAlarm.AlarmID |
| 618 | 1, // 2: config.OnuItuPonAlarm.alarm_reporting_condition:type_name -> config.OnuItuPonAlarm.AlarmReportingCondition |
| 619 | 5, // 3: config.OnuItuPonAlarm.rate_threshold_config:type_name -> config.OnuItuPonAlarm.RateThresholdConfig |
| 620 | 6, // 4: config.OnuItuPonAlarm.rate_range_config:type_name -> config.OnuItuPonAlarm.RateRangeConfig |
| 621 | 7, // 5: config.OnuItuPonAlarm.value_threshold_config:type_name -> config.OnuItuPonAlarm.ValueThresholdConfig |
| 622 | 4, // 6: config.OnuItuPonAlarm.RateThresholdConfig.soak_time:type_name -> config.OnuItuPonAlarm.SoakTime |
| 623 | 4, // 7: config.OnuItuPonAlarm.RateRangeConfig.soak_time:type_name -> config.OnuItuPonAlarm.SoakTime |
| 624 | 4, // 8: config.OnuItuPonAlarm.ValueThresholdConfig.soak_time:type_name -> config.OnuItuPonAlarm.SoakTime |
| 625 | 9, // [9:9] is the sub-list for method output_type |
| 626 | 9, // [9:9] is the sub-list for method input_type |
| 627 | 9, // [9:9] is the sub-list for extension type_name |
| 628 | 9, // [9:9] is the sub-list for extension extendee |
| 629 | 0, // [0:9] is the sub-list for field type_name |
| 630 | } |
| dpaul | 2b52e71 | 2020-06-23 13:02:28 +0530 | [diff] [blame] | 631 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 632 | func init() { file_voltha_protos_ext_config_proto_init() } |
| 633 | func file_voltha_protos_ext_config_proto_init() { |
| 634 | if File_voltha_protos_ext_config_proto != nil { |
| 635 | return |
| 636 | } |
| 637 | file_voltha_protos_ext_config_proto_msgTypes[0].OneofWrappers = []any{ |
| 638 | (*AlarmConfig_OnuItuPonAlarmConfig)(nil), |
| 639 | } |
| 640 | file_voltha_protos_ext_config_proto_msgTypes[1].OneofWrappers = []any{ |
| 641 | (*OnuItuPonAlarm_RateThresholdConfig_)(nil), |
| 642 | (*OnuItuPonAlarm_RateRangeConfig_)(nil), |
| 643 | (*OnuItuPonAlarm_ValueThresholdConfig_)(nil), |
| 644 | } |
| 645 | type x struct{} |
| 646 | out := protoimpl.TypeBuilder{ |
| 647 | File: protoimpl.DescBuilder{ |
| 648 | GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 649 | RawDescriptor: unsafe.Slice(unsafe.StringData(file_voltha_protos_ext_config_proto_rawDesc), len(file_voltha_protos_ext_config_proto_rawDesc)), |
| 650 | NumEnums: 2, |
| 651 | NumMessages: 6, |
| 652 | NumExtensions: 0, |
| 653 | NumServices: 0, |
| 654 | }, |
| 655 | GoTypes: file_voltha_protos_ext_config_proto_goTypes, |
| 656 | DependencyIndexes: file_voltha_protos_ext_config_proto_depIdxs, |
| 657 | EnumInfos: file_voltha_protos_ext_config_proto_enumTypes, |
| 658 | MessageInfos: file_voltha_protos_ext_config_proto_msgTypes, |
| 659 | }.Build() |
| 660 | File_voltha_protos_ext_config_proto = out.File |
| 661 | file_voltha_protos_ext_config_proto_goTypes = nil |
| 662 | file_voltha_protos_ext_config_proto_depIdxs = nil |
| dpaul | 2b52e71 | 2020-06-23 13:02:28 +0530 | [diff] [blame] | 663 | } |