public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized != -1) return isInitialized == 1;

      if (!hasId()) {
        memoizedIsInitialized = 0;
        return false;
      }
      if (!hasName()) {
        memoizedIsInitialized = 0;
        return false;
      }
      if (!hasRace()) {
        memoizedIsInitialized = 0;
        return false;
      }
      if (!hasMineralPriceBase()) {
        memoizedIsInitialized = 0;
        return false;
      }
      if (!hasMineralPriceFactor()) {
        memoizedIsInitialized = 0;
        return false;
      }
      if (!hasGasPriceBase()) {
        memoizedIsInitialized = 0;
        return false;
      }
      if (!hasGasPriceFactor()) {
        memoizedIsInitialized = 0;
        return false;
      }
      if (!hasUpgradeTimeBase()) {
        memoizedIsInitialized = 0;
        return false;
      }
      if (!hasUpgradeTimeFactor()) {
        memoizedIsInitialized = 0;
        return false;
      }
      if (!hasMaxRepeats()) {
        memoizedIsInitialized = 0;
        return false;
      }
      if (!hasWhatUpgrades()) {
        memoizedIsInitialized = 0;
        return false;
      }
      if (!getWhatUpgrades().isInitialized()) {
        memoizedIsInitialized = 0;
        return false;
      }
      for (int i = 0; i < getWhatUsesCount(); i++) {
        if (!getWhatUses(i).isInitialized()) {
          memoizedIsInitialized = 0;
          return false;
        }
      }
      memoizedIsInitialized = 1;
      return true;
    }