Prediction using Bayesian Hierarchical Model in rStan

Are you talking about predicting on new data like this:

Or there is prediction, forecasting, and backcasting from the Stan manual here: