public long getSize() {
    return size;
  }
Initialize with just digest.

@param digest the digest to initialize the {@link BlobDescriptor} from
jib-core/src/main/java/com/google/cloud/tools/jib/blob/BlobDescriptor.java