public static final class DataSchemaDetails.SearchStrategy.Builder extends GeneratedMessage.Builder<DataSchemaDetails.SearchStrategy.Builder> implements DataSchemaDetails.SearchStrategyOrBuilder The search strategy for annotations value of the key.
Protobuf type google.cloud.visionai.v1.DataSchemaDetails.SearchStrategy
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DataSchemaDetails.SearchStrategy.BuilderImplements
DataSchemaDetails.SearchStrategyOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public DataSchemaDetails.SearchStrategy build()| Returns | |
|---|---|
| Type | Description |
DataSchemaDetails.SearchStrategy |
|
buildPartial()
public DataSchemaDetails.SearchStrategy buildPartial()| Returns | |
|---|---|
| Type | Description |
DataSchemaDetails.SearchStrategy |
|
clear()
public DataSchemaDetails.SearchStrategy.Builder clear()| Returns | |
|---|---|
| Type | Description |
DataSchemaDetails.SearchStrategy.Builder |
|
clearConfidenceScoreIndexConfig()
public DataSchemaDetails.SearchStrategy.Builder clearConfidenceScoreIndexConfig()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.Builder |
|
clearSearchStrategyType()
public DataSchemaDetails.SearchStrategy.Builder clearSearchStrategyType() 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.Builder |
This builder for chaining. |
getConfidenceScoreIndexConfig()
public 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. |
getConfidenceScoreIndexConfigBuilder()
public DataSchemaDetails.SearchStrategy.ConfidenceScoreIndexConfig.Builder getConfidenceScoreIndexConfigBuilder()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.Builder |
|
getConfidenceScoreIndexConfigOrBuilder()
public 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 |
|
getDefaultInstanceForType()
public DataSchemaDetails.SearchStrategy getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DataSchemaDetails.SearchStrategy |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getSearchStrategyType()
public 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 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 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 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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeConfidenceScoreIndexConfig(DataSchemaDetails.SearchStrategy.ConfidenceScoreIndexConfig value)
public DataSchemaDetails.SearchStrategy.Builder mergeConfidenceScoreIndexConfig(DataSchemaDetails.SearchStrategy.ConfidenceScoreIndexConfig value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
DataSchemaDetails.SearchStrategy.ConfidenceScoreIndexConfig |
| Returns | |
|---|---|
| Type | Description |
DataSchemaDetails.SearchStrategy.Builder |
|
mergeFrom(DataSchemaDetails.SearchStrategy other)
public DataSchemaDetails.SearchStrategy.Builder mergeFrom(DataSchemaDetails.SearchStrategy other)| Parameter | |
|---|---|
| Name | Description |
other |
DataSchemaDetails.SearchStrategy |
| Returns | |
|---|---|
| Type | Description |
DataSchemaDetails.SearchStrategy.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DataSchemaDetails.SearchStrategy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DataSchemaDetails.SearchStrategy.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DataSchemaDetails.SearchStrategy.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DataSchemaDetails.SearchStrategy.Builder |
|
setConfidenceScoreIndexConfig(DataSchemaDetails.SearchStrategy.ConfidenceScoreIndexConfig value)
public DataSchemaDetails.SearchStrategy.Builder setConfidenceScoreIndexConfig(DataSchemaDetails.SearchStrategy.ConfidenceScoreIndexConfig value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
DataSchemaDetails.SearchStrategy.ConfidenceScoreIndexConfig |
| Returns | |
|---|---|
| Type | Description |
DataSchemaDetails.SearchStrategy.Builder |
|
setConfidenceScoreIndexConfig(DataSchemaDetails.SearchStrategy.ConfidenceScoreIndexConfig.Builder builderForValue)
public DataSchemaDetails.SearchStrategy.Builder setConfidenceScoreIndexConfig(DataSchemaDetails.SearchStrategy.ConfidenceScoreIndexConfig.Builder builderForValue)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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
DataSchemaDetails.SearchStrategy.ConfidenceScoreIndexConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
DataSchemaDetails.SearchStrategy.Builder |
|
setSearchStrategyType(DataSchemaDetails.SearchStrategy.SearchStrategyType value)
public DataSchemaDetails.SearchStrategy.Builder setSearchStrategyType(DataSchemaDetails.SearchStrategy.SearchStrategyType value) 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;
| Parameter | |
|---|---|
| Name | Description |
value |
DataSchemaDetails.SearchStrategy.SearchStrategyTypeThe searchStrategyType to set. |
| Returns | |
|---|---|
| Type | Description |
DataSchemaDetails.SearchStrategy.Builder |
This builder for chaining. |
setSearchStrategyTypeValue(int value)
public DataSchemaDetails.SearchStrategy.Builder setSearchStrategyTypeValue(int value) 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;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for searchStrategyType to set. |
| Returns | |
|---|---|
| Type | Description |
DataSchemaDetails.SearchStrategy.Builder |
This builder for chaining. |