public <T extends ManifestTemplate> ManifestAndDigest<T> pullManifest(
      String imageQualifier, Class<T> manifestTemplateClass) throws IOException, RegistryException {
    ManifestPuller<T> manifestPuller =
        new ManifestPuller<>(
            registryEndpointRequestProperties, imageQualifier, manifestTemplateClass);
    return callRegistryEndpoint(manifestPuller);
  }
Pulls the image manifest and digest for a specific tag.

@param <T> child type of ManifestTemplate
@param imageQualifier the tag or digest to pull on
@param manifestTemplateClass the specific version of manifest template to pull, or {@link
    ManifestTemplate} to pull predefined subclasses; see: {@link
    ManifestPuller#handleResponse(Response)}
@return the {@link ManifestAndDigest}
@throws IOException if communicating with the endpoint fails
@throws RegistryException if communicating with the endpoint fails
jib-core/src/main/java/com/google/cloud/tools/jib/registry/RegistryClient.java