Interface DataSchemaDetails.SearchStrategyOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
DataSchemaDetails.SearchStrategy, DataSchemaDetails.SearchStrategy.Builder
Enclosing class:
DataSchemaDetails

public static interface DataSchemaDetails.SearchStrategyOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasSearchStrategyType

      boolean hasSearchStrategyType()
       The type of search strategy to be applied on the `key` above.
       The allowed `search_strategy_type` is different for different data types,
       which is documented in the DataSchemaDetails.DataType. Specifying
       unsupported `search_strategy_type` for data types will result in
       INVALID_ARGUMENT error.
       
      optional .google.cloud.visionai.v1.DataSchemaDetails.SearchStrategy.SearchStrategyType search_strategy_type = 1;
      Returns:
      Whether the searchStrategyType field is set.
    • getSearchStrategyTypeValue

      int getSearchStrategyTypeValue()
       The type of search strategy to be applied on the `key` above.
       The allowed `search_strategy_type` is different for different data types,
       which is documented in the DataSchemaDetails.DataType. Specifying
       unsupported `search_strategy_type` for data types will result in
       INVALID_ARGUMENT error.
       
      optional .google.cloud.visionai.v1.DataSchemaDetails.SearchStrategy.SearchStrategyType search_strategy_type = 1;
      Returns:
      The enum numeric value on the wire for searchStrategyType.
    • getSearchStrategyType

       The type of search strategy to be applied on the `key` above.
       The allowed `search_strategy_type` is different for different data types,
       which is documented in the DataSchemaDetails.DataType. Specifying
       unsupported `search_strategy_type` for data types will result in
       INVALID_ARGUMENT error.
       
      optional .google.cloud.visionai.v1.DataSchemaDetails.SearchStrategy.SearchStrategyType search_strategy_type = 1;
      Returns:
      The searchStrategyType.
    • hasConfidenceScoreIndexConfig

      boolean hasConfidenceScoreIndexConfig()
       Optional. Configs the path to the confidence score, and the threshold.
       Only if the score is greater than the threshold, current field will be
       built into the index. Only applies to leaf nodes using EXACT_SEARCH or
       SMART_SEARCH.
       
      .google.cloud.visionai.v1.DataSchemaDetails.SearchStrategy.ConfidenceScoreIndexConfig confidence_score_index_config = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the confidenceScoreIndexConfig field is set.
    • getConfidenceScoreIndexConfig

       Optional. Configs the path to the confidence score, and the threshold.
       Only if the score is greater than the threshold, current field will be
       built into the index. Only applies to leaf nodes using EXACT_SEARCH or
       SMART_SEARCH.
       
      .google.cloud.visionai.v1.DataSchemaDetails.SearchStrategy.ConfidenceScoreIndexConfig confidence_score_index_config = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The confidenceScoreIndexConfig.
    • getConfidenceScoreIndexConfigOrBuilder

       Optional. Configs the path to the confidence score, and the threshold.
       Only if the score is greater than the threshold, current field will be
       built into the index. Only applies to leaf nodes using EXACT_SEARCH or
       SMART_SEARCH.
       
      .google.cloud.visionai.v1.DataSchemaDetails.SearchStrategy.ConfidenceScoreIndexConfig confidence_score_index_config = 2 [(.google.api.field_behavior) = OPTIONAL];