public Builder clear() {
        super.clear();
        id_ = 0;
        bitField0_ = (bitField0_ & ~0x00000001);
        name_ = "";
        bitField0_ = (bitField0_ & ~0x00000002);
        race_ = org.bwapi.proxy.messages.GameMessages.Race.Zerg;
        bitField0_ = (bitField0_ & ~0x00000004);
        mineralPriceBase_ = 0;
        bitField0_ = (bitField0_ & ~0x00000008);
        mineralPriceFactor_ = 0;
        bitField0_ = (bitField0_ & ~0x00000010);
        gasPriceBase_ = 0;
        bitField0_ = (bitField0_ & ~0x00000020);
        gasPriceFactor_ = 0;
        bitField0_ = (bitField0_ & ~0x00000040);
        upgradeTimeBase_ = 0;
        bitField0_ = (bitField0_ & ~0x00000080);
        upgradeTimeFactor_ = 0;
        bitField0_ = (bitField0_ & ~0x00000100);
        maxRepeats_ = 0;
        bitField0_ = (bitField0_ & ~0x00000200);
        if (whatUpgradesBuilder_ == null) {
          whatUpgrades_ = org.bwapi.proxy.messages.GameMessages.UnitType.getDefaultInstance();
        } else {
          whatUpgradesBuilder_.clear();
        }
        bitField0_ = (bitField0_ & ~0x00000400);
        if (whatUsesBuilder_ == null) {
          whatUses_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000800);
        } else {
          whatUsesBuilder_.clear();
        }
        return this;
      }