RegistryEndpointProvider<URL> writer(URL location, Consumer<Long> writtenByteCountListener) {
    return new Writer(location, writtenByteCountListener);
  }
Returns a new Writer.

@param location the upload URL
@param writtenByteCountListener the listener for {@link Blob} push progress (written bytes)
@return a {@link RegistryEndpointProvider} for writing the BLOB to an upload location
jib-core/src/main/java/com/google/cloud/tools/jib/registry/BlobPusher.java