'Iterates over the fields which are actually set.
Yields:
a tuple of (type_descriptor, value) for each field which is set.'

def ListSetFields(self):

    for type_descriptor in self.type_infos:
        if (type_descriptor.name in self._data):
            (yield (type_descriptor, self.Get(type_descriptor.name)))
