text: # -*- coding: utf-8 -*-
  # Generated by the protocol buffer compiler.  DO NOT EDIT!
  # source: nexus/hub/proto/delivery_service.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 idm.api.proto import \
      chat_manager_service_pb2 as \
      idm_dot_api_dot_proto_dot_chat__manager__service__pb2
  from nexus.models.proto import \
      typed_document_pb2 as nexus_dot_models_dot_proto_dot_typed__document__pb2
  
  DESCRIPTOR = _descriptor.FileDescriptor(
    name='nexus/hub/proto/delivery_service.proto',
    package='nexus.hub.proto',
    syntax='proto3',
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
    serialized_pb=b'\n&nexus/hub/proto/delivery_service.proto\x12\x0fnexus.hub.proto\x1a\'nexus/models/proto/typed_document.proto\x1a(idm/api/proto/chat_manager_service.proto\"t\n\x14StartDeliveryRequest\x12\x39\n\x0etyped_document\x18\x01 \x01(\x0b\x32!.nexus.models.proto.TypedDocument\x12!\n\x04\x63hat\x18\x02 \x01(\x0b\x32\x13.idm.api.proto.Chat\"\x99\x01\n\x15StartDeliveryResponse\x12=\n\x06status\x18\x01 \x01(\x0e\x32-.nexus.hub.proto.StartDeliveryResponse.Status\"A\n\x06Status\x12\x06\n\x02OK\x10\x00\x12\x16\n\x12TOO_MANY_DOWNLOADS\x10\x01\x12\x17\n\x13\x41LREADY_DOWNLOADING\x10\x02\x32m\n\x08\x44\x65livery\x12\x61\n\x0estart_delivery\x12%.nexus.hub.proto.StartDeliveryRequest\x1a&.nexus.hub.proto.StartDeliveryResponse\"\x00\x62\x06proto3'
    ,
    dependencies=[nexus_dot_models_dot_proto_dot_typed__document__pb2.DESCRIPTOR,idm_dot_api_dot_proto_dot_chat__manager__service__pb2.DESCRIPTOR,])
  
  
  
  _STARTDELIVERYRESPONSE_STATUS = _descriptor.EnumDescriptor(
    name='Status',
    full_name='nexus.hub.proto.StartDeliveryResponse.Status',
    filename=None,
    file=DESCRIPTOR,
    create_key=_descriptor._internal_create_key,
    values=[
      _descriptor.EnumValueDescriptor(
        name='OK', index=0, number=0,
        serialized_options=None,
        type=None,
        create_key=_descriptor._internal_create_key),
      _descriptor.EnumValueDescriptor(
        name='TOO_MANY_DOWNLOADS', index=1, number=1,
        serialized_options=None,
        type=None,
        create_key=_descriptor._internal_create_key),
      _descriptor.EnumValueDescriptor(
        name='ALREADY_DOWNLOADING', index=2, number=2,
        serialized_options=None,
        type=None,
        create_key=_descriptor._internal_create_key),
    ],
    containing_type=None,
    serialized_options=None,
    serialized_start=349,
    serialized_end=414,
  )
  _sym_db.RegisterEnumDescriptor(_STARTDELIVERYRESPONSE_STATUS)
  
  
  _STARTDELIVERYREQUEST = _descriptor.Descriptor(
    name='StartDeliveryRequest',
    full_name='nexus.hub.proto.StartDeliveryRequest',
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    create_key=_descriptor._internal_create_key,
    fields=[
      _descriptor.FieldDescriptor(
        name='typed_document', full_name='nexus.hub.proto.StartDeliveryRequest.typed_document', 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,
        serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
      _descriptor.FieldDescriptor(
        name='chat', full_name='nexus.hub.proto.StartDeliveryRequest.chat', 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),
    ],
    extensions=[
    ],
    nested_types=[],
    enum_types=[
    ],
    serialized_options=None,
    is_extendable=False,
    syntax='proto3',
    extension_ranges=[],
    oneofs=[
    ],
    serialized_start=142,
    serialized_end=258,
  )
  
  
  _STARTDELIVERYRESPONSE = _descriptor.Descriptor(
    name='StartDeliveryResponse',
    full_name='nexus.hub.proto.StartDeliveryResponse',
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    create_key=_descriptor._internal_create_key,
    fields=[
      _descriptor.FieldDescriptor(
        name='status', full_name='nexus.hub.proto.StartDeliveryResponse.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,
        serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    ],
    extensions=[
    ],
    nested_types=[],
    enum_types=[
      _STARTDELIVERYRESPONSE_STATUS,
    ],
    serialized_options=None,
    is_extendable=False,
    syntax='proto3',
    extension_ranges=[],
    oneofs=[
    ],
    serialized_start=261,
    serialized_end=414,
  )
  
  _STARTDELIVERYREQUEST.fields_by_name['typed_document'].message_type = nexus_dot_models_dot_proto_dot_typed__document__pb2._TYPEDDOCUMENT
  _STARTDELIVERYREQUEST.fields_by_name['chat'].message_type = idm_dot_api_dot_proto_dot_chat__manager__service__pb2._CHAT
  _STARTDELIVERYRESPONSE.fields_by_name['status'].enum_type = _STARTDELIVERYRESPONSE_STATUS
  _STARTDELIVERYRESPONSE_STATUS.containing_type = _STARTDELIVERYRESPONSE
  DESCRIPTOR.message_types_by_name['StartDeliveryRequest'] = _STARTDELIVERYREQUEST
  DESCRIPTOR.message_types_by_name['StartDeliveryResponse'] = _STARTDELIVERYRESPONSE
  _sym_db.RegisterFileDescriptor(DESCRIPTOR)
  
  StartDeliveryRequest = _reflection.GeneratedProtocolMessageType('StartDeliveryRequest', (_message.Message,), {
    'DESCRIPTOR' : _STARTDELIVERYREQUEST,
    '__module__' : 'nexus.hub.proto.delivery_service_pb2'
    # @@protoc_insertion_point(class_scope:nexus.hub.proto.StartDeliveryRequest)
    })
  _sym_db.RegisterMessage(StartDeliveryRequest)
  
  StartDeliveryResponse = _reflection.GeneratedProtocolMessageType('StartDeliveryResponse', (_message.Message,), {
    'DESCRIPTOR' : _STARTDELIVERYRESPONSE,
    '__module__' : 'nexus.hub.proto.delivery_service_pb2'
    # @@protoc_insertion_point(class_scope:nexus.hub.proto.StartDeliveryResponse)
    })
  _sym_db.RegisterMessage(StartDeliveryResponse)
  
  
  
  _DELIVERY = _descriptor.ServiceDescriptor(
    name='Delivery',
    full_name='nexus.hub.proto.Delivery',
    file=DESCRIPTOR,
    index=0,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
    serialized_start=416,
    serialized_end=525,
    methods=[
    _descriptor.MethodDescriptor(
      name='start_delivery',
      full_name='nexus.hub.proto.Delivery.start_delivery',
      index=0,
      containing_service=None,
      input_type=_STARTDELIVERYREQUEST,
      output_type=_STARTDELIVERYRESPONSE,
      serialized_options=None,
      create_key=_descriptor._internal_create_key,
    ),
  ])
  _sym_db.RegisterServiceDescriptor(_DELIVERY)
  
  DESCRIPTOR.services_by_name['Delivery'] = _DELIVERY
  
  # @@protoc_insertion_point(module_scope)
  