public Builder setUpgradeType(
          org.bwapi.proxy.messages.GameMessages.UpgradeType.Builder builderForValue) {
        if (upgradeTypeBuilder_ == null) {
          upgradeType_ = builderForValue.build();
          onChanged();
        } else {
          upgradeTypeBuilder_.setMessage(builderForValue.build());
        }
        bitField0_ |= 0x00000100;
        return this;
      }