return convertFromProtoFormat(p.getStatus());
}
@Override
public URL getLocalPath() {
LocalResourceStatusProtoOrBuilder p = viaProto ? proto : builder;
if (this.localPath != null) {
return this.localPath;
}
if (!p.hasLocalPath()) {
return null;
}
this.localPath = convertFromProtoFormat(p.getLocalPath());
return this.localPath;
}