Go to the documentation of this file.
45 #ifndef GOOGLE_PROTOBUF_PYTHON_PROTO_API_H__
46 #define GOOGLE_PROTOBUF_PYTHON_PROTO_API_H__
48 #define PY_SSIZE_T_CLEAN
51 #include <google/protobuf/descriptor_database.h>
52 #include <google/protobuf/message.h>
86 PyObject*
desc)
const = 0;
92 PyObject* enum_desc)
const = 0;
107 PyObject* py_message_factory)
const = 0;
123 Message*
msg, PyObject* py_message_factory)
const = 0;
136 static const char kCapsuleName[] =
137 "google.protobuf.pyext._message.proto_API";
145 #endif // GOOGLE_PROTOBUF_PYTHON_PROTO_API_H__
virtual PyObject * NewMessageOwnedExternally(Message *msg, PyObject *py_message_factory) const =0
virtual const Message * GetMessagePointer(PyObject *msg) const =0
virtual PyObject * DescriptorPool_FromPool(const google::protobuf::DescriptorPool *pool) const =0
virtual const Descriptor * MessageDescriptor_AsDescriptor(PyObject *desc) const =0
virtual PyObject * NewMessage(const Descriptor *descriptor, PyObject *py_message_factory) const =0
const char * PyProtoAPICapsuleName()
virtual Message * GetMutableMessagePointer(PyObject *msg) const =0
virtual const EnumDescriptor * EnumDescriptor_AsDescriptor(PyObject *enum_desc) const =0
virtual const DescriptorPool * GetDefaultDescriptorPool() const =0
virtual MessageFactory * GetDefaultMessageFactory() const =0
InternalDescriptorPool * pool
static const char descriptor[1336]
grpc
Author(s):
autogenerated on Thu Mar 13 2025 03:00:56