Go to the source code of this file.
Enumerations | |
enum | PyUpb_DescriptorType { kPyUpb_Descriptor = 0, kPyUpb_EnumDescriptor = 1, kPyUpb_EnumValueDescriptor = 2, kPyUpb_FieldDescriptor = 3, kPyUpb_FileDescriptor = 4, kPyUpb_MethodDescriptor = 5, kPyUpb_OneofDescriptor = 6, kPyUpb_ServiceDescriptor = 7, kPyUpb_Descriptor_Count = 8 } |
Functions | |
const void * | PyUpb_AnyDescriptor_GetDef (PyObject *_self) |
PyObject * | PyUpb_Descriptor_Get (const upb_MessageDef *msgdef) |
PyObject * | PyUpb_Descriptor_GetClass (const upb_MessageDef *m) |
const upb_MessageDef * | PyUpb_Descriptor_GetDef (PyObject *_self) |
PyObject * | PyUpb_Descriptor_GetOrCreateWrapper (const upb_MessageDef *msg) |
PyObject * | PyUpb_EnumDescriptor_Get (const upb_EnumDef *enumdef) |
PyObject * | PyUpb_EnumValueDescriptor_Get (const upb_EnumValueDef *enumval) |
PyObject * | PyUpb_FieldDescriptor_Get (const upb_FieldDef *field) |
const upb_FieldDef * | PyUpb_FieldDescriptor_GetDef (PyObject *file) |
PyObject * | PyUpb_FileDescriptor_Get (const upb_FileDef *file) |
const upb_FileDef * | PyUpb_FileDescriptor_GetDef (PyObject *file) |
bool | PyUpb_InitDescriptor (PyObject *m) |
PyObject * | PyUpb_MethodDescriptor_Get (const upb_MethodDef *s) |
PyObject * | PyUpb_OneofDescriptor_Get (const upb_OneofDef *oneof) |
PyObject * | PyUpb_ServiceDescriptor_Get (const upb_ServiceDef *s) |
enum PyUpb_DescriptorType |
Definition at line 36 of file upb/python/descriptor.h.
const void* PyUpb_AnyDescriptor_GetDef | ( | PyObject * | _self | ) |
Definition at line 56 of file descriptor.c.
PyObject* PyUpb_Descriptor_Get | ( | const upb_MessageDef * | msgdef | ) |
Definition at line 204 of file descriptor.c.
PyObject* PyUpb_Descriptor_GetClass | ( | const upb_MessageDef * | m | ) |
Definition at line 210 of file descriptor.c.
const upb_MessageDef* PyUpb_Descriptor_GetDef | ( | PyObject * | _self | ) |
Definition at line 639 of file descriptor.c.
PyObject* PyUpb_Descriptor_GetOrCreateWrapper | ( | const upb_MessageDef * | msg | ) |
PyObject* PyUpb_EnumDescriptor_Get | ( | const upb_EnumDef * | enumdef | ) |
Definition at line 649 of file descriptor.c.
PyObject* PyUpb_EnumValueDescriptor_Get | ( | const upb_EnumValueDef * | enumval | ) |
Definition at line 785 of file descriptor.c.
PyObject* PyUpb_FieldDescriptor_Get | ( | const upb_FieldDef * | field | ) |
Definition at line 870 of file descriptor.c.
const upb_FieldDef* PyUpb_FieldDescriptor_GetDef | ( | PyObject * | file | ) |
Definition at line 864 of file descriptor.c.
PyObject* PyUpb_FileDescriptor_Get | ( | const upb_FileDef * | file | ) |
Definition at line 1084 of file descriptor.c.
const upb_FileDef* PyUpb_FileDescriptor_GetDef | ( | PyObject * | file | ) |
Definition at line 1312 of file descriptor.c.
bool PyUpb_InitDescriptor | ( | PyObject * | m | ) |
Definition at line 1654 of file descriptor.c.
PyObject* PyUpb_MethodDescriptor_Get | ( | const upb_MethodDef * | s | ) |
Definition at line 1328 of file descriptor.c.
PyObject* PyUpb_OneofDescriptor_Get | ( | const upb_OneofDef * | oneof | ) |
Definition at line 1426 of file descriptor.c.
PyObject* PyUpb_ServiceDescriptor_Get | ( | const upb_ServiceDef * | s | ) |
Definition at line 1519 of file descriptor.c.