# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: voltha_protos/ext_config.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()




DESCRIPTOR = _descriptor.FileDescriptor(
  name='voltha_protos/ext_config.proto',
  package='config',
  syntax='proto3',
  serialized_options=b'\n\023org.opencord.volthaZ2github.com/opencord/voltha-protos/v4/go/ext/config',
  create_key=_descriptor._internal_create_key,
  serialized_pb=b'\n\x1evoltha_protos/ext_config.proto\x12\x06\x63onfig\"S\n\x0b\x41larmConfig\x12:\n\x18onu_itu_pon_alarm_config\x18\x01 \x01(\x0b\x32\x16.config.OnuItuPonAlarmH\x00\x42\x08\n\x06\x63onfig\"\xb9\x07\n\x0eOnuItuPonAlarm\x12\x0e\n\x06pon_ni\x18\x01 \x01(\x07\x12\x0e\n\x06onu_id\x18\x02 \x01(\x07\x12\x30\n\x08\x61larm_id\x18\x03 \x01(\x0e\x32\x1e.config.OnuItuPonAlarm.AlarmID\x12Q\n\x19\x61larm_reporting_condition\x18\x04 \x01(\x0e\x32..config.OnuItuPonAlarm.AlarmReportingCondition\x12K\n\x15rate_threshold_config\x18\x05 \x01(\x0b\x32*.config.OnuItuPonAlarm.RateThresholdConfigH\x00\x12\x43\n\x11rate_range_config\x18\x06 \x01(\x0b\x32&.config.OnuItuPonAlarm.RateRangeConfigH\x00\x12M\n\x16value_threshold_config\x18\x07 \x01(\x0b\x32+.config.OnuItuPonAlarm.ValueThresholdConfigH\x00\x1a=\n\x08SoakTime\x12\x18\n\x10\x61\x63tive_soak_time\x18\x01 \x01(\x07\x12\x17\n\x0f\x63lear_soak_time\x18\x02 \x01(\x07\x1a\x88\x01\n\x13RateThresholdConfig\x12\x1d\n\x15rate_threshold_rising\x18\x01 \x01(\x06\x12\x1e\n\x16rate_threshold_falling\x18\x02 \x01(\x06\x12\x32\n\tsoak_time\x18\x03 \x01(\x0b\x32\x1f.config.OnuItuPonAlarm.SoakTime\x1ay\n\x0fRateRangeConfig\x12\x18\n\x10rate_range_lower\x18\x01 \x01(\x06\x12\x18\n\x10rate_range_upper\x18\x02 \x01(\x06\x12\x32\n\tsoak_time\x18\x03 \x01(\x0b\x32\x1f.config.OnuItuPonAlarm.SoakTime\x1a\x63\n\x14ValueThresholdConfig\x12\x17\n\x0fthreshold_limit\x18\x01 \x01(\x06\x12\x32\n\tsoak_time\x18\x02 \x01(\x0b\x32\x1f.config.OnuItuPonAlarm.SoakTime\"\x19\n\x07\x41larmID\x12\x0e\n\nRDI_ERRORS\x10\x00\"R\n\x17\x41larmReportingCondition\x12\x12\n\x0eRATE_THRESHOLD\x10\x00\x12\x0e\n\nRATE_RANGE\x10\x01\x12\x13\n\x0fVALUE_THRESHOLD\x10\x02\x42\x08\n\x06\x63onfigBI\n\x13org.opencord.volthaZ2github.com/opencord/voltha-protos/v4/go/ext/configb\x06proto3'
)



_ONUITUPONALARM_ALARMID = _descriptor.EnumDescriptor(
  name='AlarmID',
  full_name='config.OnuItuPonAlarm.AlarmID',
  filename=None,
  file=DESCRIPTOR,
  create_key=_descriptor._internal_create_key,
  values=[
    _descriptor.EnumValueDescriptor(
      name='RDI_ERRORS', index=0, number=0,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
  ],
  containing_type=None,
  serialized_options=None,
  serialized_start=962,
  serialized_end=987,
)
_sym_db.RegisterEnumDescriptor(_ONUITUPONALARM_ALARMID)

_ONUITUPONALARM_ALARMREPORTINGCONDITION = _descriptor.EnumDescriptor(
  name='AlarmReportingCondition',
  full_name='config.OnuItuPonAlarm.AlarmReportingCondition',
  filename=None,
  file=DESCRIPTOR,
  create_key=_descriptor._internal_create_key,
  values=[
    _descriptor.EnumValueDescriptor(
      name='RATE_THRESHOLD', index=0, number=0,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='RATE_RANGE', index=1, number=1,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='VALUE_THRESHOLD', index=2, number=2,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
  ],
  containing_type=None,
  serialized_options=None,
  serialized_start=989,
  serialized_end=1071,
)
_sym_db.RegisterEnumDescriptor(_ONUITUPONALARM_ALARMREPORTINGCONDITION)


_ALARMCONFIG = _descriptor.Descriptor(
  name='AlarmConfig',
  full_name='config.AlarmConfig',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='onu_itu_pon_alarm_config', full_name='config.AlarmConfig.onu_itu_pon_alarm_config', index=0,
      number=1, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
    _descriptor.OneofDescriptor(
      name='config', full_name='config.AlarmConfig.config',
      index=0, containing_type=None,
      create_key=_descriptor._internal_create_key,
    fields=[]),
  ],
  serialized_start=42,
  serialized_end=125,
)


_ONUITUPONALARM_SOAKTIME = _descriptor.Descriptor(
  name='SoakTime',
  full_name='config.OnuItuPonAlarm.SoakTime',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='active_soak_time', full_name='config.OnuItuPonAlarm.SoakTime.active_soak_time', index=0,
      number=1, type=7, cpp_type=3, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='clear_soak_time', full_name='config.OnuItuPonAlarm.SoakTime.clear_soak_time', index=1,
      number=2, type=7, cpp_type=3, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=536,
  serialized_end=597,
)

_ONUITUPONALARM_RATETHRESHOLDCONFIG = _descriptor.Descriptor(
  name='RateThresholdConfig',
  full_name='config.OnuItuPonAlarm.RateThresholdConfig',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='rate_threshold_rising', full_name='config.OnuItuPonAlarm.RateThresholdConfig.rate_threshold_rising', index=0,
      number=1, type=6, cpp_type=4, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='rate_threshold_falling', full_name='config.OnuItuPonAlarm.RateThresholdConfig.rate_threshold_falling', index=1,
      number=2, type=6, cpp_type=4, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='soak_time', full_name='config.OnuItuPonAlarm.RateThresholdConfig.soak_time', index=2,
      number=3, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=600,
  serialized_end=736,
)

_ONUITUPONALARM_RATERANGECONFIG = _descriptor.Descriptor(
  name='RateRangeConfig',
  full_name='config.OnuItuPonAlarm.RateRangeConfig',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='rate_range_lower', full_name='config.OnuItuPonAlarm.RateRangeConfig.rate_range_lower', index=0,
      number=1, type=6, cpp_type=4, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='rate_range_upper', full_name='config.OnuItuPonAlarm.RateRangeConfig.rate_range_upper', index=1,
      number=2, type=6, cpp_type=4, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='soak_time', full_name='config.OnuItuPonAlarm.RateRangeConfig.soak_time', index=2,
      number=3, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=738,
  serialized_end=859,
)

_ONUITUPONALARM_VALUETHRESHOLDCONFIG = _descriptor.Descriptor(
  name='ValueThresholdConfig',
  full_name='config.OnuItuPonAlarm.ValueThresholdConfig',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='threshold_limit', full_name='config.OnuItuPonAlarm.ValueThresholdConfig.threshold_limit', index=0,
      number=1, type=6, cpp_type=4, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='soak_time', full_name='config.OnuItuPonAlarm.ValueThresholdConfig.soak_time', index=1,
      number=2, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=861,
  serialized_end=960,
)

_ONUITUPONALARM = _descriptor.Descriptor(
  name='OnuItuPonAlarm',
  full_name='config.OnuItuPonAlarm',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='pon_ni', full_name='config.OnuItuPonAlarm.pon_ni', index=0,
      number=1, type=7, cpp_type=3, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='onu_id', full_name='config.OnuItuPonAlarm.onu_id', index=1,
      number=2, type=7, cpp_type=3, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='alarm_id', full_name='config.OnuItuPonAlarm.alarm_id', index=2,
      number=3, type=14, cpp_type=8, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='alarm_reporting_condition', full_name='config.OnuItuPonAlarm.alarm_reporting_condition', index=3,
      number=4, type=14, cpp_type=8, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='rate_threshold_config', full_name='config.OnuItuPonAlarm.rate_threshold_config', index=4,
      number=5, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='rate_range_config', full_name='config.OnuItuPonAlarm.rate_range_config', index=5,
      number=6, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='value_threshold_config', full_name='config.OnuItuPonAlarm.value_threshold_config', index=6,
      number=7, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[_ONUITUPONALARM_SOAKTIME, _ONUITUPONALARM_RATETHRESHOLDCONFIG, _ONUITUPONALARM_RATERANGECONFIG, _ONUITUPONALARM_VALUETHRESHOLDCONFIG, ],
  enum_types=[
    _ONUITUPONALARM_ALARMID,
    _ONUITUPONALARM_ALARMREPORTINGCONDITION,
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
    _descriptor.OneofDescriptor(
      name='config', full_name='config.OnuItuPonAlarm.config',
      index=0, containing_type=None,
      create_key=_descriptor._internal_create_key,
    fields=[]),
  ],
  serialized_start=128,
  serialized_end=1081,
)

_ALARMCONFIG.fields_by_name['onu_itu_pon_alarm_config'].message_type = _ONUITUPONALARM
_ALARMCONFIG.oneofs_by_name['config'].fields.append(
  _ALARMCONFIG.fields_by_name['onu_itu_pon_alarm_config'])
_ALARMCONFIG.fields_by_name['onu_itu_pon_alarm_config'].containing_oneof = _ALARMCONFIG.oneofs_by_name['config']
_ONUITUPONALARM_SOAKTIME.containing_type = _ONUITUPONALARM
_ONUITUPONALARM_RATETHRESHOLDCONFIG.fields_by_name['soak_time'].message_type = _ONUITUPONALARM_SOAKTIME
_ONUITUPONALARM_RATETHRESHOLDCONFIG.containing_type = _ONUITUPONALARM
_ONUITUPONALARM_RATERANGECONFIG.fields_by_name['soak_time'].message_type = _ONUITUPONALARM_SOAKTIME
_ONUITUPONALARM_RATERANGECONFIG.containing_type = _ONUITUPONALARM
_ONUITUPONALARM_VALUETHRESHOLDCONFIG.fields_by_name['soak_time'].message_type = _ONUITUPONALARM_SOAKTIME
_ONUITUPONALARM_VALUETHRESHOLDCONFIG.containing_type = _ONUITUPONALARM
_ONUITUPONALARM.fields_by_name['alarm_id'].enum_type = _ONUITUPONALARM_ALARMID
_ONUITUPONALARM.fields_by_name['alarm_reporting_condition'].enum_type = _ONUITUPONALARM_ALARMREPORTINGCONDITION
_ONUITUPONALARM.fields_by_name['rate_threshold_config'].message_type = _ONUITUPONALARM_RATETHRESHOLDCONFIG
_ONUITUPONALARM.fields_by_name['rate_range_config'].message_type = _ONUITUPONALARM_RATERANGECONFIG
_ONUITUPONALARM.fields_by_name['value_threshold_config'].message_type = _ONUITUPONALARM_VALUETHRESHOLDCONFIG
_ONUITUPONALARM_ALARMID.containing_type = _ONUITUPONALARM
_ONUITUPONALARM_ALARMREPORTINGCONDITION.containing_type = _ONUITUPONALARM
_ONUITUPONALARM.oneofs_by_name['config'].fields.append(
  _ONUITUPONALARM.fields_by_name['rate_threshold_config'])
_ONUITUPONALARM.fields_by_name['rate_threshold_config'].containing_oneof = _ONUITUPONALARM.oneofs_by_name['config']
_ONUITUPONALARM.oneofs_by_name['config'].fields.append(
  _ONUITUPONALARM.fields_by_name['rate_range_config'])
_ONUITUPONALARM.fields_by_name['rate_range_config'].containing_oneof = _ONUITUPONALARM.oneofs_by_name['config']
_ONUITUPONALARM.oneofs_by_name['config'].fields.append(
  _ONUITUPONALARM.fields_by_name['value_threshold_config'])
_ONUITUPONALARM.fields_by_name['value_threshold_config'].containing_oneof = _ONUITUPONALARM.oneofs_by_name['config']
DESCRIPTOR.message_types_by_name['AlarmConfig'] = _ALARMCONFIG
DESCRIPTOR.message_types_by_name['OnuItuPonAlarm'] = _ONUITUPONALARM
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

AlarmConfig = _reflection.GeneratedProtocolMessageType('AlarmConfig', (_message.Message,), {
  'DESCRIPTOR' : _ALARMCONFIG,
  '__module__' : 'voltha_protos.ext_config_pb2'
  # @@protoc_insertion_point(class_scope:config.AlarmConfig)
  })
_sym_db.RegisterMessage(AlarmConfig)

OnuItuPonAlarm = _reflection.GeneratedProtocolMessageType('OnuItuPonAlarm', (_message.Message,), {

  'SoakTime' : _reflection.GeneratedProtocolMessageType('SoakTime', (_message.Message,), {
    'DESCRIPTOR' : _ONUITUPONALARM_SOAKTIME,
    '__module__' : 'voltha_protos.ext_config_pb2'
    # @@protoc_insertion_point(class_scope:config.OnuItuPonAlarm.SoakTime)
    })
  ,

  'RateThresholdConfig' : _reflection.GeneratedProtocolMessageType('RateThresholdConfig', (_message.Message,), {
    'DESCRIPTOR' : _ONUITUPONALARM_RATETHRESHOLDCONFIG,
    '__module__' : 'voltha_protos.ext_config_pb2'
    # @@protoc_insertion_point(class_scope:config.OnuItuPonAlarm.RateThresholdConfig)
    })
  ,

  'RateRangeConfig' : _reflection.GeneratedProtocolMessageType('RateRangeConfig', (_message.Message,), {
    'DESCRIPTOR' : _ONUITUPONALARM_RATERANGECONFIG,
    '__module__' : 'voltha_protos.ext_config_pb2'
    # @@protoc_insertion_point(class_scope:config.OnuItuPonAlarm.RateRangeConfig)
    })
  ,

  'ValueThresholdConfig' : _reflection.GeneratedProtocolMessageType('ValueThresholdConfig', (_message.Message,), {
    'DESCRIPTOR' : _ONUITUPONALARM_VALUETHRESHOLDCONFIG,
    '__module__' : 'voltha_protos.ext_config_pb2'
    # @@protoc_insertion_point(class_scope:config.OnuItuPonAlarm.ValueThresholdConfig)
    })
  ,
  'DESCRIPTOR' : _ONUITUPONALARM,
  '__module__' : 'voltha_protos.ext_config_pb2'
  # @@protoc_insertion_point(class_scope:config.OnuItuPonAlarm)
  })
_sym_db.RegisterMessage(OnuItuPonAlarm)
_sym_db.RegisterMessage(OnuItuPonAlarm.SoakTime)
_sym_db.RegisterMessage(OnuItuPonAlarm.RateThresholdConfig)
_sym_db.RegisterMessage(OnuItuPonAlarm.RateRangeConfig)
_sym_db.RegisterMessage(OnuItuPonAlarm.ValueThresholdConfig)


DESCRIPTOR._options = None
# @@protoc_insertion_point(module_scope)
