code: public Table getTable(TableReference tableRef)
        throws IOException {
      Bigquery.Tables.Get getTablesReply = service.tables().get(
          tableRef.getProjectId(), tableRef.getDatasetId(), tableRef.getTableId());
      return getTablesReply.execute();
    }
docs: Gets the specified table resource by table ID. This method does not return the data in the
  table, it only returns the table resource, which describes the structure of this table.
  
  @param tableRef The BigQuery table reference.
  @return The table resource, which describes the structure of this table.
  @throws IOException