public final class VideoSnippet 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 |
|---|
VideoSnippet() |
| Modifier and Type | Method and Description |
|---|---|
VideoSnippet |
clone() |
String |
getCategoryId()
The YouTube video category associated with the video.
|
String |
getChannelId()
The ID that YouTube uses to uniquely identify the channel that the video was uploaded to.
|
String |
getChannelTitle()
Channel title for the channel that the video belongs to.
|
String |
getDefaultAudioLanguage()
The default_audio_language property specifies the language spoken in the video's default audio
track.
|
String |
getDefaultLanguage()
The language of the videos's default snippet.
|
String |
getDescription()
The video's description.
|
String |
getLiveBroadcastContent()
Indicates if the video is an upcoming/active live broadcast.
|
VideoLocalization |
getLocalized()
Localized snippet selected with the hl parameter.
|
DateTime |
getPublishedAt()
The date and time when the video was uploaded.
|
List<String> |
getTags()
A list of keyword tags associated with the video.
|
ThumbnailDetails |
getThumbnails()
A map of thumbnail images associated with the video.
|
String |
getTitle()
The video's title.
|
VideoSnippet |
set(String fieldName,
Object value) |
VideoSnippet |
setCategoryId(String categoryId)
The YouTube video category associated with the video.
|
VideoSnippet |
setChannelId(String channelId)
The ID that YouTube uses to uniquely identify the channel that the video was uploaded to.
|
VideoSnippet |
setChannelTitle(String channelTitle)
Channel title for the channel that the video belongs to.
|
VideoSnippet |
setDefaultAudioLanguage(String defaultAudioLanguage)
The default_audio_language property specifies the language spoken in the video's default audio
track.
|
VideoSnippet |
setDefaultLanguage(String defaultLanguage)
The language of the videos's default snippet.
|
VideoSnippet |
setDescription(String description)
The video's description.
|
VideoSnippet |
setLiveBroadcastContent(String liveBroadcastContent)
Indicates if the video is an upcoming/active live broadcast.
|
VideoSnippet |
setLocalized(VideoLocalization localized)
Localized snippet selected with the hl parameter.
|
VideoSnippet |
setPublishedAt(DateTime publishedAt)
The date and time when the video was uploaded.
|
VideoSnippet |
setTags(List<String> tags)
A list of keyword tags associated with the video.
|
VideoSnippet |
setThumbnails(ThumbnailDetails thumbnails)
A map of thumbnail images associated with the video.
|
VideoSnippet |
setTitle(String title)
The video's title.
|
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 getCategoryId()
null for nonepublic VideoSnippet setCategoryId(String categoryId)
categoryId - categoryId or null for nonepublic String getChannelId()
null for nonepublic VideoSnippet setChannelId(String channelId)
channelId - channelId or null for nonepublic String getChannelTitle()
null for nonepublic VideoSnippet setChannelTitle(String channelTitle)
channelTitle - channelTitle or null for nonepublic String getDefaultAudioLanguage()
null for nonepublic VideoSnippet setDefaultAudioLanguage(String defaultAudioLanguage)
defaultAudioLanguage - defaultAudioLanguage or null for nonepublic String getDefaultLanguage()
null for nonepublic VideoSnippet setDefaultLanguage(String defaultLanguage)
defaultLanguage - defaultLanguage or null for nonepublic String getDescription()
null for nonepublic VideoSnippet setDescription(String description)
description - description or null for nonepublic String getLiveBroadcastContent()
null for nonepublic VideoSnippet setLiveBroadcastContent(String liveBroadcastContent)
liveBroadcastContent - liveBroadcastContent or null for nonepublic VideoLocalization getLocalized()
null for nonepublic VideoSnippet setLocalized(VideoLocalization localized)
localized - localized or null for nonepublic DateTime getPublishedAt()
null for nonepublic VideoSnippet setPublishedAt(DateTime publishedAt)
publishedAt - publishedAt or null for nonepublic List<String> getTags()
null for nonepublic VideoSnippet setTags(List<String> tags)
tags - tags or null for nonepublic ThumbnailDetails getThumbnails()
null for nonepublic VideoSnippet setThumbnails(ThumbnailDetails thumbnails)
thumbnails - thumbnails or null for nonepublic String getTitle()
null for nonepublic VideoSnippet setTitle(String title)
title - title or null for nonepublic VideoSnippet set(String fieldName, Object value)
set in class GenericJsonpublic VideoSnippet clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.