public org.bwapi.proxy.messages.GameMessages.WeaponTypeOrBuilder getWeaponOrBuilder() {
        if (weaponBuilder_ != null) {
          return weaponBuilder_.getMessageOrBuilder();
        } else {
          return weapon_;
        }
      }