def SetInParent(self):
    """Mark this as present in the parent.
  This normally happens automatically when you assign a field of a
  sub-message, but sometimes you want to make the sub-message
  present while keeping it empty.  If you find yourself using this,
  you may want to reconsider your design."""
How to set a ProtoBuf field which is an empty message in Python?