2025-08-20 11:54:40 +01:00

57 lines
4.6 KiB
Python

# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: Book.proto
# Protobuf Python Version: 6.31.1
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import runtime_version as _runtime_version
from google.protobuf import symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder
_runtime_version.ValidateProtobufRuntimeVersion(
_runtime_version.Domain.PUBLIC,
6,
31,
1,
'',
'Book.proto'
)
# @@protoc_insertion_point(imports)
_sym_db = _symbol_database.Default()
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\nBook.proto\"\x07\n\x05\x45mpty\"J\n\x0eGetListRequest\x12\r\n\x05pages\x18\x01 \x01(\x05\x12\x10\n\x08per_page\x18\x02 \x01(\x05\x12\x17\n\x0flist_data_limit\x18\x03 \x01(\x05\">\n\x0e\x41\x64\x64\x42ookRequest\x12\x19\n\x05\x62ooks\x18\x01 \x03(\x0b\x32\n.Book_info\x12\x11\n\ttest_only\x18\x02 \x01(\x08\"@\n\x11\x44\x65leteBookRequest\x12\x10\n\x08\x62ook_ids\x18\x01 \x03(\x05\x12\x19\n\x11\x64\x65lete_last_count\x18\x02 \x01(\x05\"-\n\x11UpdateBookRequest\x12\x18\n\x04\x62ook\x18\x01 \x01(\x0b\x32\n.Book_info\"\"\n\x0fMessageResponse\x12\x0f\n\x07message\x18\x01 \x01(\t\"\xbe\x01\n\x0fGeneralResponse\x12\'\n\rresponse_data\x18\x01 \x01(\x0b\x32\x10.MessageResponse\x12/\n\x12server_deserialize\x18\x02 \x01(\x0b\x32\x13.Server_deserialize\x12\"\n\x1aserver_protocol_total_time\x18\x03 \x01(\x01\x12-\n\x10server_serialize\x18\x04 \x01(\x0b\x32\x13.Server_deserialize\"\xb8\x01\n\x0fGetListResponse\x12!\n\rresponse_data\x18\x01 \x03(\x0b\x32\n.Book_info\x12/\n\x12server_deserialize\x18\x02 \x01(\x0b\x32\x13.Server_deserialize\x12\"\n\x1aserver_protocol_total_time\x18\x03 \x01(\x01\x12-\n\x10server_serialize\x18\x04 \x01(\x0b\x32\x13.Server_deserialize\"/\n\x12Server_deserialize\x12\x0b\n\x03\x63pu\x18\x01 \x01(\x01\x12\x0c\n\x04time\x18\x02 \x01(\x01\"\x8f\x03\n\tBook_info\x12\x10\n\x08\x61\x62stract\x18\x01 \x01(\t\x12\x0e\n\x06\x61uthor\x18\x02 \x01(\t\x12\x0f\n\x07\x62\x61rcode\x18\x03 \x01(\t\x12\x0f\n\x07\x62inding\x18\x04 \x01(\t\x12\x13\n\x0b\x63\x61tegory_id\x18\x05 \x01(\x05\x12\x13\n\x0b\x63over_image\x18\x06 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x07 \x01(\t\x12\x0f\n\x07\x65\x64ition\x18\x08 \x01(\t\x12\x0e\n\x06\x65\x64itor\x18\t \x01(\t\x12\x0e\n\x06\x66ormat\x18\n \x01(\t\x12\n\n\x02id\x18\x0b \x01(\x05\x12\x0c\n\x04isbn\x18\x0c \x01(\t\x12\x10\n\x08keywords\x18\r \x01(\t\x12\x10\n\x08language\x18\x0e \x01(\t\x12\r\n\x05pages\x18\x0f \x01(\x05\x12\x18\n\x10publication_date\x18\x10 \x01(\x03\x12\x11\n\tpublisher\x18\x11 \x01(\t\x12\x0f\n\x07subject\x18\x12 \x01(\t\x12\x10\n\x08subtitle\x18\x13 \x01(\t\x12\r\n\x05title\x18\x14 \x01(\t\x12\x12\n\ntranslator\x18\x15 \x01(\t\x12\x0e\n\x06weight\x18\x16 \x01(\x01\x32\xf5\x01\n\x0b\x42ookService\x12,\n\x07GetList\x12\x0f.GetListRequest\x1a\x10.GetListResponse\x12-\n\x08\x41\x64\x64\x42ooks\x12\x0f.AddBookRequest\x1a\x10.GeneralResponse\x12\x33\n\x0b\x44\x65leteBooks\x12\x12.DeleteBookRequest\x1a\x10.GeneralResponse\x12\x32\n\nUpdateBook\x12\x12.UpdateBookRequest\x1a\x10.GeneralResponse\x12 \n\x04Ping\x12\x06.Empty\x1a\x10.MessageResponseb\x06proto3')
_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'Book_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
DESCRIPTOR._loaded_options = None
_globals['_EMPTY']._serialized_start=14
_globals['_EMPTY']._serialized_end=21
_globals['_GETLISTREQUEST']._serialized_start=23
_globals['_GETLISTREQUEST']._serialized_end=97
_globals['_ADDBOOKREQUEST']._serialized_start=99
_globals['_ADDBOOKREQUEST']._serialized_end=161
_globals['_DELETEBOOKREQUEST']._serialized_start=163
_globals['_DELETEBOOKREQUEST']._serialized_end=227
_globals['_UPDATEBOOKREQUEST']._serialized_start=229
_globals['_UPDATEBOOKREQUEST']._serialized_end=274
_globals['_MESSAGERESPONSE']._serialized_start=276
_globals['_MESSAGERESPONSE']._serialized_end=310
_globals['_GENERALRESPONSE']._serialized_start=313
_globals['_GENERALRESPONSE']._serialized_end=503
_globals['_GETLISTRESPONSE']._serialized_start=506
_globals['_GETLISTRESPONSE']._serialized_end=690
_globals['_SERVER_DESERIALIZE']._serialized_start=692
_globals['_SERVER_DESERIALIZE']._serialized_end=739
_globals['_BOOK_INFO']._serialized_start=742
_globals['_BOOK_INFO']._serialized_end=1141
_globals['_BOOKSERVICE']._serialized_start=1144
_globals['_BOOKSERVICE']._serialized_end=1389
# @@protoc_insertion_point(module_scope)