public Builder setType(org.bwapi.proxy.messages.GameMessages.BulletType value) {
        if (value == null) {
          throw new NullPointerException();
        }
        bitField0_ |= 0x00000004;
        type_ = value;
        onChanged();
        return this;
      }