code: final PublishResponse publish(
        ProjectTopicName topic, List<PubsubMessage> messages) {
  
      PublishRequest request =
          PublishRequest.newBuilder()
              .setTopic(topic == null ? null : topic.toString())
              .addAllMessages(messages)
              .build();
      return publish(request);
    }
docs: /* package-private