def ConvertFromWireFormat(self, value, container=None):
    return self._type(container)(value[2])
The wire format is simply a string.
dataset/ETHPy150Open google/grr/grr/lib/rdfvalues/structs.py/ProtoDynamicEmbedded.ConvertFromWireFormat