def __unicode__(self): return text_format.MessageToString(self, as_utf8=True).decode('utf-8')
def __str__(self): return text_format.MessageToString(self)