docs: def ConvertToWireFormat(self, value):
      """Encode the nested protobuf into wire format."""
      output = _SerializeEntries(_GetOrderedEntries(value.GetRawData()))
      return (self.encoded_tag, VarintEncode(len(output)), output)