target.apidocs.com.google.api.services.customsearch.model.Query.html Maven / Gradle / Ivy
Query (Custom Search API v1-rev20200401-1.30.9)
com.google.api.services.customsearch.model
Class Query
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.customsearch.model.Query
-
public final class Query
extends GenericJson
Model definition for Query.
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 CustomSearch API. For a detailed explanation see:
https://developers.google.com/api-client-library/java/google-http-java-client/json
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
Query()
-
Method Summary
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getCount
public Integer getCount()
- Returns:
- value or
null
for none
-
getCr
public String getCr()
- Returns:
- value or
null
for none
-
getCx
public String getCx()
- Returns:
- value or
null
for none
-
getDateRestrict
public String getDateRestrict()
- Returns:
- value or
null
for none
-
setDateRestrict
public Query setDateRestrict(String dateRestrict)
- Parameters:
dateRestrict
- dateRestrict or null
for none
-
getDisableCnTwTranslation
public String getDisableCnTwTranslation()
- Returns:
- value or
null
for none
-
setDisableCnTwTranslation
public Query setDisableCnTwTranslation(String disableCnTwTranslation)
- Parameters:
disableCnTwTranslation
- disableCnTwTranslation or null
for none
-
getExactTerms
public String getExactTerms()
- Returns:
- value or
null
for none
-
setExactTerms
public Query setExactTerms(String exactTerms)
- Parameters:
exactTerms
- exactTerms or null
for none
-
getExcludeTerms
public String getExcludeTerms()
- Returns:
- value or
null
for none
-
setExcludeTerms
public Query setExcludeTerms(String excludeTerms)
- Parameters:
excludeTerms
- excludeTerms or null
for none
-
getFileType
public String getFileType()
- Returns:
- value or
null
for none
-
setFileType
public Query setFileType(String fileType)
- Parameters:
fileType
- fileType or null
for none
-
getFilter
public String getFilter()
- Returns:
- value or
null
for none
-
getGl
public String getGl()
- Returns:
- value or
null
for none
-
getGoogleHost
public String getGoogleHost()
- Returns:
- value or
null
for none
-
setGoogleHost
public Query setGoogleHost(String googleHost)
- Parameters:
googleHost
- googleHost or null
for none
-
getHighRange
public String getHighRange()
- Returns:
- value or
null
for none
-
setHighRange
public Query setHighRange(String highRange)
- Parameters:
highRange
- highRange or null
for none
-
getHl
public String getHl()
- Returns:
- value or
null
for none
-
getHq
public String getHq()
- Returns:
- value or
null
for none
-
getImgColorType
public String getImgColorType()
- Returns:
- value or
null
for none
-
setImgColorType
public Query setImgColorType(String imgColorType)
- Parameters:
imgColorType
- imgColorType or null
for none
-
getImgDominantColor
public String getImgDominantColor()
- Returns:
- value or
null
for none
-
setImgDominantColor
public Query setImgDominantColor(String imgDominantColor)
- Parameters:
imgDominantColor
- imgDominantColor or null
for none
-
getImgSize
public String getImgSize()
- Returns:
- value or
null
for none
-
getImgType
public String getImgType()
- Returns:
- value or
null
for none
-
getInputEncoding
public String getInputEncoding()
- Returns:
- value or
null
for none
-
setInputEncoding
public Query setInputEncoding(String inputEncoding)
- Parameters:
inputEncoding
- inputEncoding or null
for none
-
getLanguage
public String getLanguage()
- Returns:
- value or
null
for none
-
setLanguage
public Query setLanguage(String language)
- Parameters:
language
- language or null
for none
-
getLinkSite
public String getLinkSite()
- Returns:
- value or
null
for none
-
setLinkSite
public Query setLinkSite(String linkSite)
- Parameters:
linkSite
- linkSite or null
for none
-
getLowRange
public String getLowRange()
- Returns:
- value or
null
for none
-
setLowRange
public Query setLowRange(String lowRange)
- Parameters:
lowRange
- lowRange or null
for none
-
getOrTerms
public String getOrTerms()
- Returns:
- value or
null
for none
-
getOutputEncoding
public String getOutputEncoding()
- Returns:
- value or
null
for none
-
setOutputEncoding
public Query setOutputEncoding(String outputEncoding)
- Parameters:
outputEncoding
- outputEncoding or null
for none
-
getRelatedSite
public String getRelatedSite()
- Returns:
- value or
null
for none
-
setRelatedSite
public Query setRelatedSite(String relatedSite)
- Parameters:
relatedSite
- relatedSite or null
for none
-
getRights
public String getRights()
- Returns:
- value or
null
for none
-
getSafe
public String getSafe()
- Returns:
- value or
null
for none
-
getSearchTerms
public String getSearchTerms()
- Returns:
- value or
null
for none
-
setSearchTerms
public Query setSearchTerms(String searchTerms)
- Parameters:
searchTerms
- searchTerms or null
for none
-
getSearchType
public String getSearchType()
- Returns:
- value or
null
for none
-
setSearchType
public Query setSearchType(String searchType)
- Parameters:
searchType
- searchType or null
for none
-
getSiteSearch
public String getSiteSearch()
- Returns:
- value or
null
for none
-
setSiteSearch
public Query setSiteSearch(String siteSearch)
- Parameters:
siteSearch
- siteSearch or null
for none
-
getSiteSearchFilter
public String getSiteSearchFilter()
- Returns:
- value or
null
for none
-
setSiteSearchFilter
public Query setSiteSearchFilter(String siteSearchFilter)
- Parameters:
siteSearchFilter
- siteSearchFilter or null
for none
-
getSort
public String getSort()
- Returns:
- value or
null
for none
-
getStartIndex
public Integer getStartIndex()
- Returns:
- value or
null
for none
-
setStartIndex
public Query setStartIndex(Integer startIndex)
- Parameters:
startIndex
- startIndex or null
for none
-
getStartPage
public Integer getStartPage()
- Returns:
- value or
null
for none
-
setStartPage
public Query setStartPage(Integer startPage)
- Parameters:
startPage
- startPage or null
for none
-
getTitle
public String getTitle()
- Returns:
- value or
null
for none
-
getTotalResults
public Long getTotalResults()
- Returns:
- value or
null
for none
-
setTotalResults
public Query setTotalResults(Long totalResults)
- Parameters:
totalResults
- totalResults or null
for none
-
set
public Query set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public Query clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2020 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy