public RegistryClient newRegistryClient() {
      return new RegistryClient(
          eventHandlers, credential, registryEndpointRequestProperties, userAgent, httpClient);
    }
Creates a new {@link RegistryClient}.

@return the new {@link RegistryClient}
jib-core/src/main/java/com/google/cloud/tools/jib/registry/RegistryClient.java