public Builder clearUpgrades() {
        if (upgradesBuilder_ == null) {
          upgrades_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00002000);
          onChanged();
        } else {
          upgradesBuilder_.clear();
        }
        return this;
      }