# Generated by the protocol buffer compiler.  DO NOT EDIT!

from google.protobuf import descriptor
from google.protobuf import message
from google.protobuf import reflection
from google.protobuf import descriptor_pb2
# @@protoc_insertion_point(imports)



DESCRIPTOR = descriptor.FileDescriptor(
  name='rtyserver.proto',
  package='NRTYServer',
  serialized_pb='\n\x0frtyserver.proto\x12\nNRTYServer\"\x92\x08\n\x08TMessage\x12\x15\n\rDiffIndexMids\x18\x03 \x03(\x04\x12\x1a\n\x12\x44iffIndexTimestamp\x18\x04 \x01(\r\x12\x36\n\x0bMessageType\x18\x01 \x02(\x0e\x32!.NRTYServer.TMessage.TMessageType\x12\x30\n\x08\x44ocument\x18\x02 \x01(\x0b\x32\x1e.NRTYServer.TMessage.TDocument\x12\x11\n\tMessageId\x18\x05 \x01(\x04\x1a\x89\x05\n\tTDocument\x12\x0b\n\x03Url\x18\x01 \x02(\t\x12\x10\n\x08MimeType\x18\x02 \x01(\t\x12\x0f\n\x07\x43harset\x18\x03 \x01(\t\x12\x10\n\x08Language\x18\x0b \x01(\t\x12\x11\n\tLanguage2\x18\x0c \x01(\t\x12\x1d\n\x15ModificationTimestamp\x18\x05 \x01(\x05\x12\x0c\n\x04\x42ody\x18\x06 \x01(\t\x12\x11\n\tKeyPrefix\x18\n \x01(\x03\x12\x43\n\x10SearchAttributes\x18\x07 \x03(\x0b\x32).NRTYServer.TMessage.TDocument.TAttribute\x12\x42\n\x0fGroupAttributes\x18\x08 \x03(\x0b\x32).NRTYServer.TMessage.TDocument.TAttribute\x12\x44\n\x12\x44ocumentProperties\x18\t \x03(\x0b\x32(.NRTYServer.TMessage.TDocument.TProperty\x12:\n\x07\x46\x61\x63tors\x18\r \x03(\x0b\x32).NRTYServer.TMessage.TDocument.TAttribute\x1a\xb1\x01\n\nTAttribute\x12\x0c\n\x04Name\x18\x01 \x02(\t\x12\x46\n\x04Type\x18\x03 \x02(\x0e\x32\x38.NRTYServer.TMessage.TDocument.TAttribute.TAttributeType\x12\r\n\x05Value\x18\x02 \x02(\t\">\n\x0eTAttributeType\x12\x15\n\x11LITERAL_ATTRIBUTE\x10\x00\x12\x15\n\x11INTEGER_ATTRIBUTE\x10\x01\x1a(\n\tTProperty\x12\x0c\n\x04Name\x18\x01 \x02(\t\x12\r\n\x05Value\x18\x02 \x02(\t\"\xc9\x01\n\x0cTMessageType\x12\x10\n\x0c\x41\x44\x44_DOCUMENT\x10\x00\x12\x1d\n\x19\x41\x44\x44_DOCUMENT_IF_NOT_ADDED\x10\x07\x12\"\n\x1e\x41\x44\x44_DOCUMENT_IF_NOT_ADDED_FAST\x10\x08\x12\x13\n\x0fMODIFY_DOCUMENT\x10\x01\x12\x13\n\x0f\x44\x45LETE_DOCUMENT\x10\x02\x12\x13\n\x0fREOPEN_INDEXERS\x10\x04\x12\x11\n\rFLUSH_INDEXER\x10\t\x12\x12\n\x0eREOPEN_INDEXER\x10\n\"\xd3\x01\n\x06TReply\x12\x11\n\tMessageId\x18\x01 \x02(\x04\x12\x0e\n\x06Status\x18\x02 \x02(\x05\x12\x15\n\rStatusMessage\x18\x03 \x01(\t\x12\x10\n\x08HostName\x18\x04 \x01(\t\"}\n\x07TStatus\x12\x06\n\x02OK\x10\x00\x12\n\n\x06NOTNOW\x10\x01\x12\x16\n\x12INCORRECT_DOCUMENT\x10\x02\x12\x0f\n\x0bSEND_FAILED\x10\x04\x12\x0f\n\x0bREAD_FAILED\x10\x05\x12\x10\n\x0cSTORE_FAILED\x10\x06\x12\x12\n\x0eINTERNAL_ERROR\x10\x07')



_TMESSAGE_TDOCUMENT_TATTRIBUTE_TATTRIBUTETYPE = descriptor.EnumDescriptor(
  name='TAttributeType',
  full_name='NRTYServer.TMessage.TDocument.TAttribute.TAttributeType',
  filename=None,
  file=DESCRIPTOR,
  values=[
    descriptor.EnumValueDescriptor(
      name='LITERAL_ATTRIBUTE', index=0, number=0,
      options=None,
      type=None),
    descriptor.EnumValueDescriptor(
      name='INTEGER_ATTRIBUTE', index=1, number=1,
      options=None,
      type=None),
  ],
  containing_type=None,
  options=None,
  serialized_start=766,
  serialized_end=828,
)

_TMESSAGE_TMESSAGETYPE = descriptor.EnumDescriptor(
  name='TMessageType',
  full_name='NRTYServer.TMessage.TMessageType',
  filename=None,
  file=DESCRIPTOR,
  values=[
    descriptor.EnumValueDescriptor(
      name='ADD_DOCUMENT', index=0, number=0,
      options=None,
      type=None),
    descriptor.EnumValueDescriptor(
      name='ADD_DOCUMENT_IF_NOT_ADDED', index=1, number=7,
      options=None,
      type=None),
    descriptor.EnumValueDescriptor(
      name='ADD_DOCUMENT_IF_NOT_ADDED_FAST', index=2, number=8,
      options=None,
      type=None),
    descriptor.EnumValueDescriptor(
      name='MODIFY_DOCUMENT', index=3, number=1,
      options=None,
      type=None),
    descriptor.EnumValueDescriptor(
      name='DELETE_DOCUMENT', index=4, number=2,
      options=None,
      type=None),
    descriptor.EnumValueDescriptor(
      name='REOPEN_INDEXERS', index=5, number=4,
      options=None,
      type=None),
    descriptor.EnumValueDescriptor(
      name='FLUSH_INDEXER', index=6, number=9,
      options=None,
      type=None),
    descriptor.EnumValueDescriptor(
      name='REOPEN_INDEXER', index=7, number=10,
      options=None,
      type=None),
  ],
  containing_type=None,
  options=None,
  serialized_start=873,
  serialized_end=1074,
)

_TREPLY_TSTATUS = descriptor.EnumDescriptor(
  name='TStatus',
  full_name='NRTYServer.TReply.TStatus',
  filename=None,
  file=DESCRIPTOR,
  values=[
    descriptor.EnumValueDescriptor(
      name='OK', index=0, number=0,
      options=None,
      type=None),
    descriptor.EnumValueDescriptor(
      name='NOTNOW', index=1, number=1,
      options=None,
      type=None),
    descriptor.EnumValueDescriptor(
      name='INCORRECT_DOCUMENT', index=2, number=2,
      options=None,
      type=None),
    descriptor.EnumValueDescriptor(
      name='SEND_FAILED', index=3, number=4,
      options=None,
      type=None),
    descriptor.EnumValueDescriptor(
      name='READ_FAILED', index=4, number=5,
      options=None,
      type=None),
    descriptor.EnumValueDescriptor(
      name='STORE_FAILED', index=5, number=6,
      options=None,
      type=None),
    descriptor.EnumValueDescriptor(
      name='INTERNAL_ERROR', index=6, number=7,
      options=None,
      type=None),
  ],
  containing_type=None,
  options=None,
  serialized_start=1163,
  serialized_end=1288,
)


_TMESSAGE_TDOCUMENT_TATTRIBUTE = descriptor.Descriptor(
  name='TAttribute',
  full_name='NRTYServer.TMessage.TDocument.TAttribute',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    descriptor.FieldDescriptor(
      name='Name', full_name='NRTYServer.TMessage.TDocument.TAttribute.Name', index=0,
      number=1, type=9, cpp_type=9, label=2,
      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='Type', full_name='NRTYServer.TMessage.TDocument.TAttribute.Type', index=1,
      number=3, type=14, cpp_type=8, label=2,
      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='Value', full_name='NRTYServer.TMessage.TDocument.TAttribute.Value', index=2,
      number=2, type=9, cpp_type=9, label=2,
      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=[
    _TMESSAGE_TDOCUMENT_TATTRIBUTE_TATTRIBUTETYPE,
  ],
  options=None,
  is_extendable=False,
  extension_ranges=[],
  serialized_start=651,
  serialized_end=828,
)

_TMESSAGE_TDOCUMENT_TPROPERTY = descriptor.Descriptor(
  name='TProperty',
  full_name='NRTYServer.TMessage.TDocument.TProperty',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    descriptor.FieldDescriptor(
      name='Name', full_name='NRTYServer.TMessage.TDocument.TProperty.Name', index=0,
      number=1, type=9, cpp_type=9, label=2,
      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='Value', full_name='NRTYServer.TMessage.TDocument.TProperty.Value', index=1,
      number=2, type=9, cpp_type=9, label=2,
      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=830,
  serialized_end=870,
)

_TMESSAGE_TDOCUMENT = descriptor.Descriptor(
  name='TDocument',
  full_name='NRTYServer.TMessage.TDocument',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    descriptor.FieldDescriptor(
      name='Url', full_name='NRTYServer.TMessage.TDocument.Url', index=0,
      number=1, type=9, cpp_type=9, label=2,
      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='MimeType', full_name='NRTYServer.TMessage.TDocument.MimeType', 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='Charset', full_name='NRTYServer.TMessage.TDocument.Charset', 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),
    descriptor.FieldDescriptor(
      name='Language', full_name='NRTYServer.TMessage.TDocument.Language', index=3,
      number=11, 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='Language2', full_name='NRTYServer.TMessage.TDocument.Language2', index=4,
      number=12, 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='ModificationTimestamp', full_name='NRTYServer.TMessage.TDocument.ModificationTimestamp', index=5,
      number=5, type=5, cpp_type=1, 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='Body', full_name='NRTYServer.TMessage.TDocument.Body', index=6,
      number=6, 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='KeyPrefix', full_name='NRTYServer.TMessage.TDocument.KeyPrefix', index=7,
      number=10, type=3, cpp_type=2, 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='SearchAttributes', full_name='NRTYServer.TMessage.TDocument.SearchAttributes', index=8,
      number=7, 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),
    descriptor.FieldDescriptor(
      name='GroupAttributes', full_name='NRTYServer.TMessage.TDocument.GroupAttributes', index=9,
      number=8, 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),
    descriptor.FieldDescriptor(
      name='DocumentProperties', full_name='NRTYServer.TMessage.TDocument.DocumentProperties', index=10,
      number=9, 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),
    descriptor.FieldDescriptor(
      name='Factors', full_name='NRTYServer.TMessage.TDocument.Factors', index=11,
      number=13, 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=[_TMESSAGE_TDOCUMENT_TATTRIBUTE, _TMESSAGE_TDOCUMENT_TPROPERTY, ],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  extension_ranges=[],
  serialized_start=221,
  serialized_end=870,
)

_TMESSAGE = descriptor.Descriptor(
  name='TMessage',
  full_name='NRTYServer.TMessage',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    descriptor.FieldDescriptor(
      name='DiffIndexMids', full_name='NRTYServer.TMessage.DiffIndexMids', index=0,
      number=3, type=4, cpp_type=4, 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),
    descriptor.FieldDescriptor(
      name='DiffIndexTimestamp', full_name='NRTYServer.TMessage.DiffIndexTimestamp', index=1,
      number=4, type=13, cpp_type=3, 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='MessageType', full_name='NRTYServer.TMessage.MessageType', index=2,
      number=1, type=14, cpp_type=8, label=2,
      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='Document', full_name='NRTYServer.TMessage.Document', index=3,
      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,
      options=None),
    descriptor.FieldDescriptor(
      name='MessageId', full_name='NRTYServer.TMessage.MessageId', index=4,
      number=5, type=4, cpp_type=4, 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),
  ],
  extensions=[
  ],
  nested_types=[_TMESSAGE_TDOCUMENT, ],
  enum_types=[
    _TMESSAGE_TMESSAGETYPE,
  ],
  options=None,
  is_extendable=False,
  extension_ranges=[],
  serialized_start=32,
  serialized_end=1074,
)


_TREPLY = descriptor.Descriptor(
  name='TReply',
  full_name='NRTYServer.TReply',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    descriptor.FieldDescriptor(
      name='MessageId', full_name='NRTYServer.TReply.MessageId', index=0,
      number=1, type=4, cpp_type=4, label=2,
      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='Status', full_name='NRTYServer.TReply.Status', index=1,
      number=2, type=5, cpp_type=1, label=2,
      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='StatusMessage', full_name='NRTYServer.TReply.StatusMessage', 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),
    descriptor.FieldDescriptor(
      name='HostName', full_name='NRTYServer.TReply.HostName', index=3,
      number=4, 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=[
    _TREPLY_TSTATUS,
  ],
  options=None,
  is_extendable=False,
  extension_ranges=[],
  serialized_start=1077,
  serialized_end=1288,
)

_TMESSAGE_TDOCUMENT_TATTRIBUTE.fields_by_name['Type'].enum_type = _TMESSAGE_TDOCUMENT_TATTRIBUTE_TATTRIBUTETYPE
_TMESSAGE_TDOCUMENT_TATTRIBUTE.containing_type = _TMESSAGE_TDOCUMENT;
_TMESSAGE_TDOCUMENT_TATTRIBUTE_TATTRIBUTETYPE.containing_type = _TMESSAGE_TDOCUMENT_TATTRIBUTE;
_TMESSAGE_TDOCUMENT_TPROPERTY.containing_type = _TMESSAGE_TDOCUMENT;
_TMESSAGE_TDOCUMENT.fields_by_name['SearchAttributes'].message_type = _TMESSAGE_TDOCUMENT_TATTRIBUTE
_TMESSAGE_TDOCUMENT.fields_by_name['GroupAttributes'].message_type = _TMESSAGE_TDOCUMENT_TATTRIBUTE
_TMESSAGE_TDOCUMENT.fields_by_name['DocumentProperties'].message_type = _TMESSAGE_TDOCUMENT_TPROPERTY
_TMESSAGE_TDOCUMENT.fields_by_name['Factors'].message_type = _TMESSAGE_TDOCUMENT_TATTRIBUTE
_TMESSAGE_TDOCUMENT.containing_type = _TMESSAGE;
_TMESSAGE.fields_by_name['MessageType'].enum_type = _TMESSAGE_TMESSAGETYPE
_TMESSAGE.fields_by_name['Document'].message_type = _TMESSAGE_TDOCUMENT
_TMESSAGE_TMESSAGETYPE.containing_type = _TMESSAGE;
_TREPLY_TSTATUS.containing_type = _TREPLY;
DESCRIPTOR.message_types_by_name['TMessage'] = _TMESSAGE
DESCRIPTOR.message_types_by_name['TReply'] = _TREPLY

class TMessage(message.Message):
  __metaclass__ = reflection.GeneratedProtocolMessageType
  
  class TDocument(message.Message):
    __metaclass__ = reflection.GeneratedProtocolMessageType
    
    class TAttribute(message.Message):
      __metaclass__ = reflection.GeneratedProtocolMessageType
      DESCRIPTOR = _TMESSAGE_TDOCUMENT_TATTRIBUTE
      
      # @@protoc_insertion_point(class_scope:NRTYServer.TMessage.TDocument.TAttribute)
    
    class TProperty(message.Message):
      __metaclass__ = reflection.GeneratedProtocolMessageType
      DESCRIPTOR = _TMESSAGE_TDOCUMENT_TPROPERTY
      
      # @@protoc_insertion_point(class_scope:NRTYServer.TMessage.TDocument.TProperty)
    DESCRIPTOR = _TMESSAGE_TDOCUMENT
    
    # @@protoc_insertion_point(class_scope:NRTYServer.TMessage.TDocument)
  DESCRIPTOR = _TMESSAGE
  
  # @@protoc_insertion_point(class_scope:NRTYServer.TMessage)

class TReply(message.Message):
  __metaclass__ = reflection.GeneratedProtocolMessageType
  DESCRIPTOR = _TREPLY
  
  # @@protoc_insertion_point(class_scope:NRTYServer.TReply)

# @@protoc_insertion_point(module_scope)
