mirror of
https://github.com/nexus-stc/hyperboria
synced 2024-12-21 09:07:46 +01:00
681817ceae
GitOrigin-RevId: 83514338be1d662518bab9fe5ab6eefef98f229f
141 lines
4.5 KiB
Python
141 lines
4.5 KiB
Python
# -*- 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.api2.proto import \
|
|
chats_service_pb2 as idm_dot_api2_dot_proto_dot_chats__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/api2/proto/chats_service.proto\"R\n\rSubmitRequest\x12\x19\n\x11telegram_document\x18\x01 \x01(\x0c\x12&\n\x04\x63hat\x18\x02 \x01(\x0b\x32\x18.idm.api2.proto.ChatData\"\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_api2_dot_proto_dot_chats__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='chat', full_name='nexus.hub.proto.SubmitRequest.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=96,
|
|
serialized_end=178,
|
|
)
|
|
|
|
|
|
_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=180,
|
|
serialized_end=196,
|
|
)
|
|
|
|
_SUBMITREQUEST.fields_by_name['chat'].message_type = idm_dot_api2_dot_proto_dot_chats__service__pb2._CHATDATA
|
|
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=198,
|
|
serialized_end=286,
|
|
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)
|