private void initFields() {
      theID_ = org.bwapi.proxy.messages.GameMessages.UnitId.getDefaultInstance();
      player_ = 0;
      type_ = org.bwapi.proxy.messages.GameMessages.UnitType.getDefaultInstance();
      initialType_ = org.bwapi.proxy.messages.GameMessages.UnitType.getDefaultInstance();
      hitPoints_ = 0;
      initialHitPoints_ = 0;
      shields_ = 0;
      energy_ = 0;
      resources_ = 0;
      resourceGroup_ = 0;
      initialResources_ = 0;
      killCount_ = 0;
      groundWeaponCooldown_ = 0;
      airWeaponCooldown_ = 0;
      spellCooldown_ = 0;
      defenseMatrixPoints_ = 0;
      defenseMatrixTimer_ = 0;
      ensnareTimer_ = 0;
      irradiateTimer_ = 0;
      lockdownTimer_ = 0;
      maelstromTimer_ = 0;
      plagueTimer_ = 0;
      removeTimer_ = 0;
      stasisTimer_ = 0;
      stimTimer_ = 0;
      position_ = org.bwapi.proxy.messages.BasicTypes.Position.getDefaultInstance();
      initialPosition_ = org.bwapi.proxy.messages.BasicTypes.Position.getDefaultInstance();
      tilePosition_ = org.bwapi.proxy.messages.BasicTypes.TilePosition.getDefaultInstance();
      initialTilePosition_ = org.bwapi.proxy.messages.BasicTypes.TilePosition.getDefaultInstance();
      angle_ = 0D;
      velocityX_ = 0D;
      velocityY_ = 0D;
      target_ = org.bwapi.proxy.messages.GameMessages.UnitId.getDefaultInstance();
      targetPosition_ = org.bwapi.proxy.messages.BasicTypes.Position.getDefaultInstance();
      order_ = 0;
      orderTarget_ = org.bwapi.proxy.messages.GameMessages.UnitId.getDefaultInstance();
      orderTimer_ = 0;
      secondaryOrder_ = 0;
      buildUnit_ = org.bwapi.proxy.messages.GameMessages.UnitId.getDefaultInstance();
      remainingBuildTime_ = 0;
      remainingTrainTime_ = 0;
      trainingQueue_ = java.util.Collections.emptyList();
      transport_ = org.bwapi.proxy.messages.GameMessages.UnitId.getDefaultInstance();
      loadedUnits_ = java.util.Collections.emptyList();
      interceptorCount_ = 0;
      scarabCount_ = 0;
      spiderMineCount_ = 0;
      tech_ = 0;
      upgrade_ = 0;
      remainingResearchTime_ = 0;
      remainingUpgradeTime_ = 0;
      rallyPosition_ = org.bwapi.proxy.messages.BasicTypes.Position.getDefaultInstance();
      rallyUnit_ = org.bwapi.proxy.messages.GameMessages.UnitId.getDefaultInstance();
      addon_ = org.bwapi.proxy.messages.GameMessages.UnitId.getDefaultInstance();
      carrier_ = org.bwapi.proxy.messages.GameMessages.UnitId.getDefaultInstance();
      interceptors_ = java.util.Collections.emptyList();
      nydusExit_ = org.bwapi.proxy.messages.GameMessages.UnitId.getDefaultInstance();
      exists_ = false;
      hasNuke_ = false;
      accelerating_ = false;
      beingConstructed_ = false;
      beingHealed_ = false;
      blind_ = false;
      braking_ = false;
      burrowed_ = false;
      carryingGas_ = false;
      carryingMinerals_ = false;
      cloaked_ = false;
      completed_ = false;
      constructing_ = false;
      defenseMatrixed_ = false;
      ensnared_ = false;
      following_ = false;
      gatheringGas_ = false;
      gatheringMinerals_ = false;
      hallucination_ = false;
      idle_ = false;
      irradiated_ = false;
      lifted_ = false;
      loaded_ = false;
      lockedDown_ = false;
      maelstrommed_ = false;
      morphing_ = false;
      moving_ = false;
      parasited_ = false;
      patrolling_ = false;
      plagued_ = false;
      repairing_ = false;
      researching_ = false;
      selected_ = false;
      sieged_ = false;
      startingAttack_ = false;
      stasised_ = false;
      stimmed_ = false;
      training_ = false;
      underStorm_ = false;
      underAttack_ = false;
      underDarkSwarm_ = false;
      unpowered_ = false;
      upgrading_ = false;
      visible_ = false;
      beingGathered_ = false;
      larvae_ = java.util.Collections.emptyList();
      hatchery_ = org.bwapi.proxy.messages.GameMessages.UnitId.getDefaultInstance();
      buildType_ = org.bwapi.proxy.messages.GameMessages.UnitType.getDefaultInstance();
      detected_ = false;
      attacking_ = false;
      attackFrame_ = false;
      stuck_ = false;
    }