docs: public void setupPubsub() throws IOException {
      ExamplePubsubTopicAndSubscriptionOptions pubsubOptions =
          options.as(ExamplePubsubTopicAndSubscriptionOptions.class);
      if (!pubsubOptions.getPubsubTopic().isEmpty()) {
        pendingMessages.add("**********************Set Up Pubsub************************");
        setupPubsubTopic(pubsubOptions.getPubsubTopic());
        pendingMessages.add("The Pub/Sub topic has been set up for this example: "
            + pubsubOptions.getPubsubTopic());
  
        if (!pubsubOptions.getPubsubSubscription().isEmpty()) {
          setupPubsubSubscription(
              pubsubOptions.getPubsubTopic(), pubsubOptions.getPubsubSubscription());
          pendingMessages.add("The Pub/Sub subscription has been set up for this example: "
              + pubsubOptions.getPubsubSubscription());
        }
      }
    }