private com.google.protobuf.RepeatedFieldBuilder<
          org.bwapi.proxy.messages.GameMessages.UpgradeType, org.bwapi.proxy.messages.GameMessages.UpgradeType.Builder, org.bwapi.proxy.messages.GameMessages.UpgradeTypeOrBuilder> 
          getUpgradesFieldBuilder() {
        if (upgradesBuilder_ == null) {
          upgradesBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
              org.bwapi.proxy.messages.GameMessages.UpgradeType, org.bwapi.proxy.messages.GameMessages.UpgradeType.Builder, org.bwapi.proxy.messages.GameMessages.UpgradeTypeOrBuilder>(
                  upgrades_,
                  ((bitField0_ & 0x00000200) == 0x00000200),
                  getParentForChildren(),
                  isClean());
          upgrades_ = null;
        }
        return upgradesBuilder_;
      }