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


from ighap_bot.proto import Request_pb2 as Request__pb2
from ighap_bot.proto import Response_pb2 as Response__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='FileUploadStatus.proto',
  package='proto',
  syntax='proto3',
  serialized_pb=_b('\n\x16\x46ileUploadStatus.proto\x12\x05proto\x1a\rRequest.proto\x1a\x0eResponse.proto\"B\n\x10\x46ileUploadStatus\x12\x1f\n\x07request\x18\x01 \x01(\x0b\x32\x0e.proto.Request\x12\r\n\x05token\x18\x02 \x01(\t\"\xe8\x01\n\x18\x46ileUploadStatusResponse\x12!\n\x08response\x18\x01 \x01(\x0b\x32\x0f.proto.Response\x12\x36\n\x06status\x18\x02 \x01(\x0e\x32&.proto.FileUploadStatusResponse.Status\x12\x10\n\x08progress\x18\x03 \x01(\x01\x12\x18\n\x10recheck_delay_ms\x18\x04 \x01(\r\"E\n\x06Status\x12\r\n\tUPLOADING\x10\x00\x12\x0e\n\nPROCESSING\x10\x01\x12\r\n\tPROCESSED\x10\x02\x12\r\n\tCORRUPTED\x10\x03\x42\'\n\x0enet.iGap.protoB\x15ProtoFileUploadStatusb\x06proto3')
  ,
  dependencies=[Request__pb2.DESCRIPTOR,Response__pb2.DESCRIPTOR,])
_sym_db.RegisterFileDescriptor(DESCRIPTOR)



_FILEUPLOADSTATUSRESPONSE_STATUS = _descriptor.EnumDescriptor(
  name='Status',
  full_name='proto.FileUploadStatusResponse.Status',
  filename=None,
  file=DESCRIPTOR,
  values=[
    _descriptor.EnumValueDescriptor(
      name='UPLOADING', index=0, number=0,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='PROCESSING', index=1, number=1,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='PROCESSED', index=2, number=2,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='CORRUPTED', index=3, number=3,
      options=None,
      type=None),
  ],
  containing_type=None,
  options=None,
  serialized_start=296,
  serialized_end=365,
)
_sym_db.RegisterEnumDescriptor(_FILEUPLOADSTATUSRESPONSE_STATUS)


_FILEUPLOADSTATUS = _descriptor.Descriptor(
  name='FileUploadStatus',
  full_name='proto.FileUploadStatus',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='request', full_name='proto.FileUploadStatus.request', 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),
    _descriptor.FieldDescriptor(
      name='token', full_name='proto.FileUploadStatus.token', 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),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=64,
  serialized_end=130,
)


_FILEUPLOADSTATUSRESPONSE = _descriptor.Descriptor(
  name='FileUploadStatusResponse',
  full_name='proto.FileUploadStatusResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='response', full_name='proto.FileUploadStatusResponse.response', 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),
    _descriptor.FieldDescriptor(
      name='status', full_name='proto.FileUploadStatusResponse.status', index=1,
      number=2, 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='progress', full_name='proto.FileUploadStatusResponse.progress', index=2,
      number=3, type=1, cpp_type=5, 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),
    _descriptor.FieldDescriptor(
      name='recheck_delay_ms', full_name='proto.FileUploadStatusResponse.recheck_delay_ms', index=3,
      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),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
    _FILEUPLOADSTATUSRESPONSE_STATUS,
  ],
  options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=133,
  serialized_end=365,
)

_FILEUPLOADSTATUS.fields_by_name['request'].message_type = Request__pb2._REQUEST
_FILEUPLOADSTATUSRESPONSE.fields_by_name['response'].message_type = Response__pb2._RESPONSE
_FILEUPLOADSTATUSRESPONSE.fields_by_name['status'].enum_type = _FILEUPLOADSTATUSRESPONSE_STATUS
_FILEUPLOADSTATUSRESPONSE_STATUS.containing_type = _FILEUPLOADSTATUSRESPONSE
DESCRIPTOR.message_types_by_name['FileUploadStatus'] = _FILEUPLOADSTATUS
DESCRIPTOR.message_types_by_name['FileUploadStatusResponse'] = _FILEUPLOADSTATUSRESPONSE

FileUploadStatus = _reflection.GeneratedProtocolMessageType('FileUploadStatus', (_message.Message,), dict(
  DESCRIPTOR = _FILEUPLOADSTATUS,
  __module__ = 'FileUploadStatus_pb2'
  # @@protoc_insertion_point(class_scope:proto.FileUploadStatus)
  ))
_sym_db.RegisterMessage(FileUploadStatus)

FileUploadStatusResponse = _reflection.GeneratedProtocolMessageType('FileUploadStatusResponse', (_message.Message,), dict(
  DESCRIPTOR = _FILEUPLOADSTATUSRESPONSE,
  __module__ = 'FileUploadStatus_pb2'
  # @@protoc_insertion_point(class_scope:proto.FileUploadStatusResponse)
  ))
_sym_db.RegisterMessage(FileUploadStatusResponse)


DESCRIPTOR.has_options = True
DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('\n\016net.iGap.protoB\025ProtoFileUploadStatus'))
# @@protoc_insertion_point(module_scope)
