public List<DescriptorDigest> getLayerDigests() {
    List<DescriptorDigest> layerDigests = new ArrayList<>();

    for (LayerObjectTemplate layerObjectTemplate : fsLayers) {
      layerDigests.add(layerObjectTemplate.blobSum);
    }

    return layerDigests;
  }
Returns a list of descriptor digests for the layers in the image.

@return a list of descriptor digests for the layers in the image.
jib-core/src/main/java/com/google/cloud/tools/jib/image/json/V21ManifestTemplate.java