Class DataSchemaDetails.SearchStrategy (0.11.0)

public static final class DataSchemaDetails.SearchStrategy extends GeneratedMessageV3 implements DataSchemaDetails.SearchStrategyOrBuilder

The search strategy for annotations value of the key.

Protobuf type google.cloud.visionai.v1.DataSchemaDetails.SearchStrategy

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > DataSchemaDetails.SearchStrategy

Static Fields

CONFIDENCE_SCORE_INDEX_CONFIG_FIELD_NUMBER

public static final int CONFIDENCE_SCORE_INDEX_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

SEARCH_STRATEGY_TYPE_FIELD_NUMBER

public static final int SEARCH_STRATEGY_TYPE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DataSchemaDetails.SearchStrategy getDefaultInstance()
Returns
Type Description
DataSchemaDetails.SearchStrategy

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static DataSchemaDetails.SearchStrategy.Builder newBuilder()
Returns
Type Description
DataSchemaDetails.SearchStrategy.Builder

newBuilder(DataSchemaDetails.SearchStrategy prototype)

public static DataSchemaDetails.SearchStrategy.Builder newBuilder(DataSchemaDetails.SearchStrategy prototype)
Parameter
Name Description
prototype DataSchemaDetails.SearchStrategy
Returns
Type Description
DataSchemaDetails.SearchStrategy.Builder

parseDelimitedFrom(InputStream input)

public static DataSchemaDetails.SearchStrategy parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DataSchemaDetails.SearchStrategy
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DataSchemaDetails.SearchStrategy parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataSchemaDetails.SearchStrategy
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static DataSchemaDetails.SearchStrategy parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
DataSchemaDetails.SearchStrategy
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DataSchemaDetails.SearchStrategy parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataSchemaDetails.SearchStrategy
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DataSchemaDetails.SearchStrategy parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DataSchemaDetails.SearchStrategy
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DataSchemaDetails.SearchStrategy parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataSchemaDetails.SearchStrategy
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DataSchemaDetails.SearchStrategy parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DataSchemaDetails.SearchStrategy
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DataSchemaDetails.SearchStrategy parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataSchemaDetails.SearchStrategy
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static DataSchemaDetails.SearchStrategy parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DataSchemaDetails.SearchStrategy
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DataSchemaDetails.SearchStrategy parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataSchemaDetails.SearchStrategy
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static DataSchemaDetails.SearchStrategy parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DataSchemaDetails.SearchStrategy
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DataSchemaDetails.SearchStrategy parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataSchemaDetails.SearchStrategy
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<DataSchemaDetails.SearchStrategy> parser()
Returns
Type Description
Parser<SearchStrategy>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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];

Returns
Type Description
DataSchemaDetails.SearchStrategy.ConfidenceScoreIndexConfig

The confidenceScoreIndexConfig.

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

getParserForType()

public Parser<DataSchemaDetails.SearchStrategy> getParserForType()
Returns
Type Description
Parser<SearchStrategy>
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;

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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public DataSchemaDetails.SearchStrategy.Builder newBuilderForType()
Returns
Type Description
DataSchemaDetails.SearchStrategy.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DataSchemaDetails.SearchStrategy.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DataSchemaDetails.SearchStrategy.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public DataSchemaDetails.SearchStrategy.Builder toBuilder()
Returns
Type Description
DataSchemaDetails.SearchStrategy.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException