public org.bwapi.proxy.messages.GameMessages.TechTypeOrBuilder getAbilitiesOrBuilder(
          int index) {
        if (abilitiesBuilder_ == null) {
          return abilities_.get(index);  } else {
          return abilitiesBuilder_.getMessageOrBuilder(index);
        }
      }