public java.util.List<? extends org.bwapi.proxy.messages.GameMessages.UpgradeTypeDataOrBuilder> 
           getUpgradesOrBuilderList() {
        if (upgradesBuilder_ != null) {
          return upgradesBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(upgrades_);
        }
      }