[Java] Reduce scope of Subscription public API.