public Builder removeRequiredUnits(int index) {
        if (requiredUnitsBuilder_ == null) {
          ensureRequiredUnitsIsMutable();
          requiredUnits_.remove(index);
          onChanged();
        } else {
          requiredUnitsBuilder_.remove(index);
        }
        return this;
      }