SearchResponse Class

public class SearchResponse
extends Response

Defines the top-level object that the response includes when the request succeeds.

Constructor Summary

Constructor Description
SearchResponse()

Method Summary

Modifier and Type Method and Description
Computation computation()

Get the computation value.

Images images()

Get the images value.

News news()

Get the news value.

QueryContext queryContext()

Get the queryContext value.

RankingRankingResponse rankingResponse()

Get the rankingResponse value.

RelatedSearchesRelatedSearchAnswer relatedSearches()

Get the relatedSearches value.

SpellSuggestions spellSuggestions()

Get the spellSuggestions value.

TimeZone timeZone()

Get the timeZone value.

Videos videos()

Get the videos value.

WebWebAnswer webPages()

Get the webPages value.

Methods inherited from Identifiable

id

Methods inherited from Response

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

SearchResponse

public SearchResponse()

Method Details

computation

public Computation computation()

Get the computation value.

Returns:

the computation value

images

public Images images()

Get the images value.

Returns:

the images value

news

public News news()

Get the news value.

Returns:

the news value

queryContext

public QueryContext queryContext()

Get the queryContext value.

Returns:

the queryContext value

rankingResponse

public RankingRankingResponse rankingResponse()

Get the rankingResponse value.

Returns:

the rankingResponse value

relatedSearches

public RelatedSearchesRelatedSearchAnswer relatedSearches()

Get the relatedSearches value.

Returns:

the relatedSearches value

spellSuggestions

public SpellSuggestions spellSuggestions()

Get the spellSuggestions value.

Returns:

the spellSuggestions value

timeZone

public TimeZone timeZone()

Get the timeZone value.

Returns:

the timeZone value

videos

public Videos videos()

Get the videos value.

Returns:

the videos value

webPages

public WebWebAnswer webPages()

Get the webPages value.

Returns:

the webPages value

Applies to