public Builder setRelevance(double value) {

      relevance_ = value;
      bitField0_ |= 0x00000008;
      onChanged();
      return this;
    }
<pre>
Available to IMAGE corpus types.
Relevance of this `SearchResultItem` to user search query (text query or
image query).
By default this represents cosine similarity between the query and the
retrieved media content. The value is in the range of [-1, 1].
Note that search ranking is not only decided by this relevance score,
but also other factors such as the match of annotations.
</pre>

<code>double relevance = 6;</code>

@param value The relevance to set.
@return This builder for chaining.
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/SearchResultItem.java