<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def from_pb(cls, pb):
 """Instantiate the object from a protocol buffer. Args: pb (protobuf) Save a reference to the protocol buffer on the object. """

        obj = cls._from_pb(pb)
        obj._pb = pb
        return obj