public Builder addMinerals(
          org.bwapi.proxy.messages.GameMessages.UnitId.Builder builderForValue) {
        if (mineralsBuilder_ == null) {
          ensureMineralsIsMutable();
          minerals_.add(builderForValue.build());
          onChanged();
        } else {
          mineralsBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }