public Builder setNearestNeighborSearchConfig(com.google.protobuf.Value value) {
      if (nearestNeighborSearchConfigBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        config_ = value;
        onChanged();
      } else {
        nearestNeighborSearchConfigBuilder_.setMessage(value);
      }
      configCase_ = 2;
      return this;
    }
<pre>
The full configuration for the generated index, the semantics are the
same as [metadata][google.cloud.aiplatform.v1.Index.metadata] and should
match
[NearestNeighborSearchConfig](https://cloud.google.com/vertex-ai/docs/explainable-ai/configuring-explanations-example-based#nearest-neighbor-search-config).
</pre>

<code>.google.protobuf.Value nearest_neighbor_search_config = 2;</code>
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Examples.java