public final class Video 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 |
|---|
Video() |
| Modifier and Type | Method and Description |
|---|---|
Video |
clone() |
VideoAgeGating |
getAgeGating()
Age restriction details related to a video.
|
VideoContentDetails |
getContentDetails()
The contentDetails object contains information about the video content, including the length of
the video and its aspect ratio.
|
String |
getEtag()
Etag of this resource.
|
VideoFileDetails |
getFileDetails()
The fileDetails object encapsulates information about the video file that was uploaded to
YouTube, including the file's resolution, duration, audio and video codecs, stream bitrates,
and more.
|
String |
getId()
The ID that YouTube uses to uniquely identify the video.
|
String |
getKind()
Identifies what kind of resource this is.
|
VideoLiveStreamingDetails |
getLiveStreamingDetails()
The liveStreamingDetails object contains metadata about a live video broadcast.
|
Map<String,VideoLocalization> |
getLocalizations()
The localizations object contains localized versions of the basic details about the video, such
as its title and description.
|
VideoMonetizationDetails |
getMonetizationDetails()
The monetizationDetails object encapsulates information about the monetization status of the
video.
|
VideoPlayer |
getPlayer()
The player object contains information that you would use to play the video in an embedded
player.
|
VideoProcessingDetails |
getProcessingDetails()
The processingDetails object encapsulates information about YouTube's progress in processing
the uploaded video file.
|
VideoProjectDetails |
getProjectDetails()
The projectDetails object contains information about the project specific video metadata.
|
VideoRecordingDetails |
getRecordingDetails()
The recordingDetails object encapsulates information about the location, date and address where
the video was recorded.
|
VideoSnippet |
getSnippet()
The snippet object contains basic details about the video, such as its title, description, and
category.
|
VideoStatistics |
getStatistics()
The statistics object contains statistics about the video.
|
VideoStatus |
getStatus()
The status object contains information about the video's uploading, processing, and privacy
statuses.
|
VideoSuggestions |
getSuggestions()
The suggestions object encapsulates suggestions that identify opportunities to improve the
video quality or the metadata for the uploaded video.
|
VideoTopicDetails |
getTopicDetails()
The topicDetails object encapsulates information about Freebase topics associated with the
video.
|
Video |
set(String fieldName,
Object value) |
Video |
setAgeGating(VideoAgeGating ageGating)
Age restriction details related to a video.
|
Video |
setContentDetails(VideoContentDetails contentDetails)
The contentDetails object contains information about the video content, including the length of
the video and its aspect ratio.
|
Video |
setEtag(String etag)
Etag of this resource.
|
Video |
setFileDetails(VideoFileDetails fileDetails)
The fileDetails object encapsulates information about the video file that was uploaded to
YouTube, including the file's resolution, duration, audio and video codecs, stream bitrates,
and more.
|
Video |
setId(String id)
The ID that YouTube uses to uniquely identify the video.
|
Video |
setKind(String kind)
Identifies what kind of resource this is.
|
Video |
setLiveStreamingDetails(VideoLiveStreamingDetails liveStreamingDetails)
The liveStreamingDetails object contains metadata about a live video broadcast.
|
Video |
setLocalizations(Map<String,VideoLocalization> localizations)
The localizations object contains localized versions of the basic details about the video, such
as its title and description.
|
Video |
setMonetizationDetails(VideoMonetizationDetails monetizationDetails)
The monetizationDetails object encapsulates information about the monetization status of the
video.
|
Video |
setPlayer(VideoPlayer player)
The player object contains information that you would use to play the video in an embedded
player.
|
Video |
setProcessingDetails(VideoProcessingDetails processingDetails)
The processingDetails object encapsulates information about YouTube's progress in processing
the uploaded video file.
|
Video |
setProjectDetails(VideoProjectDetails projectDetails)
The projectDetails object contains information about the project specific video metadata.
|
Video |
setRecordingDetails(VideoRecordingDetails recordingDetails)
The recordingDetails object encapsulates information about the location, date and address where
the video was recorded.
|
Video |
setSnippet(VideoSnippet snippet)
The snippet object contains basic details about the video, such as its title, description, and
category.
|
Video |
setStatistics(VideoStatistics statistics)
The statistics object contains statistics about the video.
|
Video |
setStatus(VideoStatus status)
The status object contains information about the video's uploading, processing, and privacy
statuses.
|
Video |
setSuggestions(VideoSuggestions suggestions)
The suggestions object encapsulates suggestions that identify opportunities to improve the
video quality or the metadata for the uploaded video.
|
Video |
setTopicDetails(VideoTopicDetails topicDetails)
The topicDetails object encapsulates information about Freebase topics associated with the
video.
|
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 VideoAgeGating getAgeGating()
null for nonepublic Video setAgeGating(VideoAgeGating ageGating)
ageGating - ageGating or null for nonepublic VideoContentDetails getContentDetails()
null for nonepublic Video setContentDetails(VideoContentDetails contentDetails)
contentDetails - contentDetails or null for nonepublic String getEtag()
null for nonepublic Video setEtag(String etag)
etag - etag or null for nonepublic VideoFileDetails getFileDetails()
null for nonepublic Video setFileDetails(VideoFileDetails fileDetails)
fileDetails - fileDetails or null for nonepublic String getId()
null for nonepublic Video setId(String id)
id - id or null for nonepublic String getKind()
null for nonepublic Video setKind(String kind)
kind - kind or null for nonepublic VideoLiveStreamingDetails getLiveStreamingDetails()
null for nonepublic Video setLiveStreamingDetails(VideoLiveStreamingDetails liveStreamingDetails)
liveStreamingDetails - liveStreamingDetails or null for nonepublic Map<String,VideoLocalization> getLocalizations()
null for nonepublic Video setLocalizations(Map<String,VideoLocalization> localizations)
localizations - localizations or null for nonepublic VideoMonetizationDetails getMonetizationDetails()
null for nonepublic Video setMonetizationDetails(VideoMonetizationDetails monetizationDetails)
monetizationDetails - monetizationDetails or null for nonepublic VideoPlayer getPlayer()
null for nonepublic Video setPlayer(VideoPlayer player)
player - player or null for nonepublic VideoProcessingDetails getProcessingDetails()
null for nonepublic Video setProcessingDetails(VideoProcessingDetails processingDetails)
processingDetails - processingDetails or null for nonepublic VideoProjectDetails getProjectDetails()
null for nonepublic Video setProjectDetails(VideoProjectDetails projectDetails)
projectDetails - projectDetails or null for nonepublic VideoRecordingDetails getRecordingDetails()
null for nonepublic Video setRecordingDetails(VideoRecordingDetails recordingDetails)
recordingDetails - recordingDetails or null for nonepublic VideoSnippet getSnippet()
null for nonepublic Video setSnippet(VideoSnippet snippet)
snippet - snippet or null for nonepublic VideoStatistics getStatistics()
null for nonepublic Video setStatistics(VideoStatistics statistics)
statistics - statistics or null for nonepublic VideoStatus getStatus()
null for nonepublic Video setStatus(VideoStatus status)
status - status or null for nonepublic VideoSuggestions getSuggestions()
null for nonepublic Video setSuggestions(VideoSuggestions suggestions)
suggestions - suggestions or null for nonepublic VideoTopicDetails getTopicDetails()
null for nonepublic Video setTopicDetails(VideoTopicDetails topicDetails)
topicDetails - topicDetails or null for nonepublic Video set(String fieldName, Object value)
set in class GenericJsonpublic Video clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.