target.apidocs.com.google.api.services.customsearch.model.Result.html Maven / Gradle / Ivy
Result (Custom Search API v1-rev20200401-1.30.9)
com.google.api.services.customsearch.model
Class Result
- 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.Result
-
public final class Result
extends GenericJson
Model definition for Result.
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
Modifier and Type
Class and Description
static class
Result.Image
Model definition for ResultImage.
static class
Result.Labels
Model definition for ResultLabels.
-
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
Result()
-
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
-
getCacheId
public String getCacheId()
- Returns:
- value or
null
for none
-
getDisplayLink
public String getDisplayLink()
- Returns:
- value or
null
for none
-
setDisplayLink
public Result setDisplayLink(String displayLink)
- Parameters:
displayLink
- displayLink or null
for none
-
getFileFormat
public String getFileFormat()
- Returns:
- value or
null
for none
-
setFileFormat
public Result setFileFormat(String fileFormat)
- Parameters:
fileFormat
- fileFormat or null
for none
-
getFormattedUrl
public String getFormattedUrl()
- Returns:
- value or
null
for none
-
setFormattedUrl
public Result setFormattedUrl(String formattedUrl)
- Parameters:
formattedUrl
- formattedUrl or null
for none
-
getHtmlFormattedUrl
public String getHtmlFormattedUrl()
- Returns:
- value or
null
for none
-
setHtmlFormattedUrl
public Result setHtmlFormattedUrl(String htmlFormattedUrl)
- Parameters:
htmlFormattedUrl
- htmlFormattedUrl or null
for none
-
getHtmlSnippet
public String getHtmlSnippet()
- Returns:
- value or
null
for none
-
setHtmlSnippet
public Result setHtmlSnippet(String htmlSnippet)
- Parameters:
htmlSnippet
- htmlSnippet or null
for none
-
getHtmlTitle
public String getHtmlTitle()
- Returns:
- value or
null
for none
-
setHtmlTitle
public Result setHtmlTitle(String htmlTitle)
- Parameters:
htmlTitle
- htmlTitle or null
for none
-
getImage
public Result.Image getImage()
- Returns:
- value or
null
for none
-
setImage
public Result setImage(Result.Image image)
- Parameters:
image
- image or null
for none
-
getKind
public String getKind()
- Returns:
- value or
null
for none
-
getLabels
public List<Result.Labels> getLabels()
- Returns:
- value or
null
for none
-
setLabels
public Result setLabels(List<Result.Labels> labels)
- Parameters:
labels
- labels or null
for none
-
getLink
public String getLink()
- Returns:
- value or
null
for none
-
getMime
public String getMime()
- Returns:
- value or
null
for none
-
setPagemap
public Result setPagemap(Map<String,List<Map<String,Object>>> pagemap)
- Parameters:
pagemap
- pagemap or null
for none
-
getSnippet
public String getSnippet()
- Returns:
- value or
null
for none
-
getTitle
public String getTitle()
- Returns:
- value or
null
for none
-
set
public Result set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public Result clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2020 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy