private void ensureUpgradingIsMutable() {
        if (!((bitField0_ & 0x00400000) == 0x00400000)) {
          upgrading_ = new java.util.ArrayList<org.bwapi.proxy.messages.GameMessages.UpgradeType>(upgrading_);
          bitField0_ |= 0x00400000;
         }
      }