Classes | Functions | Variables
google::protobuf::python::extension_dict Namespace Reference

Classes

struct  ExtensionIterator
 

Functions

PyObject * _FindExtensionByName (ExtensionDict *self, PyObject *arg)
 
PyObject * _FindExtensionByNumber (ExtensionDict *self, PyObject *arg)
 
int ass_subscript (ExtensionDict *self, PyObject *key, PyObject *value)
 
static int Contains (PyObject *_self, PyObject *key)
 
static int Contains (PyObject *_self, PyObject *key)
 
void dealloc (PyObject *pself)
 
static void DeallocExtensionIterator (PyObject *_self)
 
static void DeallocExtensionIterator (PyObject *_self)
 
PyObject * GetIter (PyObject *_self)
 
static Py_ssize_t len (ExtensionDict *self)
 
static Py_ssize_t len (ExtensionDict *self)
 
ExtensionDictNewExtensionDict (CMessage *parent)
 
static PyObject * RichCompare (ExtensionDict *self, PyObject *other, int opid)
 
static PyObject * RichCompare (ExtensionDict *self, PyObject *other, int opid)
 
PyObject * subscript (ExtensionDict *self, PyObject *key)
 

Variables

static PyMethodDef Methods []
 
static PyMethodDef Methods []
 
static PyMappingMethods MpMethods
 
static PyMappingMethods MpMethods
 
static PySequenceMethods SeqMethods
 
static PySequenceMethods SeqMethods
 

Function Documentation

◆ _FindExtensionByName()

PyObject * google::protobuf::python::extension_dict::_FindExtensionByName ( ExtensionDict self,
PyObject *  arg 
)

◆ _FindExtensionByNumber()

PyObject * google::protobuf::python::extension_dict::_FindExtensionByNumber ( ExtensionDict self,
PyObject *  arg 
)

◆ ass_subscript()

int google::protobuf::python::extension_dict::ass_subscript ( ExtensionDict self,
PyObject *  key,
PyObject *  value 
)

◆ Contains() [1/2]

static int google::protobuf::python::extension_dict::Contains ( PyObject *  _self,
PyObject *  key 
)
static

◆ Contains() [2/2]

static int google::protobuf::python::extension_dict::Contains ( PyObject *  _self,
PyObject *  key 
)
static

◆ dealloc()

void google::protobuf::python::extension_dict::dealloc ( PyObject *  pself)

◆ DeallocExtensionIterator() [1/2]

static void google::protobuf::python::extension_dict::DeallocExtensionIterator ( PyObject *  _self)
static

◆ DeallocExtensionIterator() [2/2]

static void google::protobuf::python::extension_dict::DeallocExtensionIterator ( PyObject *  _self)
static

◆ GetIter()

PyObject * google::protobuf::python::extension_dict::GetIter ( PyObject *  _self)

◆ len() [1/2]

static Py_ssize_t google::protobuf::python::extension_dict::len ( ExtensionDict self)
static

◆ len() [2/2]

static Py_ssize_t google::protobuf::python::extension_dict::len ( ExtensionDict self)
static

◆ NewExtensionDict()

ExtensionDict * google::protobuf::python::extension_dict::NewExtensionDict ( CMessage parent)

◆ RichCompare() [1/2]

static PyObject* google::protobuf::python::extension_dict::RichCompare ( ExtensionDict self,
PyObject *  other,
int  opid 
)
static

◆ RichCompare() [2/2]

static PyObject* google::protobuf::python::extension_dict::RichCompare ( ExtensionDict self,
PyObject *  other,
int  opid 
)
static

◆ subscript()

PyObject * google::protobuf::python::extension_dict::subscript ( ExtensionDict self,
PyObject *  key 
)

Variable Documentation

◆ Methods [1/2]

PyMethodDef google::protobuf::python::extension_dict::Methods[]
static
Initial value:
= {
EDMETHOD(_FindExtensionByName, METH_O, "Finds an extension by name."),
"Finds an extension by field number."),
{NULL, NULL},
}

Definition at line 359 of file protobuf/python/google/protobuf/pyext/extension_dict.cc.

◆ Methods [2/2]

PyMethodDef google::protobuf::python::extension_dict::Methods[]
static
Initial value:
= {
EDMETHOD(_FindExtensionByName, METH_O, "Finds an extension by name."),
"Finds an extension by field number."),
{NULL, NULL},
}

Definition at line 362 of file bloaty/third_party/protobuf/python/google/protobuf/pyext/extension_dict.cc.

◆ MpMethods [1/2]

PyMappingMethods google::protobuf::python::extension_dict::MpMethods
static
Initial value:
= {
(lenfunc)len,
(binaryfunc)subscript,
(objobjargproc)ass_subscript,
}

Definition at line 352 of file protobuf/python/google/protobuf/pyext/extension_dict.cc.

◆ MpMethods [2/2]

PyMappingMethods google::protobuf::python::extension_dict::MpMethods
static
Initial value:
= {
(lenfunc)len,
(binaryfunc)subscript,
(objobjargproc)ass_subscript,
}

Definition at line 355 of file bloaty/third_party/protobuf/python/google/protobuf/pyext/extension_dict.cc.

◆ SeqMethods [1/2]

PySequenceMethods google::protobuf::python::extension_dict::SeqMethods
static
Initial value:
= {
(lenfunc)len,
0,
0,
0,
0,
0,
0,
(objobjproc)Contains,
}

Definition at line 341 of file protobuf/python/google/protobuf/pyext/extension_dict.cc.

◆ SeqMethods [2/2]

PySequenceMethods google::protobuf::python::extension_dict::SeqMethods
static
Initial value:
= {
(lenfunc)len,
0,
0,
0,
0,
0,
0,
(objobjproc)Contains,
}

Definition at line 344 of file bloaty/third_party/protobuf/python/google/protobuf/pyext/extension_dict.cc.

google::protobuf::python::extension_dict::_FindExtensionByName
PyObject * _FindExtensionByName(ExtensionDict *self, PyObject *arg)
Definition: bloaty/third_party/protobuf/python/google/protobuf/pyext/extension_dict.cc:234
google::protobuf::python::extension_dict::len
static Py_ssize_t len(ExtensionDict *self)
Definition: protobuf/python/google/protobuf/pyext/extension_dict.cc:65
google::protobuf::python::extension_dict::_FindExtensionByNumber
PyObject * _FindExtensionByNumber(ExtensionDict *self, PyObject *arg)
Definition: bloaty/third_party/protobuf/python/google/protobuf/pyext/extension_dict.cc:265
google::protobuf::python::extension_dict::subscript
PyObject * subscript(ExtensionDict *self, PyObject *key)
Definition: bloaty/third_party/protobuf/python/google/protobuf/pyext/extension_dict.cc:134
EDMETHOD
#define EDMETHOD(name, args, doc)
Definition: bloaty/third_party/protobuf/python/google/protobuf/pyext/extension_dict.cc:361
EDMETHOD
#define EDMETHOD(name, args, doc)
Definition: protobuf/python/google/protobuf/pyext/extension_dict.cc:358
google::protobuf::python::extension_dict::Contains
static int Contains(PyObject *_self, PyObject *key)
Definition: protobuf/python/google/protobuf/pyext/extension_dict.cc:278
google::protobuf::python::extension_dict::ass_subscript
int ass_subscript(ExtensionDict *self, PyObject *key, PyObject *value)
Definition: bloaty/third_party/protobuf/python/google/protobuf/pyext/extension_dict.cc:208


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