# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: nexus/hub/proto/submitter_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 DESCRIPTOR = _descriptor.FileDescriptor( name='nexus/hub/proto/submitter_service.proto', package='nexus.hub.proto', syntax='proto3', serialized_options=None, create_key=_descriptor._internal_create_key, serialized_pb=b'\n\'nexus/hub/proto/submitter_service.proto\x12\x0fnexus.hub.proto\x1a(idm/api/proto/chat_manager_service.proto\"g\n\rSubmitRequest\x12\x19\n\x11telegram_document\x18\x01 \x01(\x0c\x12\x18\n\x10telegram_file_id\x18\x02 \x01(\t\x12!\n\x04\x63hat\x18\x03 \x01(\x0b\x32\x13.idm.api.proto.Chat\"\x10\n\x0eSubmitResponse2X\n\tSubmitter\x12K\n\x06submit\x12\x1e.nexus.hub.proto.SubmitRequest\x1a\x1f.nexus.hub.proto.SubmitResponse\"\x00\x62\x06proto3' , dependencies=[idm_dot_api_dot_proto_dot_chat__manager__service__pb2.DESCRIPTOR,]) _SUBMITREQUEST = _descriptor.Descriptor( name='SubmitRequest', full_name='nexus.hub.proto.SubmitRequest', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='telegram_document', full_name='nexus.hub.proto.SubmitRequest.telegram_document', index=0, number=1, 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='telegram_file_id', full_name='nexus.hub.proto.SubmitRequest.telegram_file_id', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='chat', full_name='nexus.hub.proto.SubmitRequest.chat', index=2, number=3, 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=102, serialized_end=205, ) _SUBMITRESPONSE = _descriptor.Descriptor( name='SubmitResponse', full_name='nexus.hub.proto.SubmitResponse', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=207, serialized_end=223, ) _SUBMITREQUEST.fields_by_name['chat'].message_type = idm_dot_api_dot_proto_dot_chat__manager__service__pb2._CHAT DESCRIPTOR.message_types_by_name['SubmitRequest'] = _SUBMITREQUEST DESCRIPTOR.message_types_by_name['SubmitResponse'] = _SUBMITRESPONSE _sym_db.RegisterFileDescriptor(DESCRIPTOR) SubmitRequest = _reflection.GeneratedProtocolMessageType('SubmitRequest', (_message.Message,), { 'DESCRIPTOR' : _SUBMITREQUEST, '__module__' : 'nexus.hub.proto.submitter_service_pb2' # @@protoc_insertion_point(class_scope:nexus.hub.proto.SubmitRequest) }) _sym_db.RegisterMessage(SubmitRequest) SubmitResponse = _reflection.GeneratedProtocolMessageType('SubmitResponse', (_message.Message,), { 'DESCRIPTOR' : _SUBMITRESPONSE, '__module__' : 'nexus.hub.proto.submitter_service_pb2' # @@protoc_insertion_point(class_scope:nexus.hub.proto.SubmitResponse) }) _sym_db.RegisterMessage(SubmitResponse) _SUBMITTER = _descriptor.ServiceDescriptor( name='Submitter', full_name='nexus.hub.proto.Submitter', file=DESCRIPTOR, index=0, serialized_options=None, create_key=_descriptor._internal_create_key, serialized_start=225, serialized_end=313, methods=[ _descriptor.MethodDescriptor( name='submit', full_name='nexus.hub.proto.Submitter.submit', index=0, containing_service=None, input_type=_SUBMITREQUEST, output_type=_SUBMITRESPONSE, serialized_options=None, create_key=_descriptor._internal_create_key, ), ]) _sym_db.RegisterServiceDescriptor(_SUBMITTER) DESCRIPTOR.services_by_name['Submitter'] = _SUBMITTER # @@protoc_insertion_point(module_scope)