public Builder mergeFrom(org.bwapi.proxy.messages.GameMessages.UnitTypeIntPair other) {
        if (other == org.bwapi.proxy.messages.GameMessages.UnitTypeIntPair.getDefaultInstance()) return this;
        if (other.hasType()) {
          mergeType(other.getType());
        }
        if (other.hasCount()) {
          setCount(other.getCount());
        }
        this.mergeUnknownFields(other.getUnknownFields());
        return this;
      }