public long getAllocationUnits() {
    return allocationUnits;
  }
Gets the allocation units this allocation holds. If this allocation is not the root, the full
number of units represents 1 allocation unit of the parent.

@return the allocation units
jib-core/src/main/java/com/google/cloud/tools/jib/event/progress/Allocation.java