public org.bwapi.proxy.messages.GameMessages.UnitTypeOrBuilder getTrainingQueueOrBuilder(
          int index) {
        if (trainingQueueBuilder_ == null) {
          return trainingQueue_.get(index);  } else {
          return trainingQueueBuilder_.getMessageOrBuilder(index);
        }
      }