public Builder setHoles(
          int index, org.bwapi.proxy.messages.TerrainMessages.Polygon value) {
        if (holesBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureHolesIsMutable();
          holes_.set(index, value);
          onChanged();
        } else {
          holesBuilder_.setMessage(index, value);
        }
        return this;
      }