Searched refs:oneof_name (Results 1 – 2 of 2) sorted by relevance
1006 def WhichOneof(self, oneof_name): argument1009 field = message_descriptor.oneofs_by_name[oneof_name]1012 'Protocol message has no oneof "%s" field.' % oneof_name)
1457 char* oneof_name; in CheckAndGetInteger() local1462 oneof_name = PyString_AsString(arg); in CheckAndGetInteger()1463 if (oneof_name == NULL) { in CheckAndGetInteger()1467 self->message->GetDescriptor()->FindOneofByName(oneof_name); in CheckAndGetInteger()1470 "Protocol message has no oneof \"%s\" field.", oneof_name); in CheckAndGetInteger()