Returns a list of (key, value) pairs as 2-tuples.

def items(self):
        "Returns a list of (key, value) pairs as 2-tuples."
        return (list(self._pb.IntMap.items()) + list(self._pb.StringMap.items()) +
                list(self._pb.FloatMap.items()) + list(self._pb.BoolMap.items()))