public final class Result extends 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 CustomSearch API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
| Modifier and Type | Class and Description |
|---|---|
static class |
Result.Image
Model definition for ResultImage.
|
static class |
Result.Labels
Model definition for ResultLabels.
|
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Result() |
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getCacheId()
null for nonepublic String getDisplayLink()
null for nonepublic Result setDisplayLink(String displayLink)
displayLink - displayLink or null for nonepublic String getFileFormat()
null for nonepublic Result setFileFormat(String fileFormat)
fileFormat - fileFormat or null for nonepublic String getFormattedUrl()
null for nonepublic Result setFormattedUrl(String formattedUrl)
formattedUrl - formattedUrl or null for nonepublic String getHtmlFormattedUrl()
null for nonepublic Result setHtmlFormattedUrl(String htmlFormattedUrl)
htmlFormattedUrl - htmlFormattedUrl or null for nonepublic String getHtmlSnippet()
null for nonepublic Result setHtmlSnippet(String htmlSnippet)
htmlSnippet - htmlSnippet or null for nonepublic String getHtmlTitle()
null for nonepublic Result setHtmlTitle(String htmlTitle)
htmlTitle - htmlTitle or null for nonepublic Result.Image getImage()
null for nonepublic Result setImage(Result.Image image)
image - image or null for nonepublic String getKind()
null for nonepublic List<Result.Labels> getLabels()
null for nonepublic Result setLabels(List<Result.Labels> labels)
labels - labels or null for nonepublic String getLink()
null for nonepublic String getMime()
null for nonepublic Result setPagemap(Map<String,List<Map<String,Object>>> pagemap)
pagemap - pagemap or null for nonepublic String getSnippet()
null for nonepublic String getTitle()
null for nonepublic Result set(String fieldName, Object value)
set in class GenericJsonpublic Result clone()
clone in class GenericJsonCopyright © 2011–2020 Google. All rights reserved.