@Override
public Future<List<ConversionResult>> convertAsync(List<Conversion> conversions) {
logger.warning("The Conversion API will be decommissioned in November 2012 "
+ "and all calls to it will return an error.");
final ConversionRequest request =
conversionRequestProtoConverter.convert(conversions);
Future<byte[]> responseBytes = ApiProxy.makeAsyncCall(
CONVERSION_SERVICE, CONVERT_METHOD, request.toByteArray(), createApiConfig(deadline));
return new ConversionFutureWrapper<byte[], List<ConversionResult>>(responseBytes) {
@Override
protected List<ConversionResult> wrap(byte[] responseBytes) throws IOException {
ConversionResponse.Builder response = ConversionResponse.newBuilder()
.mergeFrom(responseBytes);