if (rep == null) {
return NO_RIAK_OBJECTS;
}
RpbGetResp resp = RPB.RpbGetResp.parseFrom(rep);
int count = resp.getContentCount();
RiakObject[] out = new RiakObject[count];
ByteString vclock = resp.getVclock();
for (int i = 0; i < count; i++) {
out[i] = new RiakObject(vclock, bucket, key, resp.getContent(i));
}
return out;
}