# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: person/PersonName.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
from google.protobuf import descriptor_pb2
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


import bq_field_pb2 as bq__field__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='person/PersonName.proto',
  package='opencannabis.person',
  syntax='proto3',
  serialized_pb=_b('\n\x17person/PersonName.proto\x12\x13opencannabis.person\x1a\x0e\x62q_field.proto\"\xd6\x02\n\x04Name\x12N\n\tfull_name\x18\x01 \x01(\tB;\x8a@8Person\'s full name, if a fulltext value should override.\x12\x36\n\nfirst_name\x18\x02 \x01(\tB\"\x8a@\x1fPerson\'s given, or first, name.\x12\x35\n\tlast_name\x18\x03 \x01(\tB\"\x8a@\x1fPerson\'s family, or last, name.\x12-\n\x0bmiddle_name\x18\x04 \x01(\tB\x18\x8a@\x15Person\'s middle name.\x12.\n\x06prefix\x18\x05 \x01(\tB\x1e\x8a@\x1bPrefix for a person\'s name.\x12\x30\n\x07postfix\x18\x06 \x01(\tB\x1f\x8a@\x1cPostfix for a person\'s name.B)\n\x1dio.opencannabis.schema.personH\x01P\x01\xa2\x02\x03OCSb\x06proto3')
  ,
  dependencies=[bq__field__pb2.DESCRIPTOR,])




_NAME = _descriptor.Descriptor(
  name='Name',
  full_name='opencannabis.person.Name',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='full_name', full_name='opencannabis.person.Name.full_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,
      options=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\212@8Person\'s full name, if a fulltext value should override.')), file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='first_name', full_name='opencannabis.person.Name.first_name', 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,
      options=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\212@\037Person\'s given, or first, name.')), file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='last_name', full_name='opencannabis.person.Name.last_name', index=2,
      number=3, 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,
      options=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\212@\037Person\'s family, or last, name.')), file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='middle_name', full_name='opencannabis.person.Name.middle_name', 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,
      options=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\212@\025Person\'s middle name.')), file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='prefix', full_name='opencannabis.person.Name.prefix', 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,
      options=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\212@\033Prefix for a person\'s name.')), file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='postfix', full_name='opencannabis.person.Name.postfix', index=5,
      number=6, 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,
      options=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\212@\034Postfix for a person\'s name.')), file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=65,
  serialized_end=407,
)

DESCRIPTOR.message_types_by_name['Name'] = _NAME
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

Name = _reflection.GeneratedProtocolMessageType('Name', (_message.Message,), dict(
  DESCRIPTOR = _NAME,
  __module__ = 'person.PersonName_pb2'
  # @@protoc_insertion_point(class_scope:opencannabis.person.Name)
  ))
_sym_db.RegisterMessage(Name)


DESCRIPTOR.has_options = True
DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('\n\035io.opencannabis.schema.personH\001P\001\242\002\003OCS'))
_NAME.fields_by_name['full_name'].has_options = True
_NAME.fields_by_name['full_name']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\212@8Person\'s full name, if a fulltext value should override.'))
_NAME.fields_by_name['first_name'].has_options = True
_NAME.fields_by_name['first_name']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\212@\037Person\'s given, or first, name.'))
_NAME.fields_by_name['last_name'].has_options = True
_NAME.fields_by_name['last_name']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\212@\037Person\'s family, or last, name.'))
_NAME.fields_by_name['middle_name'].has_options = True
_NAME.fields_by_name['middle_name']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\212@\025Person\'s middle name.'))
_NAME.fields_by_name['prefix'].has_options = True
_NAME.fields_by_name['prefix']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\212@\033Prefix for a person\'s name.'))
_NAME.fields_by_name['postfix'].has_options = True
_NAME.fields_by_name['postfix']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\212@\034Postfix for a person\'s name.'))
# @@protoc_insertion_point(module_scope)
