def __getstate__(self):
    'Support the pickle protocol.'
    return dict(serialized=self.SerializePartialToString())
Support the pickle protocol.
def __getstate__(self):
    
    return dict(serialized=self.SerializePartialToString())