public Builder addUnitTypes(org.bwapi.proxy.messages.GameMessages.UnitTypeData value) {
        if (unitTypesBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureUnitTypesIsMutable();
          unitTypes_.add(value);
          onChanged();
        } else {
          unitTypesBuilder_.addMessage(value);
        }
        return this;
      }