public final class ObjectDisplayOptions
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 |
---|
ObjectDisplayOptions() |
Modifier and Type | Method and Description |
---|---|
ObjectDisplayOptions |
clone() |
java.util.List<Metaline> |
getMetalines()
Defines the properties that are displayed in the metalines of the search results.
|
java.lang.String |
getObjectDisplayLabel()
The user friendly label to display in the search result to indicate the type of the item.
|
ObjectDisplayOptions |
set(java.lang.String fieldName,
java.lang.Object value) |
ObjectDisplayOptions |
setMetalines(java.util.List<Metaline> metalines)
Defines the properties that are displayed in the metalines of the search results.
|
ObjectDisplayOptions |
setObjectDisplayLabel(java.lang.String objectDisplayLabel)
The user friendly label to display in the search result to indicate the type of the item.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.util.List<Metaline> getMetalines()
null
for nonepublic ObjectDisplayOptions setMetalines(java.util.List<Metaline> metalines)
metalines
- metalines or null
for nonepublic java.lang.String getObjectDisplayLabel()
null
for nonepublic ObjectDisplayOptions setObjectDisplayLabel(java.lang.String objectDisplayLabel)
objectDisplayLabel
- objectDisplayLabel or null
for nonepublic ObjectDisplayOptions set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public ObjectDisplayOptions clone()
clone
in class com.google.api.client.json.GenericJson