'Return an old style protocol buffer object.'

def AsPrimitiveProto(self):

    if self.protobuf:
        result = self.protobuf()
        result.ParseFromString(self.SerializeToString())
        return result
