public org.bwapi.proxy.messages.GameMessages.WeaponType getWeapon() {
        if (weaponBuilder_ == null) {
          return weapon_;
        } else {
          return weaponBuilder_.getMessage();
        }
      }