public Builder setPolygon(org.bwapi.proxy.messages.TerrainMessages.Polygon value) {
        if (polygonBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          polygon_ = value;
          onChanged();
        } else {
          polygonBuilder_.setMessage(value);
        }
        bitField0_ |= 0x00000002;
        return this;
      }