public Reference asReference() {
   return Reference.newBuilder().setKey(key).setStore(store).build();
 }
 public DSRef(Reference reference) {
   this.key = reference.getKey();
   this.store = reference.getStore();
 }