niming_backend/protobuf_files/niming_pb2.py

46 lines
3.5 KiB
Python
Raw Normal View History

# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: niming.proto
"""Generated protocol buffer code."""
2024-11-25 21:51:50 +08:00
from google.protobuf.internal import builder as _builder
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
# @@protoc_insertion_point(imports)
_sym_db = _symbol_database.Default()
2024-12-17 01:08:35 +08:00
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0cniming.proto\"@\n\x04Post\x12\x0f\n\x07\x63ontent\x18\x01 \x01(\t\x12\x10\n\x03ref\x18\x02 \x01(\x03H\x00\x88\x01\x01\x12\r\n\x05\x66iles\x18\x03 \x03(\x0c\x42\x06\n\x04_ref\"q\n\x0cPostResponse\x12\x17\n\x06status\x18\x01 \x01(\x0e\x32\x07.Status\x12\x0c\n\x04hash\x18\x02 \x01(\t\x12\n\n\x02id\x18\x03 \x01(\x04\x12\x1b\n\x0e\x66\x61iled_message\x18\x04 \x01(\tH\x00\x88\x01\x01\x42\x11\n\x0f_failed_message\"\xad\x01\n\x11\x46\x65tchPostResponse\x12)\n\x05posts\x18\x01 \x03(\x0b\x32\x1a.FetchPostResponse.Message\x1am\n\x07Message\x12\n\n\x02id\x18\x01 \x01(\x04\x12\x0f\n\x07\x63ontent\x18\x02 \x01(\t\x12\x12\n\nfiles_hash\x18\x03 \x03(\t\x12\x11\n\x04igid\x18\x04 \x01(\tH\x00\x88\x01\x01\x12\x15\n\rcomments_hash\x18\x05 \x03(\tB\x07\n\x05_igid\"n\n\x14\x46\x65tchCommentResponse\x12,\n\x05posts\x18\x01 \x03(\x0b\x32\x1d.FetchCommentResponse.Message\x1a(\n\x07Message\x12\x0c\n\x04sha1\x18\x01 \x01(\t\x12\x0f\n\x07\x63ontent\x18\x02 \x01(\t\"\xe0\x01\n\x16\x41\x64minFetchPostResponse\x12.\n\x05posts\x18\x01 \x03(\x0b\x32\x1f.AdminFetchPostResponse.Message\x1a\x95\x01\n\x07Message\x12\n\n\x02id\x18\x01 \x01(\x04\x12\x0f\n\x07\x63ontent\x18\x02 \x01(\t\x12\x12\n\nfiles_hash\x18\x03 \x03(\t\x12\x11\n\x04igid\x18\x04 \x01(\tH\x00\x88\x01\x01\x12\x15\n\rcomments_hash\x18\x05 \x03(\t\x12\n\n\x02ip\x18\x06 \x01(\t\x12\x0c\n\x04hash\x18\x07 \x01(\t\x12\x0c\n\x04mark\x18\x08 \x01(\tB\x07\n\x05_igid\"\xa0\x01\n\x19\x41\x64minFetchCommentResponse\x12\x31\n\x05posts\x18\x01 \x03(\x0b\x32\".AdminFetchCommentResponse.Message\x1aP\n\x07Message\x12\x0c\n\x04sha1\x18\x01 \x01(\t\x12\x0f\n\x07\x63ontent\x18\x02 \x01(\t\x12\n\n\x02ip\x18\x03 \x01(\t\x12\x0c\n\x04hash\x18\x04 \x01(\t\x12\x0c\n\x04mark\x18\x05 \x01(\t*!\n\x06Status\x12\n\n\x06\x46\x61iled\x10\x00\x12\x0b\n\x07Success\x10\x01\x62\x06proto3')
2024-11-25 21:51:50 +08:00
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'niming_pb2', globals())
if _descriptor._USE_C_DESCRIPTORS == False:
2024-11-25 21:51:50 +08:00
DESCRIPTOR._options = None
2024-12-17 01:08:35 +08:00
_STATUS._serialized_start=875
_STATUS._serialized_end=908
2024-11-25 21:51:50 +08:00
_POST._serialized_start=16
_POST._serialized_end=80
_POSTRESPONSE._serialized_start=82
2024-11-26 09:17:44 +08:00
_POSTRESPONSE._serialized_end=195
2024-12-12 11:30:51 +08:00
_FETCHPOSTRESPONSE._serialized_start=198
_FETCHPOSTRESPONSE._serialized_end=371
_FETCHPOSTRESPONSE_MESSAGE._serialized_start=262
_FETCHPOSTRESPONSE_MESSAGE._serialized_end=371
_FETCHCOMMENTRESPONSE._serialized_start=373
_FETCHCOMMENTRESPONSE._serialized_end=483
_FETCHCOMMENTRESPONSE_MESSAGE._serialized_start=443
_FETCHCOMMENTRESPONSE_MESSAGE._serialized_end=483
2024-12-17 01:08:35 +08:00
_ADMINFETCHPOSTRESPONSE._serialized_start=486
_ADMINFETCHPOSTRESPONSE._serialized_end=710
_ADMINFETCHPOSTRESPONSE_MESSAGE._serialized_start=561
_ADMINFETCHPOSTRESPONSE_MESSAGE._serialized_end=710
_ADMINFETCHCOMMENTRESPONSE._serialized_start=713
_ADMINFETCHCOMMENTRESPONSE._serialized_end=873
_ADMINFETCHCOMMENTRESPONSE_MESSAGE._serialized_start=793
_ADMINFETCHCOMMENTRESPONSE_MESSAGE._serialized_end=873
# @@protoc_insertion_point(module_scope)