public Builder setWeapon(org.bwapi.proxy.messages.GameMessages.WeaponType value) {
        if (weaponBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          weapon_ = value;
          onChanged();
        } else {
          weaponBuilder_.setMessage(value);
        }
        bitField0_ |= 0x00000100;
        return this;
      }