public final class SearchResult 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 YouTube Data API v3. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
SearchResult() |
| Modifier and Type | Method and Description |
|---|---|
SearchResult |
clone() |
String |
getEtag()
Etag of this resource.
|
ResourceId |
getId()
The id object contains information that can be used to uniquely identify the resource that
matches the search request.
|
String |
getKind()
Identifies what kind of resource this is.
|
SearchResultSnippet |
getSnippet()
The snippet object contains basic details about a search result, such as its title or
description.
|
SearchResult |
set(String fieldName,
Object value) |
SearchResult |
setEtag(String etag)
Etag of this resource.
|
SearchResult |
setId(ResourceId id)
The id object contains information that can be used to uniquely identify the resource that
matches the search request.
|
SearchResult |
setKind(String kind)
Identifies what kind of resource this is.
|
SearchResult |
setSnippet(SearchResultSnippet snippet)
The snippet object contains basic details about a search result, such as its title or
description.
|
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 getEtag()
null for nonepublic SearchResult setEtag(String etag)
etag - etag or null for nonepublic ResourceId getId()
null for nonepublic SearchResult setId(ResourceId id)
id - id or null for nonepublic String getKind()
null for nonepublic SearchResult setKind(String kind)
kind - kind or null for nonepublic SearchResultSnippet getSnippet()
null for nonepublic SearchResult setSnippet(SearchResultSnippet snippet)
snippet - snippet or null for nonepublic SearchResult set(String fieldName, Object value)
set in class GenericJsonpublic SearchResult clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.