# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: FileUploadInit.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='FileUploadInit.proto',
  package='proto',
  syntax='proto3',
  serialized_pb=_b('\n\x14\x46ileUploadInit.proto\x12\x05proto\x1a\rRequest.proto\x1a\x0eResponse.proto\"\x8e\x01\n\x0e\x46ileUploadInit\x12\x1f\n\x07request\x18\x01 \x01(\x0b\x32\x0e.proto.Request\x12\x13\n\x0b\x66irst_bytes\x18\x02 \x01(\x0c\x12\x12\n\nlast_bytes\x18\x03 \x01(\x0c\x12\x0c\n\x04size\x18\x04 \x01(\x03\x12\x11\n\tfile_hash\x18\x05 \x01(\x0c\x12\x11\n\tfile_name\x18\x06 \x01(\t\"{\n\x16\x46ileUploadInitResponse\x12!\n\x08response\x18\x01 \x01(\x0b\x32\x0f.proto.Response\x12\r\n\x05token\x18\x02 \x01(\t\x12\x10\n\x08progress\x18\x03 \x01(\x01\x12\x0e\n\x06offset\x18\x04 \x01(\x03\x12\r\n\x05limit\x18\x05 \x01(\x05\x42%\n\x0enet.iGap.protoB\x13ProtoFileUploadInitb\x06proto3')
  ,
  dependencies=[Request__pb2.DESCRIPTOR,Response__pb2.DESCRIPTOR,])
_sym_db.RegisterFileDescriptor(DESCRIPTOR)




_FILEUPLOADINIT = _descriptor.Descriptor(
  name='FileUploadInit',
  full_name='proto.FileUploadInit',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='request', full_name='proto.FileUploadInit.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='first_bytes', full_name='proto.FileUploadInit.first_bytes', index=1,
      number=2, type=12, cpp_type=9, label=1,
      has_default_value=False, default_value=_b(""),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='last_bytes', full_name='proto.FileUploadInit.last_bytes', index=2,
      number=3, type=12, cpp_type=9, label=1,
      has_default_value=False, default_value=_b(""),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='size', full_name='proto.FileUploadInit.size', index=3,
      number=4, 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='file_hash', full_name='proto.FileUploadInit.file_hash', index=4,
      number=5, type=12, cpp_type=9, label=1,
      has_default_value=False, default_value=_b(""),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='file_name', full_name='proto.FileUploadInit.file_name', index=5,
      number=6, 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=63,
  serialized_end=205,
)


_FILEUPLOADINITRESPONSE = _descriptor.Descriptor(
  name='FileUploadInitResponse',
  full_name='proto.FileUploadInitResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='response', full_name='proto.FileUploadInitResponse.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='token', full_name='proto.FileUploadInitResponse.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),
    _descriptor.FieldDescriptor(
      name='progress', full_name='proto.FileUploadInitResponse.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='offset', full_name='proto.FileUploadInitResponse.offset', index=3,
      number=4, 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='limit', full_name='proto.FileUploadInitResponse.limit', index=4,
      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),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=207,
  serialized_end=330,
)

_FILEUPLOADINIT.fields_by_name['request'].message_type = Request__pb2._REQUEST
_FILEUPLOADINITRESPONSE.fields_by_name['response'].message_type = Response__pb2._RESPONSE
DESCRIPTOR.message_types_by_name['FileUploadInit'] = _FILEUPLOADINIT
DESCRIPTOR.message_types_by_name['FileUploadInitResponse'] = _FILEUPLOADINITRESPONSE

FileUploadInit = _reflection.GeneratedProtocolMessageType('FileUploadInit', (_message.Message,), dict(
  DESCRIPTOR = _FILEUPLOADINIT,
  __module__ = 'FileUploadInit_pb2'
  # @@protoc_insertion_point(class_scope:proto.FileUploadInit)
  ))
_sym_db.RegisterMessage(FileUploadInit)

FileUploadInitResponse = _reflection.GeneratedProtocolMessageType('FileUploadInitResponse', (_message.Message,), dict(
  DESCRIPTOR = _FILEUPLOADINITRESPONSE,
  __module__ = 'FileUploadInit_pb2'
  # @@protoc_insertion_point(class_scope:proto.FileUploadInitResponse)
  ))
_sym_db.RegisterMessage(FileUploadInitResponse)


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