public static CompletableFuture<Map<Field, Value>> getValues(ReferenceType type, List<Field> fields) {
    if (type instanceof ReferenceTypeImpl && isAsyncEnabled()) {
      return reschedule(((ReferenceTypeImpl)type).getValuesAsync(fields));
    }
    return completedFuture(type.getValues(fields));
  }
public static CompletableFuture<Map<Field, Value>> getValues(ReferenceType type, List<Field> fields)