# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: search.proto
"""Generated protocol buffer code."""
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 google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
from . import common_pb2 as common__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='search.proto',
  package='',
  syntax='proto3',
  serialized_options=None,
  create_key=_descriptor._internal_create_key,
  serialized_pb=b'\n\x0csearch.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x0c\x63ommon.proto\"(\n\x19SearchDataResultItemImage\x12\x0b\n\x03url\x18\x01 \x01(\t\"\x99\x01\n\x14SearchDataResultItem\x12\n\n\x02id\x18\x01 \x01(\t\x12\'\n\x06source\x18\x02 \x01(\x0b\x32\x17.google.protobuf.Struct\x12)\n\x05image\x18\x03 \x01(\x0b\x32\x1a.SearchDataResultItemImage\x12\r\n\x05score\x18\x04 \x01(\x02\x12\x12\n\ntopicality\x18\x05 \x01(\x02\"s\n\x10SearchDataResult\x12\x12\n\ndataset_id\x18\x01 \x01(\t\x12\x10\n\x08keywords\x18\x02 \x03(\t\x12$\n\x05items\x18\x03 \x03(\x0b\x32\x15.SearchDataResultItem\x12\x13\n\x03roi\x18\x04 \x03(\x0b\x32\x06.Point\"Q\n\nSearchData\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x11\n\toperation\x18\x02 \x01(\t\x12\"\n\x07results\x18\x03 \x03(\x0b\x32\x11.SearchDataResultb\x06proto3'
  ,
  dependencies=[google_dot_protobuf_dot_struct__pb2.DESCRIPTOR,common__pb2.DESCRIPTOR,])




_SEARCHDATARESULTITEMIMAGE = _descriptor.Descriptor(
  name='SearchDataResultItemImage',
  full_name='SearchDataResultItemImage',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='url', full_name='SearchDataResultItemImage.url', 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,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=60,
  serialized_end=100,
)


_SEARCHDATARESULTITEM = _descriptor.Descriptor(
  name='SearchDataResultItem',
  full_name='SearchDataResultItem',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='id', full_name='SearchDataResultItem.id', 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,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='source', full_name='SearchDataResultItem.source', index=1,
      number=2, 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='image', full_name='SearchDataResultItem.image', 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,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='score', full_name='SearchDataResultItem.score', index=3,
      number=4, 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,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='topicality', full_name='SearchDataResultItem.topicality', index=4,
      number=5, 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,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=103,
  serialized_end=256,
)


_SEARCHDATARESULT = _descriptor.Descriptor(
  name='SearchDataResult',
  full_name='SearchDataResult',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='dataset_id', full_name='SearchDataResult.dataset_id', 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,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='keywords', full_name='SearchDataResult.keywords', index=1,
      number=2, 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,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='items', full_name='SearchDataResult.items', 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,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='roi', full_name='SearchDataResult.roi', 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,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=258,
  serialized_end=373,
)


_SEARCHDATA = _descriptor.Descriptor(
  name='SearchData',
  full_name='SearchData',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='type', full_name='SearchData.type', 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,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='operation', full_name='SearchData.operation', 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,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='results', full_name='SearchData.results', 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,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=375,
  serialized_end=456,
)

_SEARCHDATARESULTITEM.fields_by_name['source'].message_type = google_dot_protobuf_dot_struct__pb2._STRUCT
_SEARCHDATARESULTITEM.fields_by_name['image'].message_type = _SEARCHDATARESULTITEMIMAGE
_SEARCHDATARESULT.fields_by_name['items'].message_type = _SEARCHDATARESULTITEM
_SEARCHDATARESULT.fields_by_name['roi'].message_type = common__pb2._POINT
_SEARCHDATA.fields_by_name['results'].message_type = _SEARCHDATARESULT
DESCRIPTOR.message_types_by_name['SearchDataResultItemImage'] = _SEARCHDATARESULTITEMIMAGE
DESCRIPTOR.message_types_by_name['SearchDataResultItem'] = _SEARCHDATARESULTITEM
DESCRIPTOR.message_types_by_name['SearchDataResult'] = _SEARCHDATARESULT
DESCRIPTOR.message_types_by_name['SearchData'] = _SEARCHDATA
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

SearchDataResultItemImage = _reflection.GeneratedProtocolMessageType('SearchDataResultItemImage', (_message.Message,), {
  'DESCRIPTOR' : _SEARCHDATARESULTITEMIMAGE,
  '__module__' : 'search_pb2'
  # @@protoc_insertion_point(class_scope:SearchDataResultItemImage)
  })
_sym_db.RegisterMessage(SearchDataResultItemImage)

SearchDataResultItem = _reflection.GeneratedProtocolMessageType('SearchDataResultItem', (_message.Message,), {
  'DESCRIPTOR' : _SEARCHDATARESULTITEM,
  '__module__' : 'search_pb2'
  # @@protoc_insertion_point(class_scope:SearchDataResultItem)
  })
_sym_db.RegisterMessage(SearchDataResultItem)

SearchDataResult = _reflection.GeneratedProtocolMessageType('SearchDataResult', (_message.Message,), {
  'DESCRIPTOR' : _SEARCHDATARESULT,
  '__module__' : 'search_pb2'
  # @@protoc_insertion_point(class_scope:SearchDataResult)
  })
_sym_db.RegisterMessage(SearchDataResult)

SearchData = _reflection.GeneratedProtocolMessageType('SearchData', (_message.Message,), {
  'DESCRIPTOR' : _SEARCHDATA,
  '__module__' : 'search_pb2'
  # @@protoc_insertion_point(class_scope:SearchData)
  })
_sym_db.RegisterMessage(SearchData)


# @@protoc_insertion_point(module_scope)
