public final class QuerySource
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 |
---|
QuerySource() |
Modifier and Type | Method and Description |
---|---|
QuerySource |
clone() |
java.lang.String |
getDisplayName()
Display name of the data source.
|
java.util.List<QueryOperator> |
getOperators()
List of all operators applicable for this source.
|
java.lang.String |
getShortName()
A short name or alias for the source.
|
Source |
getSource()
Name of the source
|
QuerySource |
set(java.lang.String fieldName,
java.lang.Object value) |
QuerySource |
setDisplayName(java.lang.String displayName)
Display name of the data source.
|
QuerySource |
setOperators(java.util.List<QueryOperator> operators)
List of all operators applicable for this source.
|
QuerySource |
setShortName(java.lang.String shortName)
A short name or alias for the source.
|
QuerySource |
setSource(Source source)
Name of the source
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getDisplayName()
null
for nonepublic QuerySource setDisplayName(java.lang.String displayName)
displayName
- displayName or null
for nonepublic java.util.List<QueryOperator> getOperators()
null
for nonepublic QuerySource setOperators(java.util.List<QueryOperator> operators)
operators
- operators or null
for nonepublic java.lang.String getShortName()
null
for nonepublic QuerySource setShortName(java.lang.String shortName)
shortName
- shortName or null
for nonepublic Source getSource()
null
for nonepublic QuerySource setSource(Source source)
source
- source or null
for nonepublic QuerySource set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public QuerySource clone()
clone
in class com.google.api.client.json.GenericJson