# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: douyin.proto 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='douyin.proto', package='tutorial', syntax='proto3', serialized_options=None, serialized_pb=b'\n\x0c\x64ouyin.proto\x12\x08tutorial\"\xca\x01\n\x06\x44ouYin\x12\x30\n\x08messages\x18\x01 \x03(\x0b\x32\x1e.tutorial.DouYin.MessageDetail\x12\x0e\n\x06\x63ursor\x18\x02 \x01(\t\x12\x16\n\x0e\x66\x65tch_interval\x18\x03 \x01(\x03\x12\x0b\n\x03now\x18\x04 \x01(\x03\x12\x14\n\x0cinternal_ext\x18\x05 \x01(\t\x1a\x43\n\rMessageDetail\x12\x0e\n\x06method\x18\x01 \x01(\t\x12\x0f\n\x07payload\x18\x02 \x01(\x0c\x12\x11\n\tmessageId\x18\x03 \x01(\x03\x62\x06proto3' ) _DOUYIN_MESSAGEDETAIL = _descriptor.Descriptor( name='MessageDetail', full_name='tutorial.DouYin.MessageDetail', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='method', full_name='tutorial.DouYin.MessageDetail.method', index=0, number=1, 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), _descriptor.FieldDescriptor( name='payload', full_name='tutorial.DouYin.MessageDetail.payload', index=1, number=2, 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), _descriptor.FieldDescriptor( name='messageId', full_name='tutorial.DouYin.MessageDetail.messageId', index=2, number=3, 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), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=162, serialized_end=229, ) _DOUYIN = _descriptor.Descriptor( name='DouYin', full_name='tutorial.DouYin', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='messages', full_name='tutorial.DouYin.messages', index=0, number=1, type=11, cpp_type=10, 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), _descriptor.FieldDescriptor( name='cursor', full_name='tutorial.DouYin.cursor', index=1, number=2, 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), _descriptor.FieldDescriptor( name='fetch_interval', full_name='tutorial.DouYin.fetch_interval', index=2, number=3, 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), _descriptor.FieldDescriptor( name='now', full_name='tutorial.DouYin.now', index=3, number=4, 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), _descriptor.FieldDescriptor( name='internal_ext', full_name='tutorial.DouYin.internal_ext', 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), ], extensions=[ ], nested_types=[_DOUYIN_MESSAGEDETAIL, ], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=27, serialized_end=229, ) _DOUYIN_MESSAGEDETAIL.containing_type = _DOUYIN _DOUYIN.fields_by_name['messages'].message_type = _DOUYIN_MESSAGEDETAIL DESCRIPTOR.message_types_by_name['DouYin'] = _DOUYIN _sym_db.RegisterFileDescriptor(DESCRIPTOR) DouYin = _reflection.GeneratedProtocolMessageType('DouYin', (_message.Message,), { 'MessageDetail' : _reflection.GeneratedProtocolMessageType('MessageDetail', (_message.Message,), { 'DESCRIPTOR' : _DOUYIN_MESSAGEDETAIL, '__module__' : 'douyin_pb2' # @@protoc_insertion_point(class_scope:tutorial.DouYin.MessageDetail) }) , 'DESCRIPTOR' : _DOUYIN, '__module__' : 'douyin_pb2' # @@protoc_insertion_point(class_scope:tutorial.DouYin) }) _sym_db.RegisterMessage(DouYin) _sym_db.RegisterMessage(DouYin.MessageDetail) # @@protoc_insertion_point(module_scope)