加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
reque_pb2.py 1.85 KB
一键复制 编辑 原始数据 按行查看 历史
m_engmeng 提交于 2023-10-31 08:31 . rpc衍生文件
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: reque.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder
# @@protoc_insertion_point(imports)
_sym_db = _symbol_database.Default()
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0breque.proto\"1\n\x08Question\x12\x15\n\rquestion_text\x18\x01 \x01(\t\x12\x0e\n\x06\x61nswer\x18\x02 \x01(\t\"L\n\x07Keyword\x12\r\n\x05grade\x18\x01 \x01(\t\x12\x0f\n\x07subject\x18\x02 \x01(\t\x12\r\n\x05topic\x18\x03 \x01(\t\x12\x12\n\ndifficulty\x18\x04 \x01(\t\"B\n\x13GetQuestionsRequest\x12\x10\n\x08quantity\x18\x01 \x01(\x05\x12\x19\n\x07keyword\x18\x02 \x01(\x0b\x32\x08.Keyword\"4\n\x14GetQuestionsResponse\x12\x1c\n\tquestions\x18\x01 \x03(\x0b\x32\t.Question2N\n\x0fQuestionService\x12;\n\x0cGetQuestions\x12\x14.GetQuestionsRequest\x1a\x15.GetQuestionsResponseb\x06proto3')
_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'reque_pb2', _globals)
if _descriptor._USE_C_DESCRIPTORS == False:
DESCRIPTOR._options = None
_globals['_QUESTION']._serialized_start=15
_globals['_QUESTION']._serialized_end=64
_globals['_KEYWORD']._serialized_start=66
_globals['_KEYWORD']._serialized_end=142
_globals['_GETQUESTIONSREQUEST']._serialized_start=144
_globals['_GETQUESTIONSREQUEST']._serialized_end=210
_globals['_GETQUESTIONSRESPONSE']._serialized_start=212
_globals['_GETQUESTIONSRESPONSE']._serialized_end=264
_globals['_QUESTIONSERVICE']._serialized_start=266
_globals['_QUESTIONSERVICE']._serialized_end=344
# @@protoc_insertion_point(module_scope)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化