Lines Matching refs:HasField
774 reflection->HasField(*message, field)) {
1352 message->GetReflection()->HasField(*message, field_descriptor);
1384 // HasField() for a oneof *itself* isn't supported.
1393 // ...but HasField() for fields *in* a oneof is supported.
1410 PyObject* HasField(CMessage* self, PyObject* arg) {
1441 if (message->GetReflection()->HasField(*message, field_descriptor)) {
1446 // Special case: Python HasField() differs in semantics from C++
1447 // slightly: we return HasField('enum_field') == true if there is
2278 !message->GetReflection()->HasField(*message, field_descriptor)) {
2330 cmsg->read_only = !reflection->HasField(*self->message, field_descriptor);
2600 { "HasField", (PyCFunction)HasField, METH_O,