public org.bwapi.proxy.messages.GameMessages.UpgradeTypeOrBuilder getArmorUpgradeOrBuilder() {
        if (armorUpgradeBuilder_ != null) {
          return armorUpgradeBuilder_.getMessageOrBuilder();
        } else {
          return armorUpgrade_;
        }
      }