# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: yamcs/protobuf/alarms/alarms.proto

import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
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()


from yamcs.protobuf.mdb import mdb_pb2 as yamcs_dot_protobuf_dot_mdb_dot_mdb__pb2
from yamcs.protobuf.pvalue import pvalue_pb2 as yamcs_dot_protobuf_dot_pvalue_dot_pvalue__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='yamcs/protobuf/alarms/alarms.proto',
  package='yamcs.protobuf.alarms',
  syntax='proto2',
  serialized_options=_b('\n\022org.yamcs.protobuf'),
  serialized_pb=_b('\n\"yamcs/protobuf/alarms/alarms.proto\x12\x15yamcs.protobuf.alarms\x1a\x1cyamcs/protobuf/mdb/mdb.proto\x1a\"yamcs/protobuf/pvalue/pvalue.proto\"z\n\x0f\x41\x63knowledgeInfo\x12\x16\n\x0e\x61\x63knowledgedBy\x18\x01 \x01(\t\x12\x1a\n\x12\x61\x63knowledgeMessage\x18\x02 \x01(\t\x12\x17\n\x0f\x61\x63knowledgeTime\x18\x03 \x01(\x03\x12\x1a\n\x12\x61\x63knowledgeTimeUTC\x18\x04 \x01(\t\"\x81\x04\n\tAlarmData\x12\x0e\n\x06seqNum\x18\x01 \x01(\r\x12\x33\n\x04type\x18\x02 \x01(\x0e\x32%.yamcs.protobuf.alarms.AlarmData.Type\x12;\n\x0ctriggerValue\x18\x03 \x01(\x0b\x32%.yamcs.protobuf.pvalue.ParameterValue\x12>\n\x0fmostSevereValue\x18\x04 \x01(\x0b\x32%.yamcs.protobuf.pvalue.ParameterValue\x12;\n\x0c\x63urrentValue\x18\x05 \x01(\x0b\x32%.yamcs.protobuf.pvalue.ParameterValue\x12\x12\n\nviolations\x18\x06 \x01(\r\x12?\n\x0f\x61\x63knowledgeInfo\x18\x07 \x01(\x0b\x32&.yamcs.protobuf.alarms.AcknowledgeInfo\x12\x34\n\tparameter\x18\x08 \x01(\x0b\x32!.yamcs.protobuf.mdb.ParameterInfo\"j\n\x04Type\x12\n\n\x06\x41\x43TIVE\x10\x01\x12\r\n\tTRIGGERED\x10\x02\x12\x16\n\x12SEVERITY_INCREASED\x10\x03\x12\x10\n\x0cPVAL_UPDATED\x10\x04\x12\x10\n\x0c\x41\x43KNOWLEDGED\x10\x05\x12\x0b\n\x07\x43LEARED\x10\x06\x42\x14\n\x12org.yamcs.protobuf')
  ,
  dependencies=[yamcs_dot_protobuf_dot_mdb_dot_mdb__pb2.DESCRIPTOR,yamcs_dot_protobuf_dot_pvalue_dot_pvalue__pb2.DESCRIPTOR,])



_ALARMDATA_TYPE = _descriptor.EnumDescriptor(
  name='Type',
  full_name='yamcs.protobuf.alarms.AlarmData.Type',
  filename=None,
  file=DESCRIPTOR,
  values=[
    _descriptor.EnumValueDescriptor(
      name='ACTIVE', index=0, number=1,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='TRIGGERED', index=1, number=2,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='SEVERITY_INCREASED', index=2, number=3,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='PVAL_UPDATED', index=3, number=4,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='ACKNOWLEDGED', index=4, number=5,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='CLEARED', index=5, number=6,
      serialized_options=None,
      type=None),
  ],
  containing_type=None,
  serialized_options=None,
  serialized_start=659,
  serialized_end=765,
)
_sym_db.RegisterEnumDescriptor(_ALARMDATA_TYPE)


_ACKNOWLEDGEINFO = _descriptor.Descriptor(
  name='AcknowledgeInfo',
  full_name='yamcs.protobuf.alarms.AcknowledgeInfo',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='acknowledgedBy', full_name='yamcs.protobuf.alarms.AcknowledgeInfo.acknowledgedBy', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='acknowledgeMessage', full_name='yamcs.protobuf.alarms.AcknowledgeInfo.acknowledgeMessage', index=1,
      number=2, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='acknowledgeTime', full_name='yamcs.protobuf.alarms.AcknowledgeInfo.acknowledgeTime', index=2,
      number=3, type=3, cpp_type=2, 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),
    _descriptor.FieldDescriptor(
      name='acknowledgeTimeUTC', full_name='yamcs.protobuf.alarms.AcknowledgeInfo.acknowledgeTimeUTC', index=3,
      number=4, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto2',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=127,
  serialized_end=249,
)


_ALARMDATA = _descriptor.Descriptor(
  name='AlarmData',
  full_name='yamcs.protobuf.alarms.AlarmData',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='seqNum', full_name='yamcs.protobuf.alarms.AlarmData.seqNum', index=0,
      number=1, type=13, 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),
    _descriptor.FieldDescriptor(
      name='type', full_name='yamcs.protobuf.alarms.AlarmData.type', index=1,
      number=2, type=14, cpp_type=8, label=1,
      has_default_value=False, default_value=1,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='triggerValue', full_name='yamcs.protobuf.alarms.AlarmData.triggerValue', 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),
    _descriptor.FieldDescriptor(
      name='mostSevereValue', full_name='yamcs.protobuf.alarms.AlarmData.mostSevereValue', index=3,
      number=4, 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),
    _descriptor.FieldDescriptor(
      name='currentValue', full_name='yamcs.protobuf.alarms.AlarmData.currentValue', 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),
    _descriptor.FieldDescriptor(
      name='violations', full_name='yamcs.protobuf.alarms.AlarmData.violations', index=5,
      number=6, type=13, 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),
    _descriptor.FieldDescriptor(
      name='acknowledgeInfo', full_name='yamcs.protobuf.alarms.AlarmData.acknowledgeInfo', 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),
    _descriptor.FieldDescriptor(
      name='parameter', full_name='yamcs.protobuf.alarms.AlarmData.parameter', index=7,
      number=8, 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),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
    _ALARMDATA_TYPE,
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto2',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=252,
  serialized_end=765,
)

_ALARMDATA.fields_by_name['type'].enum_type = _ALARMDATA_TYPE
_ALARMDATA.fields_by_name['triggerValue'].message_type = yamcs_dot_protobuf_dot_pvalue_dot_pvalue__pb2._PARAMETERVALUE
_ALARMDATA.fields_by_name['mostSevereValue'].message_type = yamcs_dot_protobuf_dot_pvalue_dot_pvalue__pb2._PARAMETERVALUE
_ALARMDATA.fields_by_name['currentValue'].message_type = yamcs_dot_protobuf_dot_pvalue_dot_pvalue__pb2._PARAMETERVALUE
_ALARMDATA.fields_by_name['acknowledgeInfo'].message_type = _ACKNOWLEDGEINFO
_ALARMDATA.fields_by_name['parameter'].message_type = yamcs_dot_protobuf_dot_mdb_dot_mdb__pb2._PARAMETERINFO
_ALARMDATA_TYPE.containing_type = _ALARMDATA
DESCRIPTOR.message_types_by_name['AcknowledgeInfo'] = _ACKNOWLEDGEINFO
DESCRIPTOR.message_types_by_name['AlarmData'] = _ALARMDATA
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

AcknowledgeInfo = _reflection.GeneratedProtocolMessageType('AcknowledgeInfo', (_message.Message,), dict(
  DESCRIPTOR = _ACKNOWLEDGEINFO,
  __module__ = 'yamcs.protobuf.alarms.alarms_pb2'
  # @@protoc_insertion_point(class_scope:yamcs.protobuf.alarms.AcknowledgeInfo)
  ))
_sym_db.RegisterMessage(AcknowledgeInfo)

AlarmData = _reflection.GeneratedProtocolMessageType('AlarmData', (_message.Message,), dict(
  DESCRIPTOR = _ALARMDATA,
  __module__ = 'yamcs.protobuf.alarms.alarms_pb2'
  # @@protoc_insertion_point(class_scope:yamcs.protobuf.alarms.AlarmData)
  ))
_sym_db.RegisterMessage(AlarmData)


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