public org.bwapi.proxy.messages.GameMessages.UpgradeType.Builder addUpgradesBuilder(
          int index) {
        return getUpgradesFieldBuilder().addBuilder(
            index, org.bwapi.proxy.messages.GameMessages.UpgradeType.getDefaultInstance());
      }