builder.clearResource();
this.url = resource;
}
@Override
public synchronized LocalResourceVisibility getVisibility() {
LocalResourceProtoOrBuilder p = viaProto ? proto : builder;
if (!p.hasVisibility()) {
return null;
}
return convertFromProtoFormat(p.getVisibility());
}