mirror of
https://github.com/nexus-stc/hyperboria
synced 2024-12-26 03:25:49 +01:00
8472f27ec5
GitOrigin-RevId: ddf02e70d2827c048db49b687ebbcdcc67807ca6
276 lines
15 KiB
Python
276 lines
15 KiB
Python
# -*- coding: utf-8 -*-
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# source: nexus/models/proto/scitech.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()
|
|
|
|
|
|
|
|
|
|
DESCRIPTOR = _descriptor.FileDescriptor(
|
|
name='nexus/models/proto/scitech.proto',
|
|
package='nexus.models.proto',
|
|
syntax='proto3',
|
|
serialized_options=None,
|
|
create_key=_descriptor._internal_create_key,
|
|
serialized_pb=b'\n nexus/models/proto/scitech.proto\x12\x12nexus.models.proto\"\xad\x04\n\x07Scitech\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x0f\n\x07\x61uthors\x18\x02 \x03(\t\x12\n\n\x02\x63u\x18\x03 \x01(\t\x12\x0e\n\x06\x63u_suf\x18\x04 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12\x0b\n\x03\x64oi\x18\x06 \x01(\t\x12\x17\n\x0f\x64ownloads_count\x18\x1c \x01(\r\x12\x0f\n\x07\x65\x64ition\x18\x07 \x01(\t\x12\x11\n\textension\x18\x08 \x01(\t\x12\x12\n\nfiction_id\x18\t \x01(\x03\x12\x10\n\x08\x66ilesize\x18\n \x01(\x04\x12\x18\n\x10ipfs_multihashes\x18\x1e \x03(\t\x12\x12\n\nis_deleted\x18\x0b \x01(\x08\x12\r\n\x05isbns\x18\x0c \x03(\t\x12\x16\n\x0ehas_duplicates\x18\x1f \x01(\x08\x12\x13\n\tissued_at\x18\x19 \x01(\x03H\x00\x12\x10\n\x08language\x18\r \x01(\t\x12\x11\n\tlibgen_id\x18\x0e \x01(\x03\x12\x15\n\rmeta_language\x18\x0f \x01(\t\x12\x0b\n\x03md5\x18\x10 \x01(\t\x12\x13\n\x0boriginal_id\x18\x17 \x01(\x03\x12\r\n\x05pages\x18\x11 \x01(\r\x12\x0e\n\x06series\x18\x12 \x01(\t\x12\x0c\n\x04tags\x18\x13 \x03(\t\x12\x18\n\x10telegram_file_id\x18\x14 \x01(\t\x12\r\n\x05title\x18\x15 \x01(\t\x12\x12\n\nupdated_at\x18\x16 \x01(\x05\x12\x0e\n\x06volume\x18\x18 \x01(\t\x12\x0c\n\x04year\x18\x1d \x01(\tB\x14\n\x12optional_issued_atb\x06proto3'
|
|
)
|
|
|
|
|
|
|
|
|
|
_SCITECH = _descriptor.Descriptor(
|
|
name='Scitech',
|
|
full_name='nexus.models.proto.Scitech',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
create_key=_descriptor._internal_create_key,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='id', full_name='nexus.models.proto.Scitech.id', index=0,
|
|
number=1, 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,
|
|
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
|
|
_descriptor.FieldDescriptor(
|
|
name='authors', full_name='nexus.models.proto.Scitech.authors', index=1,
|
|
number=2, type=9, cpp_type=9, label=3,
|
|
has_default_value=False, default_value=[],
|
|
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='cu', full_name='nexus.models.proto.Scitech.cu', index=2,
|
|
number=3, 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='cu_suf', full_name='nexus.models.proto.Scitech.cu_suf', index=3,
|
|
number=4, 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='description', full_name='nexus.models.proto.Scitech.description', index=4,
|
|
number=5, 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='doi', full_name='nexus.models.proto.Scitech.doi', 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,
|
|
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
|
|
_descriptor.FieldDescriptor(
|
|
name='downloads_count', full_name='nexus.models.proto.Scitech.downloads_count', index=6,
|
|
number=28, 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,
|
|
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
|
|
_descriptor.FieldDescriptor(
|
|
name='edition', full_name='nexus.models.proto.Scitech.edition', index=7,
|
|
number=7, 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='extension', full_name='nexus.models.proto.Scitech.extension', index=8,
|
|
number=8, 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='fiction_id', full_name='nexus.models.proto.Scitech.fiction_id', index=9,
|
|
number=9, 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,
|
|
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
|
|
_descriptor.FieldDescriptor(
|
|
name='filesize', full_name='nexus.models.proto.Scitech.filesize', index=10,
|
|
number=10, type=4, cpp_type=4, 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),
|
|
_descriptor.FieldDescriptor(
|
|
name='ipfs_multihashes', full_name='nexus.models.proto.Scitech.ipfs_multihashes', index=11,
|
|
number=30, type=9, cpp_type=9, label=3,
|
|
has_default_value=False, default_value=[],
|
|
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='is_deleted', full_name='nexus.models.proto.Scitech.is_deleted', index=12,
|
|
number=11, type=8, cpp_type=7, label=1,
|
|
has_default_value=False, default_value=False,
|
|
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='isbns', full_name='nexus.models.proto.Scitech.isbns', index=13,
|
|
number=12, type=9, cpp_type=9, label=3,
|
|
has_default_value=False, default_value=[],
|
|
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='has_duplicates', full_name='nexus.models.proto.Scitech.has_duplicates', index=14,
|
|
number=31, type=8, cpp_type=7, label=1,
|
|
has_default_value=False, default_value=False,
|
|
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='issued_at', full_name='nexus.models.proto.Scitech.issued_at', index=15,
|
|
number=25, 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,
|
|
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
|
|
_descriptor.FieldDescriptor(
|
|
name='language', full_name='nexus.models.proto.Scitech.language', index=16,
|
|
number=13, 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='libgen_id', full_name='nexus.models.proto.Scitech.libgen_id', index=17,
|
|
number=14, 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,
|
|
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
|
|
_descriptor.FieldDescriptor(
|
|
name='meta_language', full_name='nexus.models.proto.Scitech.meta_language', index=18,
|
|
number=15, 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='md5', full_name='nexus.models.proto.Scitech.md5', index=19,
|
|
number=16, 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='original_id', full_name='nexus.models.proto.Scitech.original_id', index=20,
|
|
number=23, 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,
|
|
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
|
|
_descriptor.FieldDescriptor(
|
|
name='pages', full_name='nexus.models.proto.Scitech.pages', index=21,
|
|
number=17, 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,
|
|
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
|
|
_descriptor.FieldDescriptor(
|
|
name='series', full_name='nexus.models.proto.Scitech.series', index=22,
|
|
number=18, 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='tags', full_name='nexus.models.proto.Scitech.tags', index=23,
|
|
number=19, type=9, cpp_type=9, label=3,
|
|
has_default_value=False, default_value=[],
|
|
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.models.proto.Scitech.telegram_file_id', index=24,
|
|
number=20, 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='title', full_name='nexus.models.proto.Scitech.title', index=25,
|
|
number=21, 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='updated_at', full_name='nexus.models.proto.Scitech.updated_at', index=26,
|
|
number=22, 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,
|
|
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
|
|
_descriptor.FieldDescriptor(
|
|
name='volume', full_name='nexus.models.proto.Scitech.volume', index=27,
|
|
number=24, 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='year', full_name='nexus.models.proto.Scitech.year', index=28,
|
|
number=29, 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),
|
|
],
|
|
extensions=[
|
|
],
|
|
nested_types=[],
|
|
enum_types=[
|
|
],
|
|
serialized_options=None,
|
|
is_extendable=False,
|
|
syntax='proto3',
|
|
extension_ranges=[],
|
|
oneofs=[
|
|
_descriptor.OneofDescriptor(
|
|
name='optional_issued_at', full_name='nexus.models.proto.Scitech.optional_issued_at',
|
|
index=0, containing_type=None,
|
|
create_key=_descriptor._internal_create_key,
|
|
fields=[]),
|
|
],
|
|
serialized_start=57,
|
|
serialized_end=614,
|
|
)
|
|
|
|
_SCITECH.oneofs_by_name['optional_issued_at'].fields.append(
|
|
_SCITECH.fields_by_name['issued_at'])
|
|
_SCITECH.fields_by_name['issued_at'].containing_oneof = _SCITECH.oneofs_by_name['optional_issued_at']
|
|
DESCRIPTOR.message_types_by_name['Scitech'] = _SCITECH
|
|
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
|
|
|
|
Scitech = _reflection.GeneratedProtocolMessageType('Scitech', (_message.Message,), {
|
|
'DESCRIPTOR' : _SCITECH,
|
|
'__module__' : 'nexus.models.proto.scitech_pb2'
|
|
# @@protoc_insertion_point(class_scope:nexus.models.proto.Scitech)
|
|
})
|
|
_sym_db.RegisterMessage(Scitech)
|
|
|
|
|
|
# @@protoc_insertion_point(module_scope)
|