@Override
public Future<Map<Index, IndexState>> getIndexes() {
StringProto req = new StringProto();
req.setValue(datastoreServiceConfig.getAppIdNamespace().getAppId());
return new FutureWrapper<CompositeIndices, Map<Index, IndexState>>(makeAsyncCall(apiConfig,
Method.GetIndices, req, new CompositeIndices())) {
@Override
protected Map<Index, IndexState> wrap(CompositeIndices indices) throws Exception {
Map<Index, IndexState> answer = new LinkedHashMap<Index, IndexState>();
for (CompositeIndex ci : indices.indexs()) {
Index index = IndexTranslator.convertFromPb(ci);