public Builder mergeArmorUpgrade(org.bwapi.proxy.messages.GameMessages.UpgradeType value) {
        if (armorUpgradeBuilder_ == null) {
          if (((bitField0_ & 0x00000400) == 0x00000400) &&
              armorUpgrade_ != org.bwapi.proxy.messages.GameMessages.UpgradeType.getDefaultInstance()) {
            armorUpgrade_ =
              org.bwapi.proxy.messages.GameMessages.UpgradeType.newBuilder(armorUpgrade_).mergeFrom(value).buildPartial();
          } else {
            armorUpgrade_ = value;
          }
          onChanged();
        } else {
          armorUpgradeBuilder_.mergeFrom(value);
        }
        bitField0_ |= 0x00000400;
        return this;
      }