public static interface DataSchemaDetails.SearchStrategyOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getConfidenceScoreIndexConfig()
public abstract 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 | |
---|---|
Type | Description |
DataSchemaDetails.SearchStrategy.ConfidenceScoreIndexConfig |
The confidenceScoreIndexConfig. |
getConfidenceScoreIndexConfigOrBuilder()
public abstract 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];
Returns | |
---|---|
Type | Description |
DataSchemaDetails.SearchStrategy.ConfidenceScoreIndexConfigOrBuilder |
getSearchStrategyType()
public abstract 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 | |
---|---|
Type | Description |
DataSchemaDetails.SearchStrategy.SearchStrategyType |
The searchStrategyType. |
getSearchStrategyTypeValue()
public abstract 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 | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for searchStrategyType. |
hasConfidenceScoreIndexConfig()
public abstract 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 | |
---|---|
Type | Description |
boolean |
Whether the confidenceScoreIndexConfig field is set. |
hasSearchStrategyType()
public abstract 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 | |
---|---|
Type | Description |
boolean |
Whether the searchStrategyType field is set. |