void setDigest(DescriptorDigest digest) {
      this.digest = digest;
    }
Necessary for Jackson to create from JSON.
jib-core/src/main/java/com/google/cloud/tools/jib/image/json/BuildableManifestTemplate.java