public final class TextPropertyOptions
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Cloud Search API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
TextPropertyOptions() |
Modifier and Type | Method and Description |
---|---|
TextPropertyOptions |
clone() |
TextOperatorOptions |
getOperatorOptions()
If set, describes how the property should be used as a search operator.
|
RetrievalImportance |
getRetrievalImportance()
Indicates the search quality importance of the tokens within the field when used for retrieval.
|
TextPropertyOptions |
set(java.lang.String fieldName,
java.lang.Object value) |
TextPropertyOptions |
setOperatorOptions(TextOperatorOptions operatorOptions)
If set, describes how the property should be used as a search operator.
|
TextPropertyOptions |
setRetrievalImportance(RetrievalImportance retrievalImportance)
Indicates the search quality importance of the tokens within the field when used for retrieval.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public TextOperatorOptions getOperatorOptions()
null
for nonepublic TextPropertyOptions setOperatorOptions(TextOperatorOptions operatorOptions)
operatorOptions
- operatorOptions or null
for nonepublic RetrievalImportance getRetrievalImportance()
null
for nonepublic TextPropertyOptions setRetrievalImportance(RetrievalImportance retrievalImportance)
retrievalImportance
- retrievalImportance or null
for nonepublic TextPropertyOptions set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public TextPropertyOptions clone()
clone
in class com.google.api.client.json.GenericJson