dpaul | 2b52e71 | 2020-06-23 13:02:28 +0530 | [diff] [blame] | 1 | // Code generated by protoc-gen-go. DO NOT EDIT. |
| 2 | // source: voltha_protos/ext_config.proto |
| 3 | |
| 4 | package config |
| 5 | |
| 6 | import ( |
| 7 | fmt "fmt" |
| 8 | proto "github.com/golang/protobuf/proto" |
| 9 | math "math" |
| 10 | ) |
| 11 | |
| 12 | // Reference imports to suppress errors if they are not otherwise used. |
| 13 | var _ = proto.Marshal |
| 14 | var _ = fmt.Errorf |
| 15 | var _ = math.Inf |
| 16 | |
| 17 | // This is a compile-time assertion to ensure that this generated file |
| 18 | // is compatible with the proto package it is being compiled against. |
| 19 | // A compilation error at this line likely means your copy of the |
| 20 | // proto package needs to be updated. |
| 21 | const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package |
| 22 | |
| 23 | type OnuItuPonAlarm_AlarmID int32 |
| 24 | |
| 25 | const ( |
| 26 | OnuItuPonAlarm_RDI_ERRORS OnuItuPonAlarm_AlarmID = 0 |
| 27 | ) |
| 28 | |
| 29 | var OnuItuPonAlarm_AlarmID_name = map[int32]string{ |
| 30 | 0: "RDI_ERRORS", |
| 31 | } |
| 32 | |
| 33 | var OnuItuPonAlarm_AlarmID_value = map[string]int32{ |
| 34 | "RDI_ERRORS": 0, |
| 35 | } |
| 36 | |
| 37 | func (x OnuItuPonAlarm_AlarmID) String() string { |
| 38 | return proto.EnumName(OnuItuPonAlarm_AlarmID_name, int32(x)) |
| 39 | } |
| 40 | |
| 41 | func (OnuItuPonAlarm_AlarmID) EnumDescriptor() ([]byte, []int) { |
| 42 | return fileDescriptor_fb43b44b7fa3aba9, []int{1, 0} |
| 43 | } |
| 44 | |
| 45 | type OnuItuPonAlarm_AlarmReportingCondition int32 |
| 46 | |
| 47 | const ( |
| 48 | OnuItuPonAlarm_RATE_THRESHOLD OnuItuPonAlarm_AlarmReportingCondition = 0 |
| 49 | OnuItuPonAlarm_RATE_RANGE OnuItuPonAlarm_AlarmReportingCondition = 1 |
| 50 | OnuItuPonAlarm_VALUE_THRESHOLD OnuItuPonAlarm_AlarmReportingCondition = 2 |
| 51 | ) |
| 52 | |
| 53 | var OnuItuPonAlarm_AlarmReportingCondition_name = map[int32]string{ |
| 54 | 0: "RATE_THRESHOLD", |
| 55 | 1: "RATE_RANGE", |
| 56 | 2: "VALUE_THRESHOLD", |
| 57 | } |
| 58 | |
| 59 | var OnuItuPonAlarm_AlarmReportingCondition_value = map[string]int32{ |
| 60 | "RATE_THRESHOLD": 0, |
| 61 | "RATE_RANGE": 1, |
| 62 | "VALUE_THRESHOLD": 2, |
| 63 | } |
| 64 | |
| 65 | func (x OnuItuPonAlarm_AlarmReportingCondition) String() string { |
| 66 | return proto.EnumName(OnuItuPonAlarm_AlarmReportingCondition_name, int32(x)) |
| 67 | } |
| 68 | |
| 69 | func (OnuItuPonAlarm_AlarmReportingCondition) EnumDescriptor() ([]byte, []int) { |
| 70 | return fileDescriptor_fb43b44b7fa3aba9, []int{1, 1} |
| 71 | } |
| 72 | |
| 73 | type AlarmConfig struct { |
| 74 | // Types that are valid to be assigned to Config: |
| 75 | // *AlarmConfig_OnuItuPonAlarmConfig |
| 76 | Config isAlarmConfig_Config `protobuf_oneof:"config"` |
| 77 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 78 | XXX_unrecognized []byte `json:"-"` |
| 79 | XXX_sizecache int32 `json:"-"` |
| 80 | } |
| 81 | |
| 82 | func (m *AlarmConfig) Reset() { *m = AlarmConfig{} } |
| 83 | func (m *AlarmConfig) String() string { return proto.CompactTextString(m) } |
| 84 | func (*AlarmConfig) ProtoMessage() {} |
| 85 | func (*AlarmConfig) Descriptor() ([]byte, []int) { |
| 86 | return fileDescriptor_fb43b44b7fa3aba9, []int{0} |
| 87 | } |
| 88 | |
| 89 | func (m *AlarmConfig) XXX_Unmarshal(b []byte) error { |
| 90 | return xxx_messageInfo_AlarmConfig.Unmarshal(m, b) |
| 91 | } |
| 92 | func (m *AlarmConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 93 | return xxx_messageInfo_AlarmConfig.Marshal(b, m, deterministic) |
| 94 | } |
| 95 | func (m *AlarmConfig) XXX_Merge(src proto.Message) { |
| 96 | xxx_messageInfo_AlarmConfig.Merge(m, src) |
| 97 | } |
| 98 | func (m *AlarmConfig) XXX_Size() int { |
| 99 | return xxx_messageInfo_AlarmConfig.Size(m) |
| 100 | } |
| 101 | func (m *AlarmConfig) XXX_DiscardUnknown() { |
| 102 | xxx_messageInfo_AlarmConfig.DiscardUnknown(m) |
| 103 | } |
| 104 | |
| 105 | var xxx_messageInfo_AlarmConfig proto.InternalMessageInfo |
| 106 | |
| 107 | type isAlarmConfig_Config interface { |
| 108 | isAlarmConfig_Config() |
| 109 | } |
| 110 | |
| 111 | type AlarmConfig_OnuItuPonAlarmConfig struct { |
| 112 | OnuItuPonAlarmConfig *OnuItuPonAlarm `protobuf:"bytes,1,opt,name=onu_itu_pon_alarm_config,json=onuItuPonAlarmConfig,proto3,oneof"` |
| 113 | } |
| 114 | |
| 115 | func (*AlarmConfig_OnuItuPonAlarmConfig) isAlarmConfig_Config() {} |
| 116 | |
| 117 | func (m *AlarmConfig) GetConfig() isAlarmConfig_Config { |
| 118 | if m != nil { |
| 119 | return m.Config |
| 120 | } |
| 121 | return nil |
| 122 | } |
| 123 | |
| 124 | func (m *AlarmConfig) GetOnuItuPonAlarmConfig() *OnuItuPonAlarm { |
| 125 | if x, ok := m.GetConfig().(*AlarmConfig_OnuItuPonAlarmConfig); ok { |
| 126 | return x.OnuItuPonAlarmConfig |
| 127 | } |
| 128 | return nil |
| 129 | } |
| 130 | |
| 131 | // XXX_OneofWrappers is for the internal use of the proto package. |
| 132 | func (*AlarmConfig) XXX_OneofWrappers() []interface{} { |
| 133 | return []interface{}{ |
| 134 | (*AlarmConfig_OnuItuPonAlarmConfig)(nil), |
| 135 | } |
| 136 | } |
| 137 | |
| 138 | type OnuItuPonAlarm struct { |
| 139 | PonNi uint32 `protobuf:"fixed32,1,opt,name=pon_ni,json=ponNi,proto3" json:"pon_ni,omitempty"` |
| 140 | OnuId uint32 `protobuf:"fixed32,2,opt,name=onu_id,json=onuId,proto3" json:"onu_id,omitempty"` |
| 141 | AlarmId OnuItuPonAlarm_AlarmID `protobuf:"varint,3,opt,name=alarm_id,json=alarmId,proto3,enum=config.OnuItuPonAlarm_AlarmID" json:"alarm_id,omitempty"` |
| 142 | AlarmReportingCondition OnuItuPonAlarm_AlarmReportingCondition `protobuf:"varint,4,opt,name=alarm_reporting_condition,json=alarmReportingCondition,proto3,enum=config.OnuItuPonAlarm_AlarmReportingCondition" json:"alarm_reporting_condition,omitempty"` |
| 143 | // Types that are valid to be assigned to Config: |
| 144 | // *OnuItuPonAlarm_RateThresholdConfig_ |
| 145 | // *OnuItuPonAlarm_RateRangeConfig_ |
| 146 | // *OnuItuPonAlarm_ValueThresholdConfig_ |
| 147 | Config isOnuItuPonAlarm_Config `protobuf_oneof:"config"` |
| 148 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 149 | XXX_unrecognized []byte `json:"-"` |
| 150 | XXX_sizecache int32 `json:"-"` |
| 151 | } |
| 152 | |
| 153 | func (m *OnuItuPonAlarm) Reset() { *m = OnuItuPonAlarm{} } |
| 154 | func (m *OnuItuPonAlarm) String() string { return proto.CompactTextString(m) } |
| 155 | func (*OnuItuPonAlarm) ProtoMessage() {} |
| 156 | func (*OnuItuPonAlarm) Descriptor() ([]byte, []int) { |
| 157 | return fileDescriptor_fb43b44b7fa3aba9, []int{1} |
| 158 | } |
| 159 | |
| 160 | func (m *OnuItuPonAlarm) XXX_Unmarshal(b []byte) error { |
| 161 | return xxx_messageInfo_OnuItuPonAlarm.Unmarshal(m, b) |
| 162 | } |
| 163 | func (m *OnuItuPonAlarm) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 164 | return xxx_messageInfo_OnuItuPonAlarm.Marshal(b, m, deterministic) |
| 165 | } |
| 166 | func (m *OnuItuPonAlarm) XXX_Merge(src proto.Message) { |
| 167 | xxx_messageInfo_OnuItuPonAlarm.Merge(m, src) |
| 168 | } |
| 169 | func (m *OnuItuPonAlarm) XXX_Size() int { |
| 170 | return xxx_messageInfo_OnuItuPonAlarm.Size(m) |
| 171 | } |
| 172 | func (m *OnuItuPonAlarm) XXX_DiscardUnknown() { |
| 173 | xxx_messageInfo_OnuItuPonAlarm.DiscardUnknown(m) |
| 174 | } |
| 175 | |
| 176 | var xxx_messageInfo_OnuItuPonAlarm proto.InternalMessageInfo |
| 177 | |
| 178 | func (m *OnuItuPonAlarm) GetPonNi() uint32 { |
| 179 | if m != nil { |
| 180 | return m.PonNi |
| 181 | } |
| 182 | return 0 |
| 183 | } |
| 184 | |
| 185 | func (m *OnuItuPonAlarm) GetOnuId() uint32 { |
| 186 | if m != nil { |
| 187 | return m.OnuId |
| 188 | } |
| 189 | return 0 |
| 190 | } |
| 191 | |
| 192 | func (m *OnuItuPonAlarm) GetAlarmId() OnuItuPonAlarm_AlarmID { |
| 193 | if m != nil { |
| 194 | return m.AlarmId |
| 195 | } |
| 196 | return OnuItuPonAlarm_RDI_ERRORS |
| 197 | } |
| 198 | |
| 199 | func (m *OnuItuPonAlarm) GetAlarmReportingCondition() OnuItuPonAlarm_AlarmReportingCondition { |
| 200 | if m != nil { |
| 201 | return m.AlarmReportingCondition |
| 202 | } |
| 203 | return OnuItuPonAlarm_RATE_THRESHOLD |
| 204 | } |
| 205 | |
| 206 | type isOnuItuPonAlarm_Config interface { |
| 207 | isOnuItuPonAlarm_Config() |
| 208 | } |
| 209 | |
| 210 | type OnuItuPonAlarm_RateThresholdConfig_ struct { |
| 211 | RateThresholdConfig *OnuItuPonAlarm_RateThresholdConfig `protobuf:"bytes,5,opt,name=rate_threshold_config,json=rateThresholdConfig,proto3,oneof"` |
| 212 | } |
| 213 | |
| 214 | type OnuItuPonAlarm_RateRangeConfig_ struct { |
| 215 | RateRangeConfig *OnuItuPonAlarm_RateRangeConfig `protobuf:"bytes,6,opt,name=rate_range_config,json=rateRangeConfig,proto3,oneof"` |
| 216 | } |
| 217 | |
| 218 | type OnuItuPonAlarm_ValueThresholdConfig_ struct { |
| 219 | ValueThresholdConfig *OnuItuPonAlarm_ValueThresholdConfig `protobuf:"bytes,7,opt,name=value_threshold_config,json=valueThresholdConfig,proto3,oneof"` |
| 220 | } |
| 221 | |
| 222 | func (*OnuItuPonAlarm_RateThresholdConfig_) isOnuItuPonAlarm_Config() {} |
| 223 | |
| 224 | func (*OnuItuPonAlarm_RateRangeConfig_) isOnuItuPonAlarm_Config() {} |
| 225 | |
| 226 | func (*OnuItuPonAlarm_ValueThresholdConfig_) isOnuItuPonAlarm_Config() {} |
| 227 | |
| 228 | func (m *OnuItuPonAlarm) GetConfig() isOnuItuPonAlarm_Config { |
| 229 | if m != nil { |
| 230 | return m.Config |
| 231 | } |
| 232 | return nil |
| 233 | } |
| 234 | |
| 235 | func (m *OnuItuPonAlarm) GetRateThresholdConfig() *OnuItuPonAlarm_RateThresholdConfig { |
| 236 | if x, ok := m.GetConfig().(*OnuItuPonAlarm_RateThresholdConfig_); ok { |
| 237 | return x.RateThresholdConfig |
| 238 | } |
| 239 | return nil |
| 240 | } |
| 241 | |
| 242 | func (m *OnuItuPonAlarm) GetRateRangeConfig() *OnuItuPonAlarm_RateRangeConfig { |
| 243 | if x, ok := m.GetConfig().(*OnuItuPonAlarm_RateRangeConfig_); ok { |
| 244 | return x.RateRangeConfig |
| 245 | } |
| 246 | return nil |
| 247 | } |
| 248 | |
| 249 | func (m *OnuItuPonAlarm) GetValueThresholdConfig() *OnuItuPonAlarm_ValueThresholdConfig { |
| 250 | if x, ok := m.GetConfig().(*OnuItuPonAlarm_ValueThresholdConfig_); ok { |
| 251 | return x.ValueThresholdConfig |
| 252 | } |
| 253 | return nil |
| 254 | } |
| 255 | |
| 256 | // XXX_OneofWrappers is for the internal use of the proto package. |
| 257 | func (*OnuItuPonAlarm) XXX_OneofWrappers() []interface{} { |
| 258 | return []interface{}{ |
| 259 | (*OnuItuPonAlarm_RateThresholdConfig_)(nil), |
| 260 | (*OnuItuPonAlarm_RateRangeConfig_)(nil), |
| 261 | (*OnuItuPonAlarm_ValueThresholdConfig_)(nil), |
| 262 | } |
| 263 | } |
| 264 | |
| 265 | type OnuItuPonAlarm_SoakTime struct { |
| 266 | ActiveSoakTime uint32 `protobuf:"fixed32,1,opt,name=active_soak_time,json=activeSoakTime,proto3" json:"active_soak_time,omitempty"` |
| 267 | ClearSoakTime uint32 `protobuf:"fixed32,2,opt,name=clear_soak_time,json=clearSoakTime,proto3" json:"clear_soak_time,omitempty"` |
| 268 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 269 | XXX_unrecognized []byte `json:"-"` |
| 270 | XXX_sizecache int32 `json:"-"` |
| 271 | } |
| 272 | |
| 273 | func (m *OnuItuPonAlarm_SoakTime) Reset() { *m = OnuItuPonAlarm_SoakTime{} } |
| 274 | func (m *OnuItuPonAlarm_SoakTime) String() string { return proto.CompactTextString(m) } |
| 275 | func (*OnuItuPonAlarm_SoakTime) ProtoMessage() {} |
| 276 | func (*OnuItuPonAlarm_SoakTime) Descriptor() ([]byte, []int) { |
| 277 | return fileDescriptor_fb43b44b7fa3aba9, []int{1, 0} |
| 278 | } |
| 279 | |
| 280 | func (m *OnuItuPonAlarm_SoakTime) XXX_Unmarshal(b []byte) error { |
| 281 | return xxx_messageInfo_OnuItuPonAlarm_SoakTime.Unmarshal(m, b) |
| 282 | } |
| 283 | func (m *OnuItuPonAlarm_SoakTime) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 284 | return xxx_messageInfo_OnuItuPonAlarm_SoakTime.Marshal(b, m, deterministic) |
| 285 | } |
| 286 | func (m *OnuItuPonAlarm_SoakTime) XXX_Merge(src proto.Message) { |
| 287 | xxx_messageInfo_OnuItuPonAlarm_SoakTime.Merge(m, src) |
| 288 | } |
| 289 | func (m *OnuItuPonAlarm_SoakTime) XXX_Size() int { |
| 290 | return xxx_messageInfo_OnuItuPonAlarm_SoakTime.Size(m) |
| 291 | } |
| 292 | func (m *OnuItuPonAlarm_SoakTime) XXX_DiscardUnknown() { |
| 293 | xxx_messageInfo_OnuItuPonAlarm_SoakTime.DiscardUnknown(m) |
| 294 | } |
| 295 | |
| 296 | var xxx_messageInfo_OnuItuPonAlarm_SoakTime proto.InternalMessageInfo |
| 297 | |
| 298 | func (m *OnuItuPonAlarm_SoakTime) GetActiveSoakTime() uint32 { |
| 299 | if m != nil { |
| 300 | return m.ActiveSoakTime |
| 301 | } |
| 302 | return 0 |
| 303 | } |
| 304 | |
| 305 | func (m *OnuItuPonAlarm_SoakTime) GetClearSoakTime() uint32 { |
| 306 | if m != nil { |
| 307 | return m.ClearSoakTime |
| 308 | } |
| 309 | return 0 |
| 310 | } |
| 311 | |
| 312 | type OnuItuPonAlarm_RateThresholdConfig struct { |
| 313 | RateThresholdRising uint64 `protobuf:"fixed64,1,opt,name=rate_threshold_rising,json=rateThresholdRising,proto3" json:"rate_threshold_rising,omitempty"` |
| 314 | RateThresholdFalling uint64 `protobuf:"fixed64,2,opt,name=rate_threshold_falling,json=rateThresholdFalling,proto3" json:"rate_threshold_falling,omitempty"` |
| 315 | SoakTime *OnuItuPonAlarm_SoakTime `protobuf:"bytes,3,opt,name=soak_time,json=soakTime,proto3" json:"soak_time,omitempty"` |
| 316 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 317 | XXX_unrecognized []byte `json:"-"` |
| 318 | XXX_sizecache int32 `json:"-"` |
| 319 | } |
| 320 | |
| 321 | func (m *OnuItuPonAlarm_RateThresholdConfig) Reset() { *m = OnuItuPonAlarm_RateThresholdConfig{} } |
| 322 | func (m *OnuItuPonAlarm_RateThresholdConfig) String() string { return proto.CompactTextString(m) } |
| 323 | func (*OnuItuPonAlarm_RateThresholdConfig) ProtoMessage() {} |
| 324 | func (*OnuItuPonAlarm_RateThresholdConfig) Descriptor() ([]byte, []int) { |
| 325 | return fileDescriptor_fb43b44b7fa3aba9, []int{1, 1} |
| 326 | } |
| 327 | |
| 328 | func (m *OnuItuPonAlarm_RateThresholdConfig) XXX_Unmarshal(b []byte) error { |
| 329 | return xxx_messageInfo_OnuItuPonAlarm_RateThresholdConfig.Unmarshal(m, b) |
| 330 | } |
| 331 | func (m *OnuItuPonAlarm_RateThresholdConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 332 | return xxx_messageInfo_OnuItuPonAlarm_RateThresholdConfig.Marshal(b, m, deterministic) |
| 333 | } |
| 334 | func (m *OnuItuPonAlarm_RateThresholdConfig) XXX_Merge(src proto.Message) { |
| 335 | xxx_messageInfo_OnuItuPonAlarm_RateThresholdConfig.Merge(m, src) |
| 336 | } |
| 337 | func (m *OnuItuPonAlarm_RateThresholdConfig) XXX_Size() int { |
| 338 | return xxx_messageInfo_OnuItuPonAlarm_RateThresholdConfig.Size(m) |
| 339 | } |
| 340 | func (m *OnuItuPonAlarm_RateThresholdConfig) XXX_DiscardUnknown() { |
| 341 | xxx_messageInfo_OnuItuPonAlarm_RateThresholdConfig.DiscardUnknown(m) |
| 342 | } |
| 343 | |
| 344 | var xxx_messageInfo_OnuItuPonAlarm_RateThresholdConfig proto.InternalMessageInfo |
| 345 | |
| 346 | func (m *OnuItuPonAlarm_RateThresholdConfig) GetRateThresholdRising() uint64 { |
| 347 | if m != nil { |
| 348 | return m.RateThresholdRising |
| 349 | } |
| 350 | return 0 |
| 351 | } |
| 352 | |
| 353 | func (m *OnuItuPonAlarm_RateThresholdConfig) GetRateThresholdFalling() uint64 { |
| 354 | if m != nil { |
| 355 | return m.RateThresholdFalling |
| 356 | } |
| 357 | return 0 |
| 358 | } |
| 359 | |
| 360 | func (m *OnuItuPonAlarm_RateThresholdConfig) GetSoakTime() *OnuItuPonAlarm_SoakTime { |
| 361 | if m != nil { |
| 362 | return m.SoakTime |
| 363 | } |
| 364 | return nil |
| 365 | } |
| 366 | |
| 367 | type OnuItuPonAlarm_RateRangeConfig struct { |
| 368 | RateRangeLower uint64 `protobuf:"fixed64,1,opt,name=rate_range_lower,json=rateRangeLower,proto3" json:"rate_range_lower,omitempty"` |
| 369 | RateRangeUpper uint64 `protobuf:"fixed64,2,opt,name=rate_range_upper,json=rateRangeUpper,proto3" json:"rate_range_upper,omitempty"` |
| 370 | SoakTime *OnuItuPonAlarm_SoakTime `protobuf:"bytes,3,opt,name=soak_time,json=soakTime,proto3" json:"soak_time,omitempty"` |
| 371 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 372 | XXX_unrecognized []byte `json:"-"` |
| 373 | XXX_sizecache int32 `json:"-"` |
| 374 | } |
| 375 | |
| 376 | func (m *OnuItuPonAlarm_RateRangeConfig) Reset() { *m = OnuItuPonAlarm_RateRangeConfig{} } |
| 377 | func (m *OnuItuPonAlarm_RateRangeConfig) String() string { return proto.CompactTextString(m) } |
| 378 | func (*OnuItuPonAlarm_RateRangeConfig) ProtoMessage() {} |
| 379 | func (*OnuItuPonAlarm_RateRangeConfig) Descriptor() ([]byte, []int) { |
| 380 | return fileDescriptor_fb43b44b7fa3aba9, []int{1, 2} |
| 381 | } |
| 382 | |
| 383 | func (m *OnuItuPonAlarm_RateRangeConfig) XXX_Unmarshal(b []byte) error { |
| 384 | return xxx_messageInfo_OnuItuPonAlarm_RateRangeConfig.Unmarshal(m, b) |
| 385 | } |
| 386 | func (m *OnuItuPonAlarm_RateRangeConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 387 | return xxx_messageInfo_OnuItuPonAlarm_RateRangeConfig.Marshal(b, m, deterministic) |
| 388 | } |
| 389 | func (m *OnuItuPonAlarm_RateRangeConfig) XXX_Merge(src proto.Message) { |
| 390 | xxx_messageInfo_OnuItuPonAlarm_RateRangeConfig.Merge(m, src) |
| 391 | } |
| 392 | func (m *OnuItuPonAlarm_RateRangeConfig) XXX_Size() int { |
| 393 | return xxx_messageInfo_OnuItuPonAlarm_RateRangeConfig.Size(m) |
| 394 | } |
| 395 | func (m *OnuItuPonAlarm_RateRangeConfig) XXX_DiscardUnknown() { |
| 396 | xxx_messageInfo_OnuItuPonAlarm_RateRangeConfig.DiscardUnknown(m) |
| 397 | } |
| 398 | |
| 399 | var xxx_messageInfo_OnuItuPonAlarm_RateRangeConfig proto.InternalMessageInfo |
| 400 | |
| 401 | func (m *OnuItuPonAlarm_RateRangeConfig) GetRateRangeLower() uint64 { |
| 402 | if m != nil { |
| 403 | return m.RateRangeLower |
| 404 | } |
| 405 | return 0 |
| 406 | } |
| 407 | |
| 408 | func (m *OnuItuPonAlarm_RateRangeConfig) GetRateRangeUpper() uint64 { |
| 409 | if m != nil { |
| 410 | return m.RateRangeUpper |
| 411 | } |
| 412 | return 0 |
| 413 | } |
| 414 | |
| 415 | func (m *OnuItuPonAlarm_RateRangeConfig) GetSoakTime() *OnuItuPonAlarm_SoakTime { |
| 416 | if m != nil { |
| 417 | return m.SoakTime |
| 418 | } |
| 419 | return nil |
| 420 | } |
| 421 | |
| 422 | type OnuItuPonAlarm_ValueThresholdConfig struct { |
| 423 | ThresholdLimit uint64 `protobuf:"fixed64,1,opt,name=threshold_limit,json=thresholdLimit,proto3" json:"threshold_limit,omitempty"` |
| 424 | SoakTime *OnuItuPonAlarm_SoakTime `protobuf:"bytes,2,opt,name=soak_time,json=soakTime,proto3" json:"soak_time,omitempty"` |
| 425 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 426 | XXX_unrecognized []byte `json:"-"` |
| 427 | XXX_sizecache int32 `json:"-"` |
| 428 | } |
| 429 | |
| 430 | func (m *OnuItuPonAlarm_ValueThresholdConfig) Reset() { *m = OnuItuPonAlarm_ValueThresholdConfig{} } |
| 431 | func (m *OnuItuPonAlarm_ValueThresholdConfig) String() string { return proto.CompactTextString(m) } |
| 432 | func (*OnuItuPonAlarm_ValueThresholdConfig) ProtoMessage() {} |
| 433 | func (*OnuItuPonAlarm_ValueThresholdConfig) Descriptor() ([]byte, []int) { |
| 434 | return fileDescriptor_fb43b44b7fa3aba9, []int{1, 3} |
| 435 | } |
| 436 | |
| 437 | func (m *OnuItuPonAlarm_ValueThresholdConfig) XXX_Unmarshal(b []byte) error { |
| 438 | return xxx_messageInfo_OnuItuPonAlarm_ValueThresholdConfig.Unmarshal(m, b) |
| 439 | } |
| 440 | func (m *OnuItuPonAlarm_ValueThresholdConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 441 | return xxx_messageInfo_OnuItuPonAlarm_ValueThresholdConfig.Marshal(b, m, deterministic) |
| 442 | } |
| 443 | func (m *OnuItuPonAlarm_ValueThresholdConfig) XXX_Merge(src proto.Message) { |
| 444 | xxx_messageInfo_OnuItuPonAlarm_ValueThresholdConfig.Merge(m, src) |
| 445 | } |
| 446 | func (m *OnuItuPonAlarm_ValueThresholdConfig) XXX_Size() int { |
| 447 | return xxx_messageInfo_OnuItuPonAlarm_ValueThresholdConfig.Size(m) |
| 448 | } |
| 449 | func (m *OnuItuPonAlarm_ValueThresholdConfig) XXX_DiscardUnknown() { |
| 450 | xxx_messageInfo_OnuItuPonAlarm_ValueThresholdConfig.DiscardUnknown(m) |
| 451 | } |
| 452 | |
| 453 | var xxx_messageInfo_OnuItuPonAlarm_ValueThresholdConfig proto.InternalMessageInfo |
| 454 | |
| 455 | func (m *OnuItuPonAlarm_ValueThresholdConfig) GetThresholdLimit() uint64 { |
| 456 | if m != nil { |
| 457 | return m.ThresholdLimit |
| 458 | } |
| 459 | return 0 |
| 460 | } |
| 461 | |
| 462 | func (m *OnuItuPonAlarm_ValueThresholdConfig) GetSoakTime() *OnuItuPonAlarm_SoakTime { |
| 463 | if m != nil { |
| 464 | return m.SoakTime |
| 465 | } |
| 466 | return nil |
| 467 | } |
| 468 | |
| 469 | func init() { |
| 470 | proto.RegisterEnum("config.OnuItuPonAlarm_AlarmID", OnuItuPonAlarm_AlarmID_name, OnuItuPonAlarm_AlarmID_value) |
| 471 | proto.RegisterEnum("config.OnuItuPonAlarm_AlarmReportingCondition", OnuItuPonAlarm_AlarmReportingCondition_name, OnuItuPonAlarm_AlarmReportingCondition_value) |
| 472 | proto.RegisterType((*AlarmConfig)(nil), "config.AlarmConfig") |
| 473 | proto.RegisterType((*OnuItuPonAlarm)(nil), "config.OnuItuPonAlarm") |
| 474 | proto.RegisterType((*OnuItuPonAlarm_SoakTime)(nil), "config.OnuItuPonAlarm.SoakTime") |
| 475 | proto.RegisterType((*OnuItuPonAlarm_RateThresholdConfig)(nil), "config.OnuItuPonAlarm.RateThresholdConfig") |
| 476 | proto.RegisterType((*OnuItuPonAlarm_RateRangeConfig)(nil), "config.OnuItuPonAlarm.RateRangeConfig") |
| 477 | proto.RegisterType((*OnuItuPonAlarm_ValueThresholdConfig)(nil), "config.OnuItuPonAlarm.ValueThresholdConfig") |
| 478 | } |
| 479 | |
| 480 | func init() { proto.RegisterFile("voltha_protos/ext_config.proto", fileDescriptor_fb43b44b7fa3aba9) } |
| 481 | |
| 482 | var fileDescriptor_fb43b44b7fa3aba9 = []byte{ |
khenaidoo | 5fc5cea | 2021-08-11 17:39:16 -0400 | [diff] [blame] | 483 | // 610 bytes of a gzipped FileDescriptorProto |
| 484 | 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x54, 0xd1, 0x6e, 0x12, 0x41, |
| 485 | 0x14, 0x05, 0x6a, 0x81, 0xde, 0x46, 0xc0, 0x81, 0xb6, 0xb4, 0x0f, 0xb5, 0xe9, 0x43, 0x6d, 0x34, |
| 486 | 0x2e, 0x09, 0xea, 0x83, 0x89, 0x2f, 0xb4, 0x45, 0x21, 0x21, 0x6d, 0x33, 0xa5, 0x7d, 0x30, 0x26, |
| 487 | 0xeb, 0x94, 0x9d, 0x2e, 0x63, 0x97, 0x99, 0xcd, 0x30, 0x8b, 0xbe, 0xf8, 0x35, 0x7e, 0x87, 0x7e, |
| 488 | 0x9b, 0x99, 0x99, 0x5d, 0x28, 0xb0, 0x34, 0x31, 0xbe, 0x90, 0xec, 0xb9, 0xf7, 0x9c, 0x7b, 0x38, |
| 489 | 0x77, 0x66, 0x60, 0x7f, 0x22, 0x02, 0x35, 0x24, 0x6e, 0x28, 0x85, 0x12, 0xe3, 0x06, 0xfd, 0xa1, |
| 490 | 0xdc, 0x81, 0xe0, 0x77, 0xcc, 0x77, 0x0c, 0x82, 0xf2, 0xf6, 0xeb, 0x90, 0xc1, 0x66, 0x2b, 0x20, |
| 491 | 0x72, 0x74, 0x6a, 0x3e, 0xd1, 0x25, 0xd4, 0x05, 0x8f, 0x5c, 0xa6, 0x22, 0x37, 0x14, 0xdc, 0x25, |
| 492 | 0xba, 0x14, 0x13, 0xeb, 0xd9, 0x83, 0xec, 0xf1, 0x66, 0x73, 0xdb, 0x89, 0x75, 0x2e, 0x78, 0xd4, |
| 493 | 0x55, 0xd1, 0xa5, 0xe0, 0x86, 0xdf, 0xc9, 0xe0, 0x9a, 0x98, 0x43, 0xac, 0xe2, 0x49, 0x11, 0x92, |
| 494 | 0x51, 0x7f, 0x36, 0xa0, 0x34, 0x4f, 0x42, 0x5b, 0x90, 0xd7, 0x63, 0x38, 0x33, 0xe2, 0x05, 0xbc, |
| 495 | 0x1e, 0x0a, 0x7e, 0xce, 0x34, 0x6c, 0x5c, 0x78, 0xf5, 0x9c, 0x85, 0xb5, 0xb2, 0x87, 0xde, 0x43, |
| 496 | 0xd1, 0x1a, 0x62, 0x5e, 0x7d, 0xed, 0x20, 0x7b, 0x5c, 0x6a, 0xee, 0xa7, 0x9b, 0x71, 0xcc, 0x6f, |
| 497 | 0xf7, 0x0c, 0x17, 0x4c, 0x7f, 0xd7, 0x43, 0xdf, 0x60, 0xd7, 0x52, 0x25, 0x0d, 0x85, 0x54, 0x8c, |
| 498 | 0xfb, 0xfa, 0x5f, 0x79, 0x4c, 0x31, 0xc1, 0xeb, 0x4f, 0x8c, 0x96, 0xf3, 0x98, 0x16, 0x4e, 0x68, |
| 499 | 0xa7, 0x09, 0x0b, 0xef, 0x90, 0xf4, 0x02, 0xfa, 0x0a, 0x5b, 0x92, 0x28, 0xea, 0xaa, 0xa1, 0xa4, |
| 500 | 0xe3, 0xa1, 0x08, 0xbc, 0x24, 0xc0, 0x75, 0x13, 0xe0, 0xcb, 0x15, 0x73, 0x30, 0x51, 0xb4, 0x9f, |
| 501 | 0x50, 0x6c, 0x78, 0x9d, 0x0c, 0xae, 0xca, 0x65, 0x18, 0xf5, 0xe1, 0x99, 0x99, 0x20, 0x09, 0xf7, |
| 502 | 0x69, 0xa2, 0x9e, 0x37, 0xea, 0x47, 0x8f, 0xa8, 0x63, 0xdd, 0x3e, 0x55, 0x2e, 0xcb, 0x79, 0x08, |
| 503 | 0x0d, 0x60, 0x7b, 0x42, 0x82, 0x28, 0xc5, 0x78, 0xc1, 0x48, 0xbf, 0x5a, 0x21, 0x7d, 0xa3, 0x49, |
| 504 | 0xcb, 0xce, 0x6b, 0x93, 0x14, 0x7c, 0xef, 0x0b, 0x14, 0xaf, 0x04, 0xb9, 0xef, 0xb3, 0x11, 0x45, |
| 505 | 0xc7, 0x50, 0x21, 0x03, 0xc5, 0x26, 0xd4, 0x1d, 0x0b, 0x72, 0xef, 0x2a, 0x36, 0xa2, 0xf1, 0x39, |
| 506 | 0x28, 0x59, 0x7c, 0xda, 0x79, 0x04, 0xe5, 0x41, 0x40, 0x89, 0x7c, 0xd0, 0x68, 0x4f, 0xc6, 0x53, |
| 507 | 0x03, 0x27, 0x7d, 0x7b, 0xbf, 0xb3, 0x50, 0x4d, 0xc9, 0x11, 0x35, 0x97, 0x56, 0x22, 0xd9, 0x98, |
| 508 | 0x71, 0x7b, 0xa6, 0xf3, 0x0b, 0x21, 0x63, 0x53, 0x42, 0x6f, 0x61, 0x7b, 0x81, 0x73, 0x47, 0x82, |
| 509 | 0x40, 0x93, 0x72, 0x86, 0x54, 0x9b, 0x23, 0x7d, 0xb4, 0x35, 0xf4, 0x01, 0x36, 0x66, 0x1e, 0xd7, |
| 510 | 0x4c, 0x6e, 0xcf, 0x57, 0xe4, 0x96, 0xb8, 0xc6, 0xc5, 0x71, 0xe2, 0xff, 0x57, 0x16, 0xca, 0x0b, |
| 511 | 0x9b, 0xd2, 0x29, 0x3d, 0x58, 0x76, 0x20, 0xbe, 0x53, 0x19, 0xdb, 0x2e, 0x4d, 0x37, 0xd8, 0xd3, |
| 512 | 0xe8, 0x42, 0x67, 0x14, 0x86, 0x54, 0xc6, 0x5e, 0x67, 0x9d, 0xd7, 0x1a, 0xfd, 0x4f, 0x97, 0x3f, |
| 513 | 0xa1, 0x96, 0xb6, 0x73, 0xf4, 0x02, 0xca, 0xb3, 0xb0, 0x02, 0x36, 0x62, 0x2a, 0x31, 0x3a, 0x85, |
| 514 | 0x7b, 0x1a, 0x9d, 0x1f, 0x9f, 0xfb, 0xc7, 0xf1, 0x87, 0xbb, 0x50, 0x88, 0xef, 0x37, 0x2a, 0x01, |
| 515 | 0xe0, 0xb3, 0xae, 0xdb, 0xc6, 0xf8, 0x02, 0x5f, 0x55, 0x32, 0x87, 0x18, 0x76, 0x56, 0x5c, 0x57, |
| 516 | 0x84, 0xa0, 0x84, 0x5b, 0xfd, 0xb6, 0xdb, 0xef, 0xe0, 0xf6, 0x55, 0xe7, 0xa2, 0x77, 0x56, 0xc9, |
| 517 | 0x18, 0xba, 0xc6, 0x70, 0xeb, 0xfc, 0x53, 0xbb, 0x92, 0x45, 0x55, 0x28, 0xdf, 0xb4, 0x7a, 0xd7, |
| 518 | 0x0f, 0x9b, 0x72, 0xb3, 0x07, 0xec, 0xa4, 0x0b, 0x55, 0x21, 0x7d, 0x47, 0x84, 0x94, 0x0f, 0x84, |
| 519 | 0xf4, 0x1c, 0xfb, 0xc4, 0x7e, 0x6e, 0xfa, 0x4c, 0x0d, 0xa3, 0x5b, 0x67, 0x20, 0x46, 0x8d, 0xa4, |
| 520 | 0xd6, 0xb0, 0xb5, 0xd7, 0xf1, 0xf3, 0x3b, 0x79, 0xd7, 0xf0, 0x85, 0x7e, 0x84, 0x1b, 0x56, 0xea, |
| 521 | 0x36, 0x6f, 0x0a, 0x6f, 0xfe, 0x06, 0x00, 0x00, 0xff, 0xff, 0x36, 0x9d, 0x64, 0x93, 0xa7, 0x05, |
| 522 | 0x00, 0x00, |
dpaul | 2b52e71 | 2020-06-23 13:02:28 +0530 | [diff] [blame] | 523 | } |