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




DESCRIPTOR = _descriptor.FileDescriptor(
  name='search.proto',
  package='image.collections',
  serialized_pb='\n\x0csearch.proto\x12\x11image.collections\"\xac\x02\n\x12\x43orpusSearchResult\x12<\n\x06status\x18\x01 \x01(\x0e\x32,.image.collections.CorpusSearchResult.Status\x12\x41\n\x07results\x18\x02 \x03(\x0b\x32\x30.image.collections.CorpusSearchResult.ClipResult\x1a=\n\nClipResult\x12\x0f\n\x07\x63lip_id\x18\x01 \x01(\t\x12\r\n\x05title\x18\x02 \x01(\t\x12\x0f\n\x07snippet\x18\x03 \x01(\t\"V\n\x06Status\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x06\n\x02OK\x10\x01\x12\x0e\n\nFAILED_RPC\x10\x02\x12\x14\n\x10NO_VALID_BACKEND\x10\x03\x12\x11\n\rINVALID_INPUT\x10\x04\x42\x02H\x03')



_CORPUSSEARCHRESULT_STATUS = _descriptor.EnumDescriptor(
  name='Status',
  full_name='image.collections.CorpusSearchResult.Status',
  filename=None,
  file=DESCRIPTOR,
  values=[
    _descriptor.EnumValueDescriptor(
      name='UNKNOWN', index=0, number=0,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='OK', index=1, number=1,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='FAILED_RPC', index=2, number=2,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='NO_VALID_BACKEND', index=3, number=3,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='INVALID_INPUT', index=4, number=4,
      options=None,
      type=None),
  ],
  containing_type=None,
  options=None,
  serialized_start=250,
  serialized_end=336,
)


_CORPUSSEARCHRESULT_CLIPRESULT = _descriptor.Descriptor(
  name='ClipResult',
  full_name='image.collections.CorpusSearchResult.ClipResult',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='clip_id', full_name='image.collections.CorpusSearchResult.ClipResult.clip_id', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=unicode("", "utf-8"),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='title', full_name='image.collections.CorpusSearchResult.ClipResult.title', index=1,
      number=2, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=unicode("", "utf-8"),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='snippet', full_name='image.collections.CorpusSearchResult.ClipResult.snippet', index=2,
      number=3, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=unicode("", "utf-8"),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  extension_ranges=[],
  serialized_start=187,
  serialized_end=248,
)

_CORPUSSEARCHRESULT = _descriptor.Descriptor(
  name='CorpusSearchResult',
  full_name='image.collections.CorpusSearchResult',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='status', full_name='image.collections.CorpusSearchResult.status', index=0,
      number=1, 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,
      options=None),
    _descriptor.FieldDescriptor(
      name='results', full_name='image.collections.CorpusSearchResult.results', index=1,
      number=2, 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),
  ],
  extensions=[
  ],
  nested_types=[_CORPUSSEARCHRESULT_CLIPRESULT, ],
  enum_types=[
    _CORPUSSEARCHRESULT_STATUS,
  ],
  options=None,
  is_extendable=False,
  extension_ranges=[],
  serialized_start=36,
  serialized_end=336,
)

_CORPUSSEARCHRESULT_CLIPRESULT.containing_type = _CORPUSSEARCHRESULT;
_CORPUSSEARCHRESULT.fields_by_name['status'].enum_type = _CORPUSSEARCHRESULT_STATUS
_CORPUSSEARCHRESULT.fields_by_name['results'].message_type = _CORPUSSEARCHRESULT_CLIPRESULT
_CORPUSSEARCHRESULT_STATUS.containing_type = _CORPUSSEARCHRESULT;
DESCRIPTOR.message_types_by_name['CorpusSearchResult'] = _CORPUSSEARCHRESULT

class CorpusSearchResult(_message.Message):
  __metaclass__ = _reflection.GeneratedProtocolMessageType

  class ClipResult(_message.Message):
    __metaclass__ = _reflection.GeneratedProtocolMessageType
    DESCRIPTOR = _CORPUSSEARCHRESULT_CLIPRESULT

    # @@protoc_insertion_point(class_scope:image.collections.CorpusSearchResult.ClipResult)
  DESCRIPTOR = _CORPUSSEARCHRESULT

  # @@protoc_insertion_point(class_scope:image.collections.CorpusSearchResult)


DESCRIPTOR.has_options = True
DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), 'H\003')
# @@protoc_insertion_point(module_scope)
