final PublishResponse publish(String topic, List<PubsubMessage> messages) {

    PublishRequest request =
        PublishRequest.newBuilder().setTopic(topic).addAllMessages(messages).build();
    return publish(request);
  }
final PublishResponse publish ( String topic , List < PubsubMessage > messages ) { PublishRequest request = PublishRequest . newBuilder ( ) . setTopic ( topic ) . addAllMessages ( messages ) . build ( ) ; return publish ( request ) ; }
/* package-private