Package com.google.cloud.visionai.v1
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 Summary
Modifier and TypeMethodDescriptionOptional.Optional.The type of search strategy to be applied on the `key` above.intThe type of search strategy to be applied on the `key` above.booleanOptional.booleanThe type of search strategy to be applied on the `key` above.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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
DataSchemaDetails.SearchStrategy.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
DataSchemaDetails.SearchStrategy.ConfidenceScoreIndexConfig 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
DataSchemaDetails.SearchStrategy.ConfidenceScoreIndexConfigOrBuilder 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];
-