code: public TableResult listTableDataFromId(String datasetName, String tableName) {
      // [START bigquery_browse_table]
      TableId tableIdObject = TableId.of(datasetName, tableName);
      // This example reads the result 100 rows per RPC call. If there's no need to limit the number,
      // simply omit the option.
      TableResult tableData =
          bigquery.listTableData(tableIdObject, TableDataListOption.pageSize(100));
      for (FieldValueList row : tableData.iterateAll()) {
        // do something with the row
      }
      // [END bigquery_browse_table]
      return tableData;
    }
docs: [VARIABLE "my_table_name"]