public Builder removeTrainingQueue(int index) {
        if (trainingQueueBuilder_ == null) {
          ensureTrainingQueueIsMutable();
          trainingQueue_.remove(index);
          onChanged();
        } else {
          trainingQueueBuilder_.remove(index);
        }
        return this;
      }