public org.bwapi.proxy.messages.GameMessages.TechType getAbilities(int index) {
        if (abilitiesBuilder_ == null) {
          return abilities_.get(index);
        } else {
          return abilitiesBuilder_.getMessage(index);
        }
      }