All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.youtube.model.VideoSnippet.html Maven / Gradle / Ivy

There is a newer version: v3-rev20240514-2.0.0
Show newest version






VideoSnippet (YouTube Data API v3 v3-rev20240303-2.0.0)












com.google.api.services.youtube.model

Class VideoSnippet

    • Constructor Detail

      • VideoSnippet

        public VideoSnippet()
    • Method Detail

      • getCategoryId

        public String getCategoryId()
        The YouTube video category associated with the video.
        Returns:
        value or null for none
      • setCategoryId

        public VideoSnippet setCategoryId(String categoryId)
        The YouTube video category associated with the video.
        Parameters:
        categoryId - categoryId or null for none
      • getChannelId

        public String getChannelId()
        The ID that YouTube uses to uniquely identify the channel that the video was uploaded to.
        Returns:
        value or null for none
      • setChannelId

        public VideoSnippet setChannelId(String channelId)
        The ID that YouTube uses to uniquely identify the channel that the video was uploaded to.
        Parameters:
        channelId - channelId or null for none
      • getChannelTitle

        public String getChannelTitle()
        Channel title for the channel that the video belongs to.
        Returns:
        value or null for none
      • setChannelTitle

        public VideoSnippet setChannelTitle(String channelTitle)
        Channel title for the channel that the video belongs to.
        Parameters:
        channelTitle - channelTitle or null for none
      • getDefaultAudioLanguage

        public String getDefaultAudioLanguage()
        The default_audio_language property specifies the language spoken in the video's default audio track.
        Returns:
        value or null for none
      • setDefaultAudioLanguage

        public VideoSnippet setDefaultAudioLanguage(String defaultAudioLanguage)
        The default_audio_language property specifies the language spoken in the video's default audio track.
        Parameters:
        defaultAudioLanguage - defaultAudioLanguage or null for none
      • getDefaultLanguage

        public String getDefaultLanguage()
        The language of the videos's default snippet.
        Returns:
        value or null for none
      • setDefaultLanguage

        public VideoSnippet setDefaultLanguage(String defaultLanguage)
        The language of the videos's default snippet.
        Parameters:
        defaultLanguage - defaultLanguage or null for none
      • getDescription

        public String getDescription()
        The video's description. @mutable youtube.videos.insert youtube.videos.update
        Returns:
        value or null for none
      • setDescription

        public VideoSnippet setDescription(String description)
        The video's description. @mutable youtube.videos.insert youtube.videos.update
        Parameters:
        description - description or null for none
      • getLiveBroadcastContent

        public String getLiveBroadcastContent()
        Indicates if the video is an upcoming/active live broadcast. Or it's "none" if the video is not an upcoming/active live broadcast.
        Returns:
        value or null for none
      • setLiveBroadcastContent

        public VideoSnippet setLiveBroadcastContent(String liveBroadcastContent)
        Indicates if the video is an upcoming/active live broadcast. Or it's "none" if the video is not an upcoming/active live broadcast.
        Parameters:
        liveBroadcastContent - liveBroadcastContent or null for none
      • getLocalized

        public VideoLocalization getLocalized()
        Localized snippet selected with the hl parameter. If no such localization exists, this field is populated with the default snippet. (Read-only)
        Returns:
        value or null for none
      • setLocalized

        public VideoSnippet setLocalized(VideoLocalization localized)
        Localized snippet selected with the hl parameter. If no such localization exists, this field is populated with the default snippet. (Read-only)
        Parameters:
        localized - localized or null for none
      • getPublishedAt

        public com.google.api.client.util.DateTime getPublishedAt()
        The date and time when the video was uploaded.
        Returns:
        value or null for none
      • setPublishedAt

        public VideoSnippet setPublishedAt(com.google.api.client.util.DateTime publishedAt)
        The date and time when the video was uploaded.
        Parameters:
        publishedAt - publishedAt or null for none
      • getTags

        public List<String> getTags()
        A list of keyword tags associated with the video. Tags may contain spaces.
        Returns:
        value or null for none
      • setTags

        public VideoSnippet setTags(List<String> tags)
        A list of keyword tags associated with the video. Tags may contain spaces.
        Parameters:
        tags - tags or null for none
      • getThumbnails

        public ThumbnailDetails getThumbnails()
        A map of thumbnail images associated with the video. For each object in the map, the key is the name of the thumbnail image, and the value is an object that contains other information about the thumbnail.
        Returns:
        value or null for none
      • setThumbnails

        public VideoSnippet setThumbnails(ThumbnailDetails thumbnails)
        A map of thumbnail images associated with the video. For each object in the map, the key is the name of the thumbnail image, and the value is an object that contains other information about the thumbnail.
        Parameters:
        thumbnails - thumbnails or null for none
      • getTitle

        public String getTitle()
        The video's title. @mutable youtube.videos.insert youtube.videos.update
        Returns:
        value or null for none
      • setTitle

        public VideoSnippet setTitle(String title)
        The video's title. @mutable youtube.videos.insert youtube.videos.update
        Parameters:
        title - title or null for none
      • set

        public VideoSnippet set(String fieldName,
                                Object value)
        Overrides:
        set in class com.google.api.client.json.GenericJson
      • clone

        public VideoSnippet clone()
        Overrides:
        clone in class com.google.api.client.json.GenericJson

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy