def ConvertToWireFormat(self, value):
    output = SerializeEntries(value.GetRawData().itervalues())
    return (self.encoded_tag, VarintEncode(len(output)), output)
Encode the nested protobuf into wire format.
dataset/ETHPy150Open google/grr/grr/lib/rdfvalues/structs.py/ProtoEmbedded.ConvertToWireFormat