def _ExtractSymbols(self, descriptors):
for desc in descriptors:<EOL><INDENT>yield (_PrefixWithDot(desc.full_name), desc)<EOL>for symbol in self._ExtractSymbols(desc.nested_types):<EOL><INDENT>yield symbol<EOL><DEDENT>for enum in desc.enum_types:<EOL><INDENT>yield (_PrefixWithDot(enum.full_name), enum)<EOL><DEDENT><DEDENT>
Pulls out all the symbols from descriptor protos.

        Args:
          descriptors: The messages to extract descriptors from.
        Yields:
          A two element tuple of the type name and descriptor object.