# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: ocr.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 common_pb2 as common__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='ocr.proto',
  package='types',
  syntax='proto3',
  serialized_pb=_b('\n\tocr.proto\x12\x05types\x1a\x0c\x63ommon.proto\")\n\nOcrRequest\x12\x1b\n\x05image\x18\x01 \x01(\x0b\x32\x0c.types.Image\"*\n\x0bOcrResponse\x12\x1b\n\x05image\x18\x01 \x01(\x0b\x32\x0c.types.Image2>\n\nOcrService\x12\x30\n\x05\x41pply\x12\x11.types.OcrRequest\x1a\x12.types.OcrResponse\"\x00\x62\x06proto3')
  ,
  dependencies=[common__pb2.DESCRIPTOR,])




_OCRREQUEST = _descriptor.Descriptor(
  name='OcrRequest',
  full_name='types.OcrRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='image', full_name='types.OcrRequest.image', 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=34,
  serialized_end=75,
)


_OCRRESPONSE = _descriptor.Descriptor(
  name='OcrResponse',
  full_name='types.OcrResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='image', full_name='types.OcrResponse.image', 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=77,
  serialized_end=119,
)

_OCRREQUEST.fields_by_name['image'].message_type = common__pb2._IMAGE
_OCRRESPONSE.fields_by_name['image'].message_type = common__pb2._IMAGE
DESCRIPTOR.message_types_by_name['OcrRequest'] = _OCRREQUEST
DESCRIPTOR.message_types_by_name['OcrResponse'] = _OCRRESPONSE
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

OcrRequest = _reflection.GeneratedProtocolMessageType('OcrRequest', (_message.Message,), dict(
  DESCRIPTOR = _OCRREQUEST,
  __module__ = 'ocr_pb2'
  # @@protoc_insertion_point(class_scope:types.OcrRequest)
  ))
_sym_db.RegisterMessage(OcrRequest)

OcrResponse = _reflection.GeneratedProtocolMessageType('OcrResponse', (_message.Message,), dict(
  DESCRIPTOR = _OCRRESPONSE,
  __module__ = 'ocr_pb2'
  # @@protoc_insertion_point(class_scope:types.OcrResponse)
  ))
_sym_db.RegisterMessage(OcrResponse)



_OCRSERVICE = _descriptor.ServiceDescriptor(
  name='OcrService',
  full_name='types.OcrService',
  file=DESCRIPTOR,
  index=0,
  options=None,
  serialized_start=121,
  serialized_end=183,
  methods=[
  _descriptor.MethodDescriptor(
    name='Apply',
    full_name='types.OcrService.Apply',
    index=0,
    containing_service=None,
    input_type=_OCRREQUEST,
    output_type=_OCRRESPONSE,
    options=None,
  ),
])
_sym_db.RegisterServiceDescriptor(_OCRSERVICE)

DESCRIPTOR.services_by_name['OcrService'] = _OCRSERVICE

# @@protoc_insertion_point(module_scope)
