public Builder mergeFrom(org.bwapi.proxy.messages.GameMessages.UpgradeLevel other) {
        if (other == org.bwapi.proxy.messages.GameMessages.UpgradeLevel.getDefaultInstance()) return this;
        if (other.hasType()) {
          mergeType(other.getType());
        }
        if (other.hasLevel()) {
          setLevel(other.getLevel());
        }
        this.mergeUnknownFields(other.getUnknownFields());
        return this;
      }