public org.bwapi.proxy.messages.GameMessages.UnitTypeIntPairOrBuilder getAllUnitCountOrBuilder(
          int index) {
        if (allUnitCountBuilder_ == null) {
          return allUnitCount_.get(index);  } else {
          return allUnitCountBuilder_.getMessageOrBuilder(index);
        }
      }