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{ |
| 483 | // 609 bytes of a gzipped FileDescriptorProto |
| 484 | 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x54, 0xd1, 0x4e, 0x1a, 0x41, |
| 485 | 0x14, 0x05, 0xac, 0x80, 0xd7, 0x14, 0xe8, 0x80, 0x8a, 0x3e, 0x58, 0xe3, 0x83, 0x35, 0x6d, 0xba, |
| 486 | 0x24, 0xd8, 0x97, 0x26, 0x7d, 0x41, 0xa5, 0x85, 0x84, 0xa8, 0x19, 0xd1, 0x87, 0xa6, 0xc9, 0x76, |
| 487 | 0x64, 0xc7, 0x65, 0xea, 0x32, 0xb3, 0x19, 0x66, 0x69, 0x5f, 0xfa, 0x35, 0xfd, 0x8e, 0xf6, 0xdb, |
| 488 | 0x9a, 0x99, 0xd9, 0x05, 0x81, 0xc5, 0xa4, 0xe9, 0x0b, 0xc9, 0x9e, 0x7b, 0xcf, 0xb9, 0x87, 0x73, |
| 489 | 0x67, 0x06, 0xf6, 0x27, 0x22, 0x50, 0x43, 0xe2, 0x86, 0x52, 0x28, 0x31, 0x6e, 0xd0, 0x1f, 0xca, |
| 490 | 0x1d, 0x08, 0x7e, 0xcf, 0x7c, 0xc7, 0x20, 0x28, 0x6f, 0xbf, 0x0e, 0x19, 0x6c, 0xb6, 0x02, 0x22, |
| 491 | 0x47, 0x67, 0xe6, 0x13, 0x5d, 0x41, 0x5d, 0xf0, 0xc8, 0x65, 0x2a, 0x72, 0x43, 0xc1, 0x5d, 0xa2, |
| 492 | 0x4b, 0x31, 0xb1, 0x9e, 0x3d, 0xc8, 0x1e, 0x6f, 0x36, 0xb7, 0x9d, 0x58, 0xe7, 0x92, 0x47, 0x5d, |
| 493 | 0x15, 0x5d, 0x09, 0x6e, 0xf8, 0x9d, 0x0c, 0xae, 0x89, 0x39, 0xc4, 0x2a, 0x9e, 0x16, 0x21, 0x19, |
| 494 | 0xf5, 0x67, 0x03, 0x4a, 0xf3, 0x24, 0xb4, 0x05, 0x79, 0x3d, 0x86, 0x33, 0x23, 0x5e, 0xc0, 0xeb, |
| 495 | 0xa1, 0xe0, 0x17, 0x4c, 0xc3, 0xc6, 0x85, 0x57, 0xcf, 0x59, 0x58, 0x2b, 0x7b, 0xe8, 0x3d, 0x14, |
| 496 | 0xad, 0x21, 0xe6, 0xd5, 0xd7, 0x0e, 0xb2, 0xc7, 0xa5, 0xe6, 0x7e, 0xba, 0x19, 0xc7, 0xfc, 0x76, |
| 497 | 0xcf, 0x71, 0xc1, 0xf4, 0x77, 0x3d, 0xf4, 0x0d, 0x76, 0x2d, 0x55, 0xd2, 0x50, 0x48, 0xc5, 0xb8, |
| 498 | 0xaf, 0xff, 0x95, 0xc7, 0x14, 0x13, 0xbc, 0xfe, 0xcc, 0x68, 0x39, 0x4f, 0x69, 0xe1, 0x84, 0x76, |
| 499 | 0x96, 0xb0, 0xf0, 0x0e, 0x49, 0x2f, 0xa0, 0xaf, 0xb0, 0x25, 0x89, 0xa2, 0xae, 0x1a, 0x4a, 0x3a, |
| 500 | 0x1e, 0x8a, 0xc0, 0x4b, 0x02, 0x5c, 0x37, 0x01, 0xbe, 0x5e, 0x31, 0x07, 0x13, 0x45, 0xfb, 0x09, |
| 501 | 0xc5, 0x86, 0xd7, 0xc9, 0xe0, 0xaa, 0x5c, 0x86, 0x51, 0x1f, 0x5e, 0x98, 0x09, 0x92, 0x70, 0x9f, |
| 502 | 0x26, 0xea, 0x79, 0xa3, 0x7e, 0xf4, 0x84, 0x3a, 0xd6, 0xed, 0x53, 0xe5, 0xb2, 0x9c, 0x87, 0xd0, |
| 503 | 0x00, 0xb6, 0x27, 0x24, 0x88, 0x52, 0x8c, 0x17, 0x8c, 0xf4, 0x9b, 0x15, 0xd2, 0xb7, 0x9a, 0xb4, |
| 504 | 0xec, 0xbc, 0x36, 0x49, 0xc1, 0xf7, 0xbe, 0x40, 0xf1, 0x5a, 0x90, 0x87, 0x3e, 0x1b, 0x51, 0x74, |
| 505 | 0x0c, 0x15, 0x32, 0x50, 0x6c, 0x42, 0xdd, 0xb1, 0x20, 0x0f, 0xae, 0x62, 0x23, 0x1a, 0x9f, 0x83, |
| 506 | 0x92, 0xc5, 0xa7, 0x9d, 0x47, 0x50, 0x1e, 0x04, 0x94, 0xc8, 0x47, 0x8d, 0xf6, 0x64, 0x3c, 0x37, |
| 507 | 0x70, 0xd2, 0xb7, 0xf7, 0x3b, 0x0b, 0xd5, 0x94, 0x1c, 0x51, 0x73, 0x69, 0x25, 0x92, 0x8d, 0x19, |
| 508 | 0xb7, 0x67, 0x3a, 0xbf, 0x10, 0x32, 0x36, 0x25, 0xf4, 0x0e, 0xb6, 0x17, 0x38, 0xf7, 0x24, 0x08, |
| 509 | 0x34, 0x29, 0x67, 0x48, 0xb5, 0x39, 0xd2, 0x47, 0x5b, 0x43, 0x1f, 0x60, 0x63, 0xe6, 0x71, 0xcd, |
| 510 | 0xe4, 0xf6, 0x72, 0x45, 0x6e, 0x89, 0x6b, 0x5c, 0x1c, 0x27, 0xfe, 0x7f, 0x65, 0xa1, 0xbc, 0xb0, |
| 511 | 0x29, 0x9d, 0xd2, 0xa3, 0x65, 0x07, 0xe2, 0x3b, 0x95, 0xb1, 0xed, 0xd2, 0x74, 0x83, 0x3d, 0x8d, |
| 512 | 0x2e, 0x74, 0x46, 0x61, 0x48, 0x65, 0xec, 0x75, 0xd6, 0x79, 0xa3, 0xd1, 0xff, 0x74, 0xf9, 0x13, |
| 513 | 0x6a, 0x69, 0x3b, 0x47, 0xaf, 0xa0, 0x3c, 0x0b, 0x2b, 0x60, 0x23, 0xa6, 0x12, 0xa3, 0x53, 0xb8, |
| 514 | 0xa7, 0xd1, 0xf9, 0xf1, 0xb9, 0x7f, 0x1c, 0x7f, 0xb8, 0x0b, 0x85, 0xf8, 0x7e, 0xa3, 0x12, 0x00, |
| 515 | 0x3e, 0xef, 0xba, 0x6d, 0x8c, 0x2f, 0xf1, 0x75, 0x25, 0x73, 0x88, 0x61, 0x67, 0xc5, 0x75, 0x45, |
| 516 | 0x08, 0x4a, 0xb8, 0xd5, 0x6f, 0xbb, 0xfd, 0x0e, 0x6e, 0x5f, 0x77, 0x2e, 0x7b, 0xe7, 0x95, 0x8c, |
| 517 | 0xa1, 0x6b, 0x0c, 0xb7, 0x2e, 0x3e, 0xb5, 0x2b, 0x59, 0x54, 0x85, 0xf2, 0x6d, 0xab, 0x77, 0xf3, |
| 518 | 0xb8, 0x29, 0x37, 0x7b, 0xc0, 0x4e, 0xbb, 0x50, 0x15, 0xd2, 0x77, 0x44, 0x48, 0xf9, 0x40, 0x48, |
| 519 | 0xcf, 0xb1, 0x4f, 0xec, 0xe7, 0xa6, 0xcf, 0xd4, 0x30, 0xba, 0x73, 0x06, 0x62, 0xd4, 0x48, 0x6a, |
| 520 | 0x0d, 0x5b, 0x7b, 0x1b, 0x3f, 0xbf, 0x93, 0x93, 0x86, 0x2f, 0xf4, 0x23, 0xdc, 0xb0, 0x52, 0x77, |
| 521 | 0x79, 0x53, 0x38, 0xf9, 0x1b, 0x00, 0x00, 0xff, 0xff, 0x4c, 0xef, 0xae, 0x7e, 0xa7, 0x05, 0x00, |
| 522 | 0x00, |
| 523 | } |