Searched refs:WhichOneof (Results 1 – 5 of 5) sorted by relevance
/external/protobuf/python/google/protobuf/internal/ |
D | message_test.py | 568 self.assertRaises(ValueError, m.WhichOneof, 'no_such_oneof_field') 572 self.assertIs(None, m.WhichOneof('oneof_field')) 575 self.assertEqual('oneof_uint32', m.WhichOneof('oneof_field')) 579 self.assertEqual('oneof_string', m.WhichOneof('oneof_field')) 584 self.assertEqual('oneof_nested_message', m.WhichOneof('oneof_field')) 589 self.assertEqual('oneof_bytes', m.WhichOneof('oneof_field')) 598 self.assertEqual('oneof_uint32', m.WhichOneof('oneof_field')) 617 self.assertIs(None, m.WhichOneof('oneof_field')) 625 self.assertIs(None, m.WhichOneof('oneof_field')) 635 self.assertEqual('oneof_uint32', m.WhichOneof('oneof_field')) [all …]
|
D | python_message.py | 1006 def WhichOneof(self, oneof_name): function 1020 cls.WhichOneof = WhichOneof
|
D | text_format_test.py | 595 self.assertEqual('oneof_uint32', m2.WhichOneof('oneof_field'))
|
/external/protobuf/python/google/protobuf/pyext/ |
D | message.cc | 1456 static PyObject* WhichOneof(CMessage* self, PyObject* arg) { in CheckAndGetInteger() function 2183 { "WhichOneof", (PyCFunction)WhichOneof, METH_O, in CheckAndGetInteger()
|
/external/protobuf/ |
D | CHANGES.txt | 16 * Fixed WhichOneof() to work with de-serialized protobuf messages.
|