I am using the Google Sheets Java API to pull data from a spreadsheet, like so:
ValueRange valueRange = sheetsService.spreadsheets().values().get(docId, sheetName).execute();
List<List<Object>> rows = valueRange.getValues();
However, this spreadsheet contains formulas and I want the actual formula itself, not the calculated value of the formula.
How do I get the formula?