private void ensureResearchedTechsIsMutable() {
        if (!((bitField0_ & 0x00100000) == 0x00100000)) {
          researchedTechs_ = new java.util.ArrayList<org.bwapi.proxy.messages.GameMessages.TechType>(researchedTechs_);
          bitField0_ |= 0x00100000;
         }
      }