private ImageRequestBuilder setCachesDisabled(int cachesDisabled) {
    this.mCachesDisabled = cachesDisabled;
    if (mCacheChoice != CacheChoice.DYNAMIC) {
      this.mDiskCacheId = null;
    }
    return this;
  }
Sets the caches read and write permissions.

@param cachesDisabled the representation caches permissions
@return the updated builder instance
imagepipeline/src/main/java/com/facebook/imagepipeline/request/ImageRequestBuilder.java