Namespaces | Functions | Variables
google::protobuf::python::enum_descriptor Namespace Reference

Namespaces

 enumvalues
 

Functions

static const EnumDescriptor_GetDescriptor (PyBaseDescriptor *self)
 
static PyObject * CopyToProto (PyBaseDescriptor *self, PyObject *target)
 
static PyObject * GetContainingType (PyBaseDescriptor *self, void *closure)
 
static ParentDescriptor GetDescriptor (PyContainer *self)
 
static PyObject * GetEnumvaluesByName (PyBaseDescriptor *self, void *closure)
 
static PyObject * GetEnumvaluesByNumber (PyBaseDescriptor *self, void *closure)
 
static PyObject * GetEnumvaluesSeq (PyBaseDescriptor *self, void *closure)
 
static PyObject * GetFile (PyBaseDescriptor *self, void *closure)
 
static PyObject * GetFullName (PyBaseDescriptor *self, void *closure)
 
static PyObject * GetHasOptions (PyBaseDescriptor *self, void *closure)
 
static PyObject * GetName (PyBaseDescriptor *self, void *closure)
 
static PyObject * GetOptions (PyBaseDescriptor *self)
 
PyObject * NewEnumValuesByName (const EnumDescriptor *descriptor)
 
PyObject * NewEnumValuesByName (ParentDescriptor descriptor)
 
PyObject * NewEnumValuesByNumber (const EnumDescriptor *descriptor)
 
PyObject * NewEnumValuesByNumber (ParentDescriptor descriptor)
 
PyObject * NewEnumValuesSeq (const EnumDescriptor *descriptor)
 
PyObject * NewEnumValuesSeq (ParentDescriptor descriptor)
 
static int SetContainingType (PyBaseDescriptor *self, PyObject *value, void *closure)
 
static int SetHasOptions (PyBaseDescriptor *self, PyObject *value, void *closure)
 
static int SetOptions (PyBaseDescriptor *self, PyObject *value, void *closure)
 
static int SetSerializedOptions (PyBaseDescriptor *self, PyObject *value, void *closure)
 

Variables

static PyGetSetDef Getters []
 
static PyMethodDef Methods []
 
const typedef EnumDescriptorParentDescriptor
 

Function Documentation

◆ _GetDescriptor()

static const EnumDescriptor* google::protobuf::python::enum_descriptor::_GetDescriptor ( PyBaseDescriptor self)
static

Definition at line 1055 of file python/google/protobuf/pyext/descriptor.cc.

◆ CopyToProto()

static PyObject* google::protobuf::python::enum_descriptor::CopyToProto ( PyBaseDescriptor self,
PyObject *  target 
)
static

Definition at line 1127 of file python/google/protobuf/pyext/descriptor.cc.

◆ GetContainingType()

static PyObject* google::protobuf::python::enum_descriptor::GetContainingType ( PyBaseDescriptor self,
void closure 
)
static

Definition at line 1084 of file python/google/protobuf/pyext/descriptor.cc.

◆ GetDescriptor()

static ParentDescriptor google::protobuf::python::enum_descriptor::GetDescriptor ( PyContainer self)
static

Definition at line 1317 of file descriptor_containers.cc.

◆ GetEnumvaluesByName()

static PyObject* google::protobuf::python::enum_descriptor::GetEnumvaluesByName ( PyBaseDescriptor self,
void closure 
)
static

Definition at line 1072 of file python/google/protobuf/pyext/descriptor.cc.

◆ GetEnumvaluesByNumber()

static PyObject* google::protobuf::python::enum_descriptor::GetEnumvaluesByNumber ( PyBaseDescriptor self,
void closure 
)
static

Definition at line 1076 of file python/google/protobuf/pyext/descriptor.cc.

◆ GetEnumvaluesSeq()

static PyObject* google::protobuf::python::enum_descriptor::GetEnumvaluesSeq ( PyBaseDescriptor self,
void closure 
)
static

Definition at line 1080 of file python/google/protobuf/pyext/descriptor.cc.

◆ GetFile()

static PyObject* google::protobuf::python::enum_descriptor::GetFile ( PyBaseDescriptor self,
void closure 
)
static

Definition at line 1068 of file python/google/protobuf/pyext/descriptor.cc.

◆ GetFullName()

static PyObject* google::protobuf::python::enum_descriptor::GetFullName ( PyBaseDescriptor self,
void closure 
)
static

Definition at line 1060 of file python/google/protobuf/pyext/descriptor.cc.

◆ GetHasOptions()

static PyObject* google::protobuf::python::enum_descriptor::GetHasOptions ( PyBaseDescriptor self,
void closure 
)
static

Definition at line 1100 of file python/google/protobuf/pyext/descriptor.cc.

◆ GetName()

static PyObject* google::protobuf::python::enum_descriptor::GetName ( PyBaseDescriptor self,
void closure 
)
static

Definition at line 1064 of file python/google/protobuf/pyext/descriptor.cc.

◆ GetOptions()

static PyObject* google::protobuf::python::enum_descriptor::GetOptions ( PyBaseDescriptor self)
static

Definition at line 1113 of file python/google/protobuf/pyext/descriptor.cc.

◆ NewEnumValuesByName() [1/2]

PyObject* google::protobuf::python::enum_descriptor::NewEnumValuesByName ( const EnumDescriptor descriptor)

◆ NewEnumValuesByName() [2/2]

PyObject* google::protobuf::python::enum_descriptor::NewEnumValuesByName ( ParentDescriptor  descriptor)

Definition at line 1374 of file descriptor_containers.cc.

◆ NewEnumValuesByNumber() [1/2]

PyObject* google::protobuf::python::enum_descriptor::NewEnumValuesByNumber ( const EnumDescriptor descriptor)

◆ NewEnumValuesByNumber() [2/2]

PyObject* google::protobuf::python::enum_descriptor::NewEnumValuesByNumber ( ParentDescriptor  descriptor)

Definition at line 1378 of file descriptor_containers.cc.

◆ NewEnumValuesSeq() [1/2]

PyObject* google::protobuf::python::enum_descriptor::NewEnumValuesSeq ( const EnumDescriptor descriptor)

◆ NewEnumValuesSeq() [2/2]

PyObject* google::protobuf::python::enum_descriptor::NewEnumValuesSeq ( ParentDescriptor  descriptor)

Definition at line 1382 of file descriptor_containers.cc.

◆ SetContainingType()

static int google::protobuf::python::enum_descriptor::SetContainingType ( PyBaseDescriptor self,
PyObject *  value,
void closure 
)
static

Definition at line 1094 of file python/google/protobuf/pyext/descriptor.cc.

◆ SetHasOptions()

static int google::protobuf::python::enum_descriptor::SetHasOptions ( PyBaseDescriptor self,
PyObject *  value,
void closure 
)
static

Definition at line 1108 of file python/google/protobuf/pyext/descriptor.cc.

◆ SetOptions()

static int google::protobuf::python::enum_descriptor::SetOptions ( PyBaseDescriptor self,
PyObject *  value,
void closure 
)
static

Definition at line 1117 of file python/google/protobuf/pyext/descriptor.cc.

◆ SetSerializedOptions()

static int google::protobuf::python::enum_descriptor::SetSerializedOptions ( PyBaseDescriptor self,
PyObject *  value,
void closure 
)
static

Definition at line 1122 of file python/google/protobuf/pyext/descriptor.cc.

Variable Documentation

◆ Getters

PyGetSetDef google::protobuf::python::enum_descriptor::Getters[]
static
Initial value:
= {
{ "full_name", (getter)GetFullName, NULL, "Full name"},
{ "name", (getter)GetName, NULL, "last name"},
{ "file", (getter)GetFile, NULL, "File descriptor"},
{ "values", (getter)GetEnumvaluesSeq, NULL, "values"},
{ "values_by_name", (getter)GetEnumvaluesByName, NULL,
"Enum values by name"},
{ "values_by_number", (getter)GetEnumvaluesByNumber, NULL,
"Enum values by number"},
{ "containing_type", (getter)GetContainingType, (setter)SetContainingType,
"Containing type"},
{ "has_options", (getter)GetHasOptions, (setter)SetHasOptions, "Has Options"},
{ "_options", (getter)NULL, (setter)SetOptions, "Options"},
{ "_serialized_options", (getter)NULL, (setter)SetSerializedOptions,
"Serialized Options"},
{NULL}
}

Definition at line 1137 of file python/google/protobuf/pyext/descriptor.cc.

◆ Methods

PyMethodDef google::protobuf::python::enum_descriptor::Methods[]
static
Initial value:
= {
{ "GetOptions", (PyCFunction)GetOptions, METH_NOARGS, },
{ "CopyToProto", (PyCFunction)CopyToProto, METH_O, },
{NULL}
}

Definition at line 1131 of file python/google/protobuf/pyext/descriptor.cc.

◆ ParentDescriptor

const typedef EnumDescriptor* google::protobuf::python::enum_descriptor::ParentDescriptor

Definition at line 1315 of file descriptor_containers.cc.

NULL
NULL
Definition: test_security_zap.cpp:405
google::protobuf::python::oneof_descriptor::SetSerializedOptions
static int SetSerializedOptions(PyBaseDescriptor *self, PyObject *value, void *closure)
Definition: python/google/protobuf/pyext/descriptor.cc:1587
google::protobuf::python::method_descriptor::GetFullName
static PyObject * GetFullName(PyBaseDescriptor *self, void *closure)
Definition: python/google/protobuf/pyext/descriptor.cc:1792
google::protobuf::python::oneof_descriptor::GetContainingType
static PyObject * GetContainingType(PyBaseDescriptor *self, void *closure)
Definition: python/google/protobuf/pyext/descriptor.cc:1555
google::protobuf::python::enum_descriptor::GetEnumvaluesByName
static PyObject * GetEnumvaluesByName(PyBaseDescriptor *self, void *closure)
Definition: python/google/protobuf/pyext/descriptor.cc:1072
google::protobuf::python::enum_descriptor::GetEnumvaluesByNumber
static PyObject * GetEnumvaluesByNumber(PyBaseDescriptor *self, void *closure)
Definition: python/google/protobuf/pyext/descriptor.cc:1076
google::protobuf::python::enum_descriptor::SetContainingType
static int SetContainingType(PyBaseDescriptor *self, PyObject *value, void *closure)
Definition: python/google/protobuf/pyext/descriptor.cc:1094
google::protobuf::python::service_descriptor::GetFile
static PyObject * GetFile(PyBaseDescriptor *self, void *closure)
Definition: python/google/protobuf/pyext/descriptor.cc:1669
google::protobuf::python::oneof_descriptor::GetHasOptions
static PyObject * GetHasOptions(PyBaseDescriptor *self, void *closure)
Definition: python/google/protobuf/pyext/descriptor.cc:1565
google::protobuf::python::oneof_descriptor::SetOptions
static int SetOptions(PyBaseDescriptor *self, PyObject *value, void *closure)
Definition: python/google/protobuf/pyext/descriptor.cc:1582
google::protobuf::python::enum_descriptor::GetEnumvaluesSeq
static PyObject * GetEnumvaluesSeq(PyBaseDescriptor *self, void *closure)
Definition: python/google/protobuf/pyext/descriptor.cc:1080
google::protobuf::python::method_descriptor::GetName
static PyObject * GetName(PyBaseDescriptor *self, void *closure)
Definition: python/google/protobuf/pyext/descriptor.cc:1788
google::protobuf::python::method_descriptor::CopyToProto
static PyObject * CopyToProto(PyBaseDescriptor *self, PyObject *target)
Definition: python/google/protobuf/pyext/descriptor.cc:1820
google::protobuf::python::method_descriptor::GetOptions
static PyObject * GetOptions(PyBaseDescriptor *self)
Definition: python/google/protobuf/pyext/descriptor.cc:1816
google::protobuf::python::oneof_descriptor::SetHasOptions
static int SetHasOptions(PyBaseDescriptor *self, PyObject *value, void *closure)
Definition: python/google/protobuf/pyext/descriptor.cc:1573


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:10