public static final class DataSchemaDetails.SearchStrategy.Builder extends GeneratedMessageV3.Builder<DataSchemaDetails.SearchStrategy.Builder> implements DataSchemaDetails.SearchStrategyOrBuilder
The search strategy for annotations value of the key
.
Protobuf type google.cloud.visionai.v1.DataSchemaDetails.SearchStrategy
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DataSchemaDetails.SearchStrategy.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public DataSchemaDetails.SearchStrategy build()
buildPartial()
public DataSchemaDetails.SearchStrategy buildPartial()
clear()
public DataSchemaDetails.SearchStrategy.Builder clear()
Overrides
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];
clearField(Descriptors.FieldDescriptor field)
public DataSchemaDetails.SearchStrategy.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public DataSchemaDetails.SearchStrategy.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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;
clone()
public DataSchemaDetails.SearchStrategy.Builder clone()
Overrides
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];
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];
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];
getDefaultInstanceForType()
public DataSchemaDetails.SearchStrategy getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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;
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
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];
mergeFrom(DataSchemaDetails.SearchStrategy other)
public DataSchemaDetails.SearchStrategy.Builder mergeFrom(DataSchemaDetails.SearchStrategy other)
public DataSchemaDetails.SearchStrategy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public DataSchemaDetails.SearchStrategy.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DataSchemaDetails.SearchStrategy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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];
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];
setField(Descriptors.FieldDescriptor field, Object value)
public DataSchemaDetails.SearchStrategy.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DataSchemaDetails.SearchStrategy.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
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;
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 |
int
The enum numeric value on the wire for searchStrategyType to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final DataSchemaDetails.SearchStrategy.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides