public Builder mergeGroundWeapon(org.bwapi.proxy.messages.GameMessages.WeaponType value) {
        if (groundWeaponBuilder_ == null) {
          if (((bitField1_ & 0x00000002) == 0x00000002) &&
              groundWeapon_ != org.bwapi.proxy.messages.GameMessages.WeaponType.getDefaultInstance()) {
            groundWeapon_ =
              org.bwapi.proxy.messages.GameMessages.WeaponType.newBuilder(groundWeapon_).mergeFrom(value).buildPartial();
          } else {
            groundWeapon_ = value;
          }
          onChanged();
        } else {
          groundWeaponBuilder_.mergeFrom(value);
        }
        bitField1_ |= 0x00000002;
        return this;
      }