# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: safety.proto

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()


import header_pb2 as header__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='safety.proto',
  package='synapse.msgs',
  syntax='proto3',
  serialized_options=None,
  create_key=_descriptor._internal_create_key,
  serialized_pb=b'\n\x0csafety.proto\x12\x0csynapse.msgs\x1a\x0cheader.proto\"\x9d\x01\n\x06Safety\x12$\n\x06header\x18\x01 \x01(\x0b\x32\x14.synapse.msgs.Header\x12+\n\x06status\x18\x02 \x01(\x0e\x32\x1b.synapse.msgs.Safety.Status\"@\n\x06Status\x12\x12\n\x0eSAFETY_UNKNOWN\x10\x00\x12\x0f\n\x0bSAFETY_SAFE\x10\x01\x12\x11\n\rSAFETY_UNSAFE\x10\x02\x62\x06proto3'
  ,
  dependencies=[header__pb2.DESCRIPTOR,])



_SAFETY_STATUS = _descriptor.EnumDescriptor(
  name='Status',
  full_name='synapse.msgs.Safety.Status',
  filename=None,
  file=DESCRIPTOR,
  create_key=_descriptor._internal_create_key,
  values=[
    _descriptor.EnumValueDescriptor(
      name='SAFETY_UNKNOWN', index=0, number=0,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='SAFETY_SAFE', index=1, number=1,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='SAFETY_UNSAFE', index=2, number=2,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
  ],
  containing_type=None,
  serialized_options=None,
  serialized_start=138,
  serialized_end=202,
)
_sym_db.RegisterEnumDescriptor(_SAFETY_STATUS)


_SAFETY = _descriptor.Descriptor(
  name='Safety',
  full_name='synapse.msgs.Safety',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='header', full_name='synapse.msgs.Safety.header', 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),
    _descriptor.FieldDescriptor(
      name='status', full_name='synapse.msgs.Safety.status', 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,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
    _SAFETY_STATUS,
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=45,
  serialized_end=202,
)

_SAFETY.fields_by_name['header'].message_type = header__pb2._HEADER
_SAFETY.fields_by_name['status'].enum_type = _SAFETY_STATUS
_SAFETY_STATUS.containing_type = _SAFETY
DESCRIPTOR.message_types_by_name['Safety'] = _SAFETY
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

Safety = _reflection.GeneratedProtocolMessageType('Safety', (_message.Message,), {
  'DESCRIPTOR' : _SAFETY,
  '__module__' : 'safety_pb2'
  # @@protoc_insertion_point(class_scope:synapse.msgs.Safety)
  })
_sym_db.RegisterMessage(Safety)


# @@protoc_insertion_point(module_scope)
