public Builder mergeNearestNeighborSearchConfig(com.google.protobuf.Value value) {
      if (nearestNeighborSearchConfigBuilder_ == null) {
        if (configCase_ == 2 && config_ != com.google.protobuf.Value.getDefaultInstance()) {
          config_ =
              com.google.protobuf.Value.newBuilder((com.google.protobuf.Value) config_)
                  .mergeFrom(value)
                  .buildPartial();
        } else {
          config_ = value;
        }
        onChanged();
      } else {
        if (configCase_ == 2) {
          nearestNeighborSearchConfigBuilder_.mergeFrom(value);
        } 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