123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151 |
- # -*- coding: utf-8 -*-
- # Generated by the protocol buffer compiler. DO NOT EDIT!
- # source: douyin_user.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_user.proto',
- package='tutorial',
- syntax='proto3',
- serialized_options=None,
- serialized_pb=b'\n\x11\x64ouyin_user.proto\x12\x08tutorial\"\xaf\x01\n\nDouYinUser\x12\'\n\x04user\x18\x02 \x01(\x0b\x32\x19.tutorial.DouYinUser.User\x12\x0f\n\x07\x63ontent\x18\x03 \x01(\t\x1ag\n\x04User\x12\x0b\n\x03uid\x18\x01 \x01(\x03\x12\x10\n\x08short_id\x18\x02 \x01(\x03\x12\x10\n\x08nickname\x18\x03 \x01(\t\x12\x0e\n\x06gender\x18\x04 \x01(\x05\x12\r\n\x05\x64y_id\x18& \x01(\t\x12\x0f\n\x07sec_uid\x18. \x01(\tb\x06proto3'
- )
- _DOUYINUSER_USER = _descriptor.Descriptor(
- name='User',
- full_name='tutorial.DouYinUser.User',
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- fields=[
- _descriptor.FieldDescriptor(
- name='uid', full_name='tutorial.DouYinUser.User.uid', 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),
- _descriptor.FieldDescriptor(
- name='short_id', full_name='tutorial.DouYinUser.User.short_id', index=1,
- number=2, 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='nickname', full_name='tutorial.DouYinUser.User.nickname', 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),
- _descriptor.FieldDescriptor(
- name='gender', full_name='tutorial.DouYinUser.User.gender', index=3,
- number=4, 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),
- _descriptor.FieldDescriptor(
- name='dy_id', full_name='tutorial.DouYinUser.User.dy_id', index=4,
- number=38, 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='sec_uid', full_name='tutorial.DouYinUser.User.sec_uid', index=5,
- number=46, 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=[],
- enum_types=[
- ],
- serialized_options=None,
- is_extendable=False,
- syntax='proto3',
- extension_ranges=[],
- oneofs=[
- ],
- serialized_start=104,
- serialized_end=207,
- )
- _DOUYINUSER = _descriptor.Descriptor(
- name='DouYinUser',
- full_name='tutorial.DouYinUser',
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- fields=[
- _descriptor.FieldDescriptor(
- name='user', full_name='tutorial.DouYinUser.user', index=0,
- number=2, type=11, cpp_type=10, label=1,
- has_default_value=False, default_value=None,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- serialized_options=None, file=DESCRIPTOR),
- _descriptor.FieldDescriptor(
- name='content', full_name='tutorial.DouYinUser.content', index=1,
- 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),
- ],
- extensions=[
- ],
- nested_types=[_DOUYINUSER_USER, ],
- enum_types=[
- ],
- serialized_options=None,
- is_extendable=False,
- syntax='proto3',
- extension_ranges=[],
- oneofs=[
- ],
- serialized_start=32,
- serialized_end=207,
- )
- _DOUYINUSER_USER.containing_type = _DOUYINUSER
- _DOUYINUSER.fields_by_name['user'].message_type = _DOUYINUSER_USER
- DESCRIPTOR.message_types_by_name['DouYinUser'] = _DOUYINUSER
- _sym_db.RegisterFileDescriptor(DESCRIPTOR)
- DouYinUser = _reflection.GeneratedProtocolMessageType('DouYinUser', (_message.Message,), {
- 'User' : _reflection.GeneratedProtocolMessageType('User', (_message.Message,), {
- 'DESCRIPTOR' : _DOUYINUSER_USER,
- '__module__' : 'douyin_user_pb2'
- # @@protoc_insertion_point(class_scope:tutorial.DouYinUser.User)
- })
- ,
- 'DESCRIPTOR' : _DOUYINUSER,
- '__module__' : 'douyin_user_pb2'
- # @@protoc_insertion_point(class_scope:tutorial.DouYinUser)
- })
- _sym_db.RegisterMessage(DouYinUser)
- _sym_db.RegisterMessage(DouYinUser.User)
- # @@protoc_insertion_point(module_scope)
|