com.basho.riak.protobuf.RiakPB.RpbPair.Builder pb =
com.basho.riak.protobuf.RiakPB.RpbPair.newBuilder().setKey(key);
if (ent.getValue() != null) {
pb.setValue(ByteString.copyFromUtf8(ent.getValue()));
}
b.addUsermeta(pb);
}
}
synchronized (indexLock) {
for (@SuppressWarnings("rawtypes") RiakIndex i : indexes) {