Home
last modified time | relevance | path

Searched refs:oneof_name (Results 1 – 2 of 2) sorted by relevance

/external/protobuf/python/google/protobuf/internal/
Dpython_message.py1006 def WhichOneof(self, oneof_name): argument
1009 field = message_descriptor.oneofs_by_name[oneof_name]
1012 'Protocol message has no oneof "%s" field.' % oneof_name)
/external/protobuf/python/google/protobuf/pyext/
Dmessage.cc1457 char* oneof_name; in CheckAndGetInteger() local
1462 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()