Enumerations | Functions
upb/python/descriptor.h File Reference
#include <stdbool.h>
#include "python/python.h"
#include "upb/def.h"
Include dependency graph for upb/python/descriptor.h:
This graph shows which files directly or indirectly include this file:

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_MessageDefPyUpb_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_FieldDefPyUpb_FieldDescriptor_GetDef (PyObject *file)
 
PyObject * PyUpb_FileDescriptor_Get (const upb_FileDef *file)
 
const upb_FileDefPyUpb_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)
 

Enumeration Type Documentation

◆ PyUpb_DescriptorType

Enumerator
kPyUpb_Descriptor 
kPyUpb_EnumDescriptor 
kPyUpb_EnumValueDescriptor 
kPyUpb_FieldDescriptor 
kPyUpb_FileDescriptor 
kPyUpb_MethodDescriptor 
kPyUpb_OneofDescriptor 
kPyUpb_ServiceDescriptor 
kPyUpb_Descriptor_Count 

Definition at line 36 of file upb/python/descriptor.h.

Function Documentation

◆ PyUpb_AnyDescriptor_GetDef()

const void* PyUpb_AnyDescriptor_GetDef ( PyObject *  _self)

Definition at line 56 of file descriptor.c.

◆ PyUpb_Descriptor_Get()

PyObject* PyUpb_Descriptor_Get ( const upb_MessageDef msgdef)

Definition at line 204 of file descriptor.c.

◆ PyUpb_Descriptor_GetClass()

PyObject* PyUpb_Descriptor_GetClass ( const upb_MessageDef m)

Definition at line 210 of file descriptor.c.

◆ PyUpb_Descriptor_GetDef()

const upb_MessageDef* PyUpb_Descriptor_GetDef ( PyObject *  _self)

Definition at line 639 of file descriptor.c.

◆ PyUpb_Descriptor_GetOrCreateWrapper()

PyObject* PyUpb_Descriptor_GetOrCreateWrapper ( const upb_MessageDef msg)

◆ PyUpb_EnumDescriptor_Get()

PyObject* PyUpb_EnumDescriptor_Get ( const upb_EnumDef enumdef)

Definition at line 649 of file descriptor.c.

◆ PyUpb_EnumValueDescriptor_Get()

PyObject* PyUpb_EnumValueDescriptor_Get ( const upb_EnumValueDef enumval)

Definition at line 785 of file descriptor.c.

◆ PyUpb_FieldDescriptor_Get()

PyObject* PyUpb_FieldDescriptor_Get ( const upb_FieldDef field)

Definition at line 870 of file descriptor.c.

◆ PyUpb_FieldDescriptor_GetDef()

const upb_FieldDef* PyUpb_FieldDescriptor_GetDef ( PyObject *  file)

Definition at line 864 of file descriptor.c.

◆ PyUpb_FileDescriptor_Get()

PyObject* PyUpb_FileDescriptor_Get ( const upb_FileDef file)

Definition at line 1084 of file descriptor.c.

◆ PyUpb_FileDescriptor_GetDef()

const upb_FileDef* PyUpb_FileDescriptor_GetDef ( PyObject *  file)

Definition at line 1312 of file descriptor.c.

◆ PyUpb_InitDescriptor()

bool PyUpb_InitDescriptor ( PyObject *  m)

Definition at line 1654 of file descriptor.c.

◆ PyUpb_MethodDescriptor_Get()

PyObject* PyUpb_MethodDescriptor_Get ( const upb_MethodDef s)

Definition at line 1328 of file descriptor.c.

◆ PyUpb_OneofDescriptor_Get()

PyObject* PyUpb_OneofDescriptor_Get ( const upb_OneofDef oneof)

Definition at line 1426 of file descriptor.c.

◆ PyUpb_ServiceDescriptor_Get()

PyObject* PyUpb_ServiceDescriptor_Get ( const upb_ServiceDef s)

Definition at line 1519 of file descriptor.c.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:10