code: public static <T> ApiFuture<T> toApiFuture(CompletableFuture<T> completableFuture) {
          return ApiFutureUtils.createApiFuture(Java8FutureUtils.createValueSourceFuture(completableFuture));
      }
docs: Converts {@link java.util.concurrent.CompletableFuture} to {@link com.google.api.core.ApiFuture}.