public final class SearchResult
extends com.google.api.client.json.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. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
SearchResult() |
| Modifier and Type | Method and Description |
|---|---|
SearchResult |
clone() |
java.lang.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.
|
java.lang.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(java.lang.String fieldName,
java.lang.Object value) |
SearchResult |
setEtag(java.lang.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(java.lang.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, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.lang.String getEtag()
null for nonepublic SearchResult setEtag(java.lang.String etag)
etag - etag or null for nonepublic ResourceId getId()
null for nonepublic SearchResult setId(ResourceId id)
id - id or null for nonepublic java.lang.String getKind()
null for nonepublic SearchResult setKind(java.lang.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(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic SearchResult clone()
clone in class com.google.api.client.json.GenericJson