# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: recognizers_store.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()




DESCRIPTOR = _descriptor.FileDescriptor(
  name='recognizers_store.proto',
  package='types',
  syntax='proto3',
  serialized_pb=_b('\n\x17recognizers_store.proto\x12\x05types\"5\n\x07Pattern\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05regex\x18\x02 \x01(\t\x12\r\n\x05score\x18\x03 \x01(\x02\"\x90\x01\n\x11PatternRecognizer\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0e\n\x06\x65ntity\x18\x02 \x01(\t\x12\x10\n\x08language\x18\x03 \x01(\t\x12 \n\x08patterns\x18\x04 \x03(\x0b\x32\x0e.types.Pattern\x12\x11\n\tblacklist\x18\x05 \x03(\t\x12\x16\n\x0e\x63ontextPhrases\x18\x06 \x03(\t\"J\n\x1fRecognizerInsertOrUpdateRequest\x12\'\n\x05value\x18\x01 \x01(\x0b\x32\x18.types.PatternRecognizer\"\'\n\x17RecognizerDeleteRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\"$\n\x14RecognizerGetRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\"\x1a\n\x18RecognizersGetAllRequest\"\x1a\n\x18RecognizerGetHashRequest\"\x1a\n\x18RecognizersStoreResponse\"G\n\x16RecognizersGetResponse\x12-\n\x0brecognizers\x18\x01 \x03(\x0b\x32\x18.types.PatternRecognizer\"1\n\x16RecognizerHashResponse\x12\x17\n\x0frecognizersHash\x18\x01 \x01(\t2\x8c\x04\n\x17RecognizersStoreService\x12X\n\x0b\x41pplyInsert\x12&.types.RecognizerInsertOrUpdateRequest\x1a\x1f.types.RecognizersStoreResponse\"\x00\x12X\n\x0b\x41pplyUpdate\x12&.types.RecognizerInsertOrUpdateRequest\x1a\x1f.types.RecognizersStoreResponse\"\x00\x12P\n\x0b\x41pplyDelete\x12\x1e.types.RecognizerDeleteRequest\x1a\x1f.types.RecognizersStoreResponse\"\x00\x12H\n\x08\x41pplyGet\x12\x1b.types.RecognizerGetRequest\x1a\x1d.types.RecognizersGetResponse\"\x00\x12O\n\x0b\x41pplyGetAll\x12\x1f.types.RecognizersGetAllRequest\x1a\x1d.types.RecognizersGetResponse\"\x00\x12P\n\x0c\x41pplyGetHash\x12\x1f.types.RecognizerGetHashRequest\x1a\x1d.types.RecognizerHashResponse\"\x00\x62\x06proto3')
)




_PATTERN = _descriptor.Descriptor(
  name='Pattern',
  full_name='types.Pattern',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='name', full_name='types.Pattern.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=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='regex', full_name='types.Pattern.regex', 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=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='score', full_name='types.Pattern.score', index=2,
      number=3, type=2, cpp_type=6, label=1,
      has_default_value=False, default_value=float(0),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=34,
  serialized_end=87,
)


_PATTERNRECOGNIZER = _descriptor.Descriptor(
  name='PatternRecognizer',
  full_name='types.PatternRecognizer',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='name', full_name='types.PatternRecognizer.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=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='entity', full_name='types.PatternRecognizer.entity', 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=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='language', full_name='types.PatternRecognizer.language', 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=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='patterns', full_name='types.PatternRecognizer.patterns', index=3,
      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,
      options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='blacklist', full_name='types.PatternRecognizer.blacklist', index=4,
      number=5, type=9, cpp_type=9, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='contextPhrases', full_name='types.PatternRecognizer.contextPhrases', index=5,
      number=6, type=9, cpp_type=9, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=90,
  serialized_end=234,
)


_RECOGNIZERINSERTORUPDATEREQUEST = _descriptor.Descriptor(
  name='RecognizerInsertOrUpdateRequest',
  full_name='types.RecognizerInsertOrUpdateRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='value', full_name='types.RecognizerInsertOrUpdateRequest.value', 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,
      options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=236,
  serialized_end=310,
)


_RECOGNIZERDELETEREQUEST = _descriptor.Descriptor(
  name='RecognizerDeleteRequest',
  full_name='types.RecognizerDeleteRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='name', full_name='types.RecognizerDeleteRequest.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=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=312,
  serialized_end=351,
)


_RECOGNIZERGETREQUEST = _descriptor.Descriptor(
  name='RecognizerGetRequest',
  full_name='types.RecognizerGetRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='name', full_name='types.RecognizerGetRequest.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=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=353,
  serialized_end=389,
)


_RECOGNIZERSGETALLREQUEST = _descriptor.Descriptor(
  name='RecognizersGetAllRequest',
  full_name='types.RecognizersGetAllRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=391,
  serialized_end=417,
)


_RECOGNIZERGETHASHREQUEST = _descriptor.Descriptor(
  name='RecognizerGetHashRequest',
  full_name='types.RecognizerGetHashRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=419,
  serialized_end=445,
)


_RECOGNIZERSSTORERESPONSE = _descriptor.Descriptor(
  name='RecognizersStoreResponse',
  full_name='types.RecognizersStoreResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=447,
  serialized_end=473,
)


_RECOGNIZERSGETRESPONSE = _descriptor.Descriptor(
  name='RecognizersGetResponse',
  full_name='types.RecognizersGetResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='recognizers', full_name='types.RecognizersGetResponse.recognizers', index=0,
      number=1, 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,
      options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=475,
  serialized_end=546,
)


_RECOGNIZERHASHRESPONSE = _descriptor.Descriptor(
  name='RecognizerHashResponse',
  full_name='types.RecognizerHashResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='recognizersHash', full_name='types.RecognizerHashResponse.recognizersHash', 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=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=548,
  serialized_end=597,
)

_PATTERNRECOGNIZER.fields_by_name['patterns'].message_type = _PATTERN
_RECOGNIZERINSERTORUPDATEREQUEST.fields_by_name['value'].message_type = _PATTERNRECOGNIZER
_RECOGNIZERSGETRESPONSE.fields_by_name['recognizers'].message_type = _PATTERNRECOGNIZER
DESCRIPTOR.message_types_by_name['Pattern'] = _PATTERN
DESCRIPTOR.message_types_by_name['PatternRecognizer'] = _PATTERNRECOGNIZER
DESCRIPTOR.message_types_by_name['RecognizerInsertOrUpdateRequest'] = _RECOGNIZERINSERTORUPDATEREQUEST
DESCRIPTOR.message_types_by_name['RecognizerDeleteRequest'] = _RECOGNIZERDELETEREQUEST
DESCRIPTOR.message_types_by_name['RecognizerGetRequest'] = _RECOGNIZERGETREQUEST
DESCRIPTOR.message_types_by_name['RecognizersGetAllRequest'] = _RECOGNIZERSGETALLREQUEST
DESCRIPTOR.message_types_by_name['RecognizerGetHashRequest'] = _RECOGNIZERGETHASHREQUEST
DESCRIPTOR.message_types_by_name['RecognizersStoreResponse'] = _RECOGNIZERSSTORERESPONSE
DESCRIPTOR.message_types_by_name['RecognizersGetResponse'] = _RECOGNIZERSGETRESPONSE
DESCRIPTOR.message_types_by_name['RecognizerHashResponse'] = _RECOGNIZERHASHRESPONSE
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

Pattern = _reflection.GeneratedProtocolMessageType('Pattern', (_message.Message,), dict(
  DESCRIPTOR = _PATTERN,
  __module__ = 'recognizers_store_pb2'
  # @@protoc_insertion_point(class_scope:types.Pattern)
  ))
_sym_db.RegisterMessage(Pattern)

PatternRecognizer = _reflection.GeneratedProtocolMessageType('PatternRecognizer', (_message.Message,), dict(
  DESCRIPTOR = _PATTERNRECOGNIZER,
  __module__ = 'recognizers_store_pb2'
  # @@protoc_insertion_point(class_scope:types.PatternRecognizer)
  ))
_sym_db.RegisterMessage(PatternRecognizer)

RecognizerInsertOrUpdateRequest = _reflection.GeneratedProtocolMessageType('RecognizerInsertOrUpdateRequest', (_message.Message,), dict(
  DESCRIPTOR = _RECOGNIZERINSERTORUPDATEREQUEST,
  __module__ = 'recognizers_store_pb2'
  # @@protoc_insertion_point(class_scope:types.RecognizerInsertOrUpdateRequest)
  ))
_sym_db.RegisterMessage(RecognizerInsertOrUpdateRequest)

RecognizerDeleteRequest = _reflection.GeneratedProtocolMessageType('RecognizerDeleteRequest', (_message.Message,), dict(
  DESCRIPTOR = _RECOGNIZERDELETEREQUEST,
  __module__ = 'recognizers_store_pb2'
  # @@protoc_insertion_point(class_scope:types.RecognizerDeleteRequest)
  ))
_sym_db.RegisterMessage(RecognizerDeleteRequest)

RecognizerGetRequest = _reflection.GeneratedProtocolMessageType('RecognizerGetRequest', (_message.Message,), dict(
  DESCRIPTOR = _RECOGNIZERGETREQUEST,
  __module__ = 'recognizers_store_pb2'
  # @@protoc_insertion_point(class_scope:types.RecognizerGetRequest)
  ))
_sym_db.RegisterMessage(RecognizerGetRequest)

RecognizersGetAllRequest = _reflection.GeneratedProtocolMessageType('RecognizersGetAllRequest', (_message.Message,), dict(
  DESCRIPTOR = _RECOGNIZERSGETALLREQUEST,
  __module__ = 'recognizers_store_pb2'
  # @@protoc_insertion_point(class_scope:types.RecognizersGetAllRequest)
  ))
_sym_db.RegisterMessage(RecognizersGetAllRequest)

RecognizerGetHashRequest = _reflection.GeneratedProtocolMessageType('RecognizerGetHashRequest', (_message.Message,), dict(
  DESCRIPTOR = _RECOGNIZERGETHASHREQUEST,
  __module__ = 'recognizers_store_pb2'
  # @@protoc_insertion_point(class_scope:types.RecognizerGetHashRequest)
  ))
_sym_db.RegisterMessage(RecognizerGetHashRequest)

RecognizersStoreResponse = _reflection.GeneratedProtocolMessageType('RecognizersStoreResponse', (_message.Message,), dict(
  DESCRIPTOR = _RECOGNIZERSSTORERESPONSE,
  __module__ = 'recognizers_store_pb2'
  # @@protoc_insertion_point(class_scope:types.RecognizersStoreResponse)
  ))
_sym_db.RegisterMessage(RecognizersStoreResponse)

RecognizersGetResponse = _reflection.GeneratedProtocolMessageType('RecognizersGetResponse', (_message.Message,), dict(
  DESCRIPTOR = _RECOGNIZERSGETRESPONSE,
  __module__ = 'recognizers_store_pb2'
  # @@protoc_insertion_point(class_scope:types.RecognizersGetResponse)
  ))
_sym_db.RegisterMessage(RecognizersGetResponse)

RecognizerHashResponse = _reflection.GeneratedProtocolMessageType('RecognizerHashResponse', (_message.Message,), dict(
  DESCRIPTOR = _RECOGNIZERHASHRESPONSE,
  __module__ = 'recognizers_store_pb2'
  # @@protoc_insertion_point(class_scope:types.RecognizerHashResponse)
  ))
_sym_db.RegisterMessage(RecognizerHashResponse)



_RECOGNIZERSSTORESERVICE = _descriptor.ServiceDescriptor(
  name='RecognizersStoreService',
  full_name='types.RecognizersStoreService',
  file=DESCRIPTOR,
  index=0,
  options=None,
  serialized_start=600,
  serialized_end=1124,
  methods=[
  _descriptor.MethodDescriptor(
    name='ApplyInsert',
    full_name='types.RecognizersStoreService.ApplyInsert',
    index=0,
    containing_service=None,
    input_type=_RECOGNIZERINSERTORUPDATEREQUEST,
    output_type=_RECOGNIZERSSTORERESPONSE,
    options=None,
  ),
  _descriptor.MethodDescriptor(
    name='ApplyUpdate',
    full_name='types.RecognizersStoreService.ApplyUpdate',
    index=1,
    containing_service=None,
    input_type=_RECOGNIZERINSERTORUPDATEREQUEST,
    output_type=_RECOGNIZERSSTORERESPONSE,
    options=None,
  ),
  _descriptor.MethodDescriptor(
    name='ApplyDelete',
    full_name='types.RecognizersStoreService.ApplyDelete',
    index=2,
    containing_service=None,
    input_type=_RECOGNIZERDELETEREQUEST,
    output_type=_RECOGNIZERSSTORERESPONSE,
    options=None,
  ),
  _descriptor.MethodDescriptor(
    name='ApplyGet',
    full_name='types.RecognizersStoreService.ApplyGet',
    index=3,
    containing_service=None,
    input_type=_RECOGNIZERGETREQUEST,
    output_type=_RECOGNIZERSGETRESPONSE,
    options=None,
  ),
  _descriptor.MethodDescriptor(
    name='ApplyGetAll',
    full_name='types.RecognizersStoreService.ApplyGetAll',
    index=4,
    containing_service=None,
    input_type=_RECOGNIZERSGETALLREQUEST,
    output_type=_RECOGNIZERSGETRESPONSE,
    options=None,
  ),
  _descriptor.MethodDescriptor(
    name='ApplyGetHash',
    full_name='types.RecognizersStoreService.ApplyGetHash',
    index=5,
    containing_service=None,
    input_type=_RECOGNIZERGETHASHREQUEST,
    output_type=_RECOGNIZERHASHRESPONSE,
    options=None,
  ),
])
_sym_db.RegisterServiceDescriptor(_RECOGNIZERSSTORESERVICE)

DESCRIPTOR.services_by_name['RecognizersStoreService'] = _RECOGNIZERSSTORESERVICE

# @@protoc_insertion_point(module_scope)
