@java.lang.Override
        public Builder mergeFrom(com.google.protobuf.Message other) {
          if (other
              instanceof
              com.google.cloud.visionai.v1.DataSchemaDetails.SearchStrategy
                  .ConfidenceScoreIndexConfig) {
            return mergeFrom(
                (com.google.cloud.visionai.v1.DataSchemaDetails.SearchStrategy
                        .ConfidenceScoreIndexConfig)
                    other);
          } else {
            super.mergeFrom(other);
            return this;
          }
        }
<pre>
Filter on the confidence score. Only adds to index if the confidence
score is higher than the threshold.
Example data schema:
key: "name-confidence-pair"
type: CUSTOMIZED_STRUCT
granularity: GRANULARITY_PARTITION_LEVEL
customized_struct_config {
  field_schemas {
    key: "name"
    type: STRING
    granularity: GRANULARITY_PARTITION_LEVEL
    search_strategy {
      search_strategy_type: SMART_SEARCH
      confidence_score_index_config {
        field_path: "name-confidence-pair.score"
        threshold: 0.6
      }
    }
  }
  field_schemas {
    key: "score"
    type: FLOAT
    granularity: GRANULARITY_PARTITION_LEVEL
  }
}
This means only "name" with score &gt; 0.6 will be indexed.
</pre>

Protobuf type {@code
google.cloud.visionai.v1.DataSchemaDetails.SearchStrategy.ConfidenceScoreIndexConfig}
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/DataSchemaDetails.java