parameters: (self, file_proto)
docstring: Recursively finds dependencies for file protos.
  
      Args:
        file_proto: The proto to get dependencies from.
  
      Yields:
        Each direct and indirect dependency.
docstring_summary: Recursively finds dependencies for file protos.
docstring_tokens: Recursively finds dependencies for file protos .
function: def _GetDeps(self, file_proto):
      """Recursively finds dependencies for file protos.
  
      Args:
        file_proto: The proto to get dependencies from.
  
      Yields:
        Each direct and indirect dependency.
      """
  
      for dependency in file_proto.dependency:
        dep_desc = self.FindFileByName(dependency)
        dep_proto = descriptor_pb2.FileDescriptorProto.FromString(
            dep_desc.serialized_pb)
        yield dep_proto
        for parent_dep in self._GetDeps(dep_proto):
          yield parent_dep
function_tokens: def _GetDeps ( self , file_proto ) : for dependency in file_proto . dependency : dep_desc = self . FindFileByName ( dependency ) dep_proto = descriptor_pb2 . FileDescriptorProto . FromString ( dep_desc . serialized_pb ) yield dep_proto for parent_dep in self . _GetDeps ( dep_proto ) : yield parent_dep