code: public PubsubFuture<List<ReceivedMessage>> pull(final String path, final PullRequest pullRequest) {
      // TODO (dano): use async client when chunked encoding is fixed
  //    return post("pull", path, pullRequest, PullResponse.class)
  //        .thenApply(PullResponse::receivedMessages);
      return requestJavaNet("pull", POST, path, pullRequest,
          readJson(PullResponse.class).andThen(PullResponse::receivedMessages));
    }
docs: Pull a batch of messages.
  
  @param pullRequest The pull request.
  @return a future that is completed with a list of received messages.