public Builder addWeapons(org.bwapi.proxy.messages.GameMessages.WeaponTypeData value) {
        if (weaponsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureWeaponsIsMutable();
          weapons_.add(value);
          onChanged();
        } else {
          weaponsBuilder_.addMessage(value);
        }
        return this;
      }