# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: src/simulation/proto/traffic_light.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 third_party.lyft.lyft_idl.protos.pb.lyft.maps import road_network_pb2 as third__party_dot_lyft_dot_lyft__idl_dot_protos_dot_pb_dot_lyft_dot_maps_dot_road__network__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='src/simulation/proto/traffic_light.proto',
  package='avsoftware.simulation',
  syntax='proto3',
  serialized_options=None,
  serialized_pb=_b('\n(src/simulation/proto/traffic_light.proto\x12\x15\x61vsoftware.simulation\x1a@third_party/lyft/lyft_idl/protos/pb/lyft/maps/road_network.proto\"\xa4\x01\n\x0e\x43onditionProto\x12V\n\x0etime_condition\x18\x01 \x01(\x0b\x32<.avsoftware.simulation.ConditionProto.DurationConditionProtoH\x00\x1a-\n\x16\x44urationConditionProto\x12\x13\n\x0b\x64uration_ns\x18\x01 \x01(\x04\x42\x0b\n\tcondition\"\xbe\x07\n\x11TrafficLightProto\x12(\n\x08light_id\x18\x01 \x01(\x0b\x32\x16.pb.lyft.maps.GlobalId\x12.\n\x0elight_face_ids\x18\x02 \x03(\x0b\x32\x16.pb.lyft.maps.GlobalId\x12\x46\n\x05\x66\x61\x63\x65s\x18\x06 \x03(\x0b\x32\x37.avsoftware.simulation.TrafficLightProto.LightFaceProto\x12H\n\x06states\x18\x03 \x03(\x0b\x32\x38.avsoftware.simulation.TrafficLightProto.LightStateProto\x12W\n\x0btransitions\x18\x04 \x03(\x0b\x32\x42.avsoftware.simulation.TrafficLightProto.LightStateTransitionProto\x12\x15\n\rinitial_state\x18\x05 \x01(\t\x1a\xa5\x01\n\x0fLightStateProto\x12\x0c\n\x04name\x18\x01 \x01(\t\x12,\n\x0c\x61\x63tive_faces\x18\x02 \x03(\x0b\x32\x16.pb.lyft.maps.GlobalId\x12-\n\runknown_faces\x18\x03 \x03(\x0b\x32\x16.pb.lyft.maps.GlobalId\x12\x13\n\x0b\x64uration_ns\x18\x04 \x01(\x04\x12\x12\n\nnext_state\x18\x05 \x01(\t\x1a{\n\x19LightStateTransitionProto\x12\x12\n\nstart_node\x18\x01 \x01(\t\x12\x10\n\x08\x65nd_node\x18\x02 \x01(\t\x12\x38\n\tcondition\x18\x03 \x01(\x0b\x32%.avsoftware.simulation.ConditionProto\x1a\xa7\x02\n\x0eLightFaceProto\x12\"\n\x02id\x18\x01 \x01(\x0b\x32\x16.pb.lyft.maps.GlobalId\x12N\n\x04type\x18\x02 \x01(\x0e\x32@.avsoftware.simulation.TrafficLightProto.LightFaceProto.FaceType\"\xa0\x01\n\x08\x46\x61\x63\x65Type\x12\x0c\n\x08kUnknown\x10\x00\x12\x13\n\x0fkFlashingYellow\x10\x01\x12\x10\n\x0ckFlashingRed\x10\x02\x12\x08\n\x04kRed\x10\x03\x12\x0b\n\x07kYellow\x10\x04\x12\n\n\x06kGreen\x10\x05\x12\x0c\n\x08kLeftRed\x10\x06\x12\x0e\n\nkLeftGreen\x10\x07\x12\r\n\tkRightRed\x10\x08\x12\x0f\n\x0bkRightGreen\x10\tb\x06proto3')
  ,
  dependencies=[third__party_dot_lyft_dot_lyft__idl_dot_protos_dot_pb_dot_lyft_dot_maps_dot_road__network__pb2.DESCRIPTOR,])



_TRAFFICLIGHTPROTO_LIGHTFACEPROTO_FACETYPE = _descriptor.EnumDescriptor(
  name='FaceType',
  full_name='avsoftware.simulation.TrafficLightProto.LightFaceProto.FaceType',
  filename=None,
  file=DESCRIPTOR,
  values=[
    _descriptor.EnumValueDescriptor(
      name='kUnknown', index=0, number=0,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='kFlashingYellow', index=1, number=1,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='kFlashingRed', index=2, number=2,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='kRed', index=3, number=3,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='kYellow', index=4, number=4,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='kGreen', index=5, number=5,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='kLeftRed', index=6, number=6,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='kLeftGreen', index=7, number=7,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='kRightRed', index=8, number=8,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='kRightGreen', index=9, number=9,
      serialized_options=None,
      type=None),
  ],
  containing_type=None,
  serialized_options=None,
  serialized_start=1099,
  serialized_end=1259,
)
_sym_db.RegisterEnumDescriptor(_TRAFFICLIGHTPROTO_LIGHTFACEPROTO_FACETYPE)


_CONDITIONPROTO_DURATIONCONDITIONPROTO = _descriptor.Descriptor(
  name='DurationConditionProto',
  full_name='avsoftware.simulation.ConditionProto.DurationConditionProto',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='duration_ns', full_name='avsoftware.simulation.ConditionProto.DurationConditionProto.duration_ns', index=0,
      number=1, type=4, 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),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=240,
  serialized_end=285,
)

_CONDITIONPROTO = _descriptor.Descriptor(
  name='ConditionProto',
  full_name='avsoftware.simulation.ConditionProto',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='time_condition', full_name='avsoftware.simulation.ConditionProto.time_condition', 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),
  ],
  extensions=[
  ],
  nested_types=[_CONDITIONPROTO_DURATIONCONDITIONPROTO, ],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
    _descriptor.OneofDescriptor(
      name='condition', full_name='avsoftware.simulation.ConditionProto.condition',
      index=0, containing_type=None, fields=[]),
  ],
  serialized_start=134,
  serialized_end=298,
)


_TRAFFICLIGHTPROTO_LIGHTSTATEPROTO = _descriptor.Descriptor(
  name='LightStateProto',
  full_name='avsoftware.simulation.TrafficLightProto.LightStateProto',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='name', full_name='avsoftware.simulation.TrafficLightProto.LightStateProto.name', 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='active_faces', full_name='avsoftware.simulation.TrafficLightProto.LightStateProto.active_faces', index=1,
      number=2, type=11, cpp_type=10, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='unknown_faces', full_name='avsoftware.simulation.TrafficLightProto.LightStateProto.unknown_faces', index=2,
      number=3, type=11, cpp_type=10, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='duration_ns', full_name='avsoftware.simulation.TrafficLightProto.LightStateProto.duration_ns', index=3,
      number=4, type=4, 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),
    _descriptor.FieldDescriptor(
      name='next_state', full_name='avsoftware.simulation.TrafficLightProto.LightStateProto.next_state', index=4,
      number=5, 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='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=671,
  serialized_end=836,
)

_TRAFFICLIGHTPROTO_LIGHTSTATETRANSITIONPROTO = _descriptor.Descriptor(
  name='LightStateTransitionProto',
  full_name='avsoftware.simulation.TrafficLightProto.LightStateTransitionProto',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='start_node', full_name='avsoftware.simulation.TrafficLightProto.LightStateTransitionProto.start_node', 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='end_node', full_name='avsoftware.simulation.TrafficLightProto.LightStateTransitionProto.end_node', 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='condition', full_name='avsoftware.simulation.TrafficLightProto.LightStateTransitionProto.condition', 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),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=838,
  serialized_end=961,
)

_TRAFFICLIGHTPROTO_LIGHTFACEPROTO = _descriptor.Descriptor(
  name='LightFaceProto',
  full_name='avsoftware.simulation.TrafficLightProto.LightFaceProto',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='id', full_name='avsoftware.simulation.TrafficLightProto.LightFaceProto.id', 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),
    _descriptor.FieldDescriptor(
      name='type', full_name='avsoftware.simulation.TrafficLightProto.LightFaceProto.type', index=1,
      number=2, 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),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
    _TRAFFICLIGHTPROTO_LIGHTFACEPROTO_FACETYPE,
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=964,
  serialized_end=1259,
)

_TRAFFICLIGHTPROTO = _descriptor.Descriptor(
  name='TrafficLightProto',
  full_name='avsoftware.simulation.TrafficLightProto',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='light_id', full_name='avsoftware.simulation.TrafficLightProto.light_id', 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),
    _descriptor.FieldDescriptor(
      name='light_face_ids', full_name='avsoftware.simulation.TrafficLightProto.light_face_ids', index=1,
      number=2, type=11, cpp_type=10, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='faces', full_name='avsoftware.simulation.TrafficLightProto.faces', index=2,
      number=6, type=11, cpp_type=10, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='states', full_name='avsoftware.simulation.TrafficLightProto.states', index=3,
      number=3, type=11, cpp_type=10, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='transitions', full_name='avsoftware.simulation.TrafficLightProto.transitions', index=4,
      number=4, type=11, cpp_type=10, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='initial_state', full_name='avsoftware.simulation.TrafficLightProto.initial_state', index=5,
      number=5, 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=[_TRAFFICLIGHTPROTO_LIGHTSTATEPROTO, _TRAFFICLIGHTPROTO_LIGHTSTATETRANSITIONPROTO, _TRAFFICLIGHTPROTO_LIGHTFACEPROTO, ],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=301,
  serialized_end=1259,
)

_CONDITIONPROTO_DURATIONCONDITIONPROTO.containing_type = _CONDITIONPROTO
_CONDITIONPROTO.fields_by_name['time_condition'].message_type = _CONDITIONPROTO_DURATIONCONDITIONPROTO
_CONDITIONPROTO.oneofs_by_name['condition'].fields.append(
  _CONDITIONPROTO.fields_by_name['time_condition'])
_CONDITIONPROTO.fields_by_name['time_condition'].containing_oneof = _CONDITIONPROTO.oneofs_by_name['condition']
_TRAFFICLIGHTPROTO_LIGHTSTATEPROTO.fields_by_name['active_faces'].message_type = third__party_dot_lyft_dot_lyft__idl_dot_protos_dot_pb_dot_lyft_dot_maps_dot_road__network__pb2._GLOBALID
_TRAFFICLIGHTPROTO_LIGHTSTATEPROTO.fields_by_name['unknown_faces'].message_type = third__party_dot_lyft_dot_lyft__idl_dot_protos_dot_pb_dot_lyft_dot_maps_dot_road__network__pb2._GLOBALID
_TRAFFICLIGHTPROTO_LIGHTSTATEPROTO.containing_type = _TRAFFICLIGHTPROTO
_TRAFFICLIGHTPROTO_LIGHTSTATETRANSITIONPROTO.fields_by_name['condition'].message_type = _CONDITIONPROTO
_TRAFFICLIGHTPROTO_LIGHTSTATETRANSITIONPROTO.containing_type = _TRAFFICLIGHTPROTO
_TRAFFICLIGHTPROTO_LIGHTFACEPROTO.fields_by_name['id'].message_type = third__party_dot_lyft_dot_lyft__idl_dot_protos_dot_pb_dot_lyft_dot_maps_dot_road__network__pb2._GLOBALID
_TRAFFICLIGHTPROTO_LIGHTFACEPROTO.fields_by_name['type'].enum_type = _TRAFFICLIGHTPROTO_LIGHTFACEPROTO_FACETYPE
_TRAFFICLIGHTPROTO_LIGHTFACEPROTO.containing_type = _TRAFFICLIGHTPROTO
_TRAFFICLIGHTPROTO_LIGHTFACEPROTO_FACETYPE.containing_type = _TRAFFICLIGHTPROTO_LIGHTFACEPROTO
_TRAFFICLIGHTPROTO.fields_by_name['light_id'].message_type = third__party_dot_lyft_dot_lyft__idl_dot_protos_dot_pb_dot_lyft_dot_maps_dot_road__network__pb2._GLOBALID
_TRAFFICLIGHTPROTO.fields_by_name['light_face_ids'].message_type = third__party_dot_lyft_dot_lyft__idl_dot_protos_dot_pb_dot_lyft_dot_maps_dot_road__network__pb2._GLOBALID
_TRAFFICLIGHTPROTO.fields_by_name['faces'].message_type = _TRAFFICLIGHTPROTO_LIGHTFACEPROTO
_TRAFFICLIGHTPROTO.fields_by_name['states'].message_type = _TRAFFICLIGHTPROTO_LIGHTSTATEPROTO
_TRAFFICLIGHTPROTO.fields_by_name['transitions'].message_type = _TRAFFICLIGHTPROTO_LIGHTSTATETRANSITIONPROTO
DESCRIPTOR.message_types_by_name['ConditionProto'] = _CONDITIONPROTO
DESCRIPTOR.message_types_by_name['TrafficLightProto'] = _TRAFFICLIGHTPROTO
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

ConditionProto = _reflection.GeneratedProtocolMessageType('ConditionProto', (_message.Message,), dict(

  DurationConditionProto = _reflection.GeneratedProtocolMessageType('DurationConditionProto', (_message.Message,), dict(
    DESCRIPTOR = _CONDITIONPROTO_DURATIONCONDITIONPROTO,
    __module__ = 'src.simulation.proto.traffic_light_pb2'
    # @@protoc_insertion_point(class_scope:avsoftware.simulation.ConditionProto.DurationConditionProto)
    ))
  ,
  DESCRIPTOR = _CONDITIONPROTO,
  __module__ = 'src.simulation.proto.traffic_light_pb2'
  # @@protoc_insertion_point(class_scope:avsoftware.simulation.ConditionProto)
  ))
_sym_db.RegisterMessage(ConditionProto)
_sym_db.RegisterMessage(ConditionProto.DurationConditionProto)

TrafficLightProto = _reflection.GeneratedProtocolMessageType('TrafficLightProto', (_message.Message,), dict(

  LightStateProto = _reflection.GeneratedProtocolMessageType('LightStateProto', (_message.Message,), dict(
    DESCRIPTOR = _TRAFFICLIGHTPROTO_LIGHTSTATEPROTO,
    __module__ = 'src.simulation.proto.traffic_light_pb2'
    # @@protoc_insertion_point(class_scope:avsoftware.simulation.TrafficLightProto.LightStateProto)
    ))
  ,

  LightStateTransitionProto = _reflection.GeneratedProtocolMessageType('LightStateTransitionProto', (_message.Message,), dict(
    DESCRIPTOR = _TRAFFICLIGHTPROTO_LIGHTSTATETRANSITIONPROTO,
    __module__ = 'src.simulation.proto.traffic_light_pb2'
    # @@protoc_insertion_point(class_scope:avsoftware.simulation.TrafficLightProto.LightStateTransitionProto)
    ))
  ,

  LightFaceProto = _reflection.GeneratedProtocolMessageType('LightFaceProto', (_message.Message,), dict(
    DESCRIPTOR = _TRAFFICLIGHTPROTO_LIGHTFACEPROTO,
    __module__ = 'src.simulation.proto.traffic_light_pb2'
    # @@protoc_insertion_point(class_scope:avsoftware.simulation.TrafficLightProto.LightFaceProto)
    ))
  ,
  DESCRIPTOR = _TRAFFICLIGHTPROTO,
  __module__ = 'src.simulation.proto.traffic_light_pb2'
  # @@protoc_insertion_point(class_scope:avsoftware.simulation.TrafficLightProto)
  ))
_sym_db.RegisterMessage(TrafficLightProto)
_sym_db.RegisterMessage(TrafficLightProto.LightStateProto)
_sym_db.RegisterMessage(TrafficLightProto.LightStateTransitionProto)
_sym_db.RegisterMessage(TrafficLightProto.LightFaceProto)


# @@protoc_insertion_point(module_scope)
