public final class PropertyDefinition
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 |
---|
PropertyDefinition() |
Modifier and Type | Method and Description |
---|---|
PropertyDefinition |
clone() |
BooleanPropertyOptions |
getBooleanPropertyOptions() |
DatePropertyOptions |
getDatePropertyOptions() |
PropertyDisplayOptions |
getDisplayOptions()
Options that determine how the property is displayed in the Cloud Search results page if it is
specified to be displayed in the object's display options .
|
DoublePropertyOptions |
getDoublePropertyOptions() |
EnumPropertyOptions |
getEnumPropertyOptions() |
HtmlPropertyOptions |
getHtmlPropertyOptions() |
IntegerPropertyOptions |
getIntegerPropertyOptions() |
java.lang.Boolean |
getIsFacetable()
Indicates that the property can be used for generating facets.
|
java.lang.Boolean |
getIsRepeatable()
Indicates that multiple values are allowed for the property.
|
java.lang.Boolean |
getIsReturnable()
Indicates that the property identifies data that should be returned in search results via the
Query API.
|
java.lang.Boolean |
getIsSortable()
Indicates that the property can be used for sorting.
|
java.lang.Boolean |
getIsSuggestable()
Indicates that the property can be used for generating query suggestions.
|
java.lang.Boolean |
getIsWildcardSearchable()
Indicates that users can perform wildcard search for this property.
|
java.lang.String |
getName()
The name of the property.
|
ObjectPropertyOptions |
getObjectPropertyOptions() |
TextPropertyOptions |
getTextPropertyOptions() |
TimestampPropertyOptions |
getTimestampPropertyOptions() |
PropertyDefinition |
set(java.lang.String fieldName,
java.lang.Object value) |
PropertyDefinition |
setBooleanPropertyOptions(BooleanPropertyOptions booleanPropertyOptions) |
PropertyDefinition |
setDatePropertyOptions(DatePropertyOptions datePropertyOptions) |
PropertyDefinition |
setDisplayOptions(PropertyDisplayOptions displayOptions)
Options that determine how the property is displayed in the Cloud Search results page if it is
specified to be displayed in the object's display options .
|
PropertyDefinition |
setDoublePropertyOptions(DoublePropertyOptions doublePropertyOptions) |
PropertyDefinition |
setEnumPropertyOptions(EnumPropertyOptions enumPropertyOptions) |
PropertyDefinition |
setHtmlPropertyOptions(HtmlPropertyOptions htmlPropertyOptions) |
PropertyDefinition |
setIntegerPropertyOptions(IntegerPropertyOptions integerPropertyOptions) |
PropertyDefinition |
setIsFacetable(java.lang.Boolean isFacetable)
Indicates that the property can be used for generating facets.
|
PropertyDefinition |
setIsRepeatable(java.lang.Boolean isRepeatable)
Indicates that multiple values are allowed for the property.
|
PropertyDefinition |
setIsReturnable(java.lang.Boolean isReturnable)
Indicates that the property identifies data that should be returned in search results via the
Query API.
|
PropertyDefinition |
setIsSortable(java.lang.Boolean isSortable)
Indicates that the property can be used for sorting.
|
PropertyDefinition |
setIsSuggestable(java.lang.Boolean isSuggestable)
Indicates that the property can be used for generating query suggestions.
|
PropertyDefinition |
setIsWildcardSearchable(java.lang.Boolean isWildcardSearchable)
Indicates that users can perform wildcard search for this property.
|
PropertyDefinition |
setName(java.lang.String name)
The name of the property.
|
PropertyDefinition |
setObjectPropertyOptions(ObjectPropertyOptions objectPropertyOptions) |
PropertyDefinition |
setTextPropertyOptions(TextPropertyOptions textPropertyOptions) |
PropertyDefinition |
setTimestampPropertyOptions(TimestampPropertyOptions timestampPropertyOptions) |
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public BooleanPropertyOptions getBooleanPropertyOptions()
null
for nonepublic PropertyDefinition setBooleanPropertyOptions(BooleanPropertyOptions booleanPropertyOptions)
booleanPropertyOptions
- booleanPropertyOptions or null
for nonepublic DatePropertyOptions getDatePropertyOptions()
null
for nonepublic PropertyDefinition setDatePropertyOptions(DatePropertyOptions datePropertyOptions)
datePropertyOptions
- datePropertyOptions or null
for nonepublic PropertyDisplayOptions getDisplayOptions()
null
for nonepublic PropertyDefinition setDisplayOptions(PropertyDisplayOptions displayOptions)
displayOptions
- displayOptions or null
for nonepublic DoublePropertyOptions getDoublePropertyOptions()
null
for nonepublic PropertyDefinition setDoublePropertyOptions(DoublePropertyOptions doublePropertyOptions)
doublePropertyOptions
- doublePropertyOptions or null
for nonepublic EnumPropertyOptions getEnumPropertyOptions()
null
for nonepublic PropertyDefinition setEnumPropertyOptions(EnumPropertyOptions enumPropertyOptions)
enumPropertyOptions
- enumPropertyOptions or null
for nonepublic HtmlPropertyOptions getHtmlPropertyOptions()
null
for nonepublic PropertyDefinition setHtmlPropertyOptions(HtmlPropertyOptions htmlPropertyOptions)
htmlPropertyOptions
- htmlPropertyOptions or null
for nonepublic IntegerPropertyOptions getIntegerPropertyOptions()
null
for nonepublic PropertyDefinition setIntegerPropertyOptions(IntegerPropertyOptions integerPropertyOptions)
integerPropertyOptions
- integerPropertyOptions or null
for nonepublic java.lang.Boolean getIsFacetable()
null
for nonepublic PropertyDefinition setIsFacetable(java.lang.Boolean isFacetable)
isFacetable
- isFacetable or null
for nonepublic java.lang.Boolean getIsRepeatable()
null
for nonepublic PropertyDefinition setIsRepeatable(java.lang.Boolean isRepeatable)
isRepeatable
- isRepeatable or null
for nonepublic java.lang.Boolean getIsReturnable()
null
for nonepublic PropertyDefinition setIsReturnable(java.lang.Boolean isReturnable)
isReturnable
- isReturnable or null
for nonepublic java.lang.Boolean getIsSortable()
null
for nonepublic PropertyDefinition setIsSortable(java.lang.Boolean isSortable)
isSortable
- isSortable or null
for nonepublic java.lang.Boolean getIsSuggestable()
null
for nonepublic PropertyDefinition setIsSuggestable(java.lang.Boolean isSuggestable)
isSuggestable
- isSuggestable or null
for nonepublic java.lang.Boolean getIsWildcardSearchable()
null
for nonepublic PropertyDefinition setIsWildcardSearchable(java.lang.Boolean isWildcardSearchable)
isWildcardSearchable
- isWildcardSearchable or null
for nonepublic java.lang.String getName()
null
for nonepublic PropertyDefinition setName(java.lang.String name)
name
- name or null
for nonepublic ObjectPropertyOptions getObjectPropertyOptions()
null
for nonepublic PropertyDefinition setObjectPropertyOptions(ObjectPropertyOptions objectPropertyOptions)
objectPropertyOptions
- objectPropertyOptions or null
for nonepublic TextPropertyOptions getTextPropertyOptions()
null
for nonepublic PropertyDefinition setTextPropertyOptions(TextPropertyOptions textPropertyOptions)
textPropertyOptions
- textPropertyOptions or null
for nonepublic TimestampPropertyOptions getTimestampPropertyOptions()
null
for nonepublic PropertyDefinition setTimestampPropertyOptions(TimestampPropertyOptions timestampPropertyOptions)
timestampPropertyOptions
- timestampPropertyOptions or null
for nonepublic PropertyDefinition set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public PropertyDefinition clone()
clone
in class com.google.api.client.json.GenericJson