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

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

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






VideoFileDetails (YouTube Data API v3 v3-rev20240417-2.0.0)












com.google.api.services.youtube.model

Class VideoFileDetails

  • All Implemented Interfaces:
    Cloneable, Map<String,Object>


    public final class VideoFileDetails
    extends com.google.api.client.json.GenericJson
    Describes original video file properties, including technical details about audio and video streams, but also metadata information like content length, digitization time, or geotagging information.

    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

    Author:
    Google, Inc.
    • Constructor Detail

      • VideoFileDetails

        public VideoFileDetails()
    • Method Detail

      • getAudioStreams

        public List<VideoFileDetailsAudioStream> getAudioStreams()
        A list of audio streams contained in the uploaded video file. Each item in the list contains detailed metadata about an audio stream.
        Returns:
        value or null for none
      • setAudioStreams

        public VideoFileDetails setAudioStreams(List<VideoFileDetailsAudioStream> audioStreams)
        A list of audio streams contained in the uploaded video file. Each item in the list contains detailed metadata about an audio stream.
        Parameters:
        audioStreams - audioStreams or null for none
      • getBitrateBps

        public BigInteger getBitrateBps()
        The uploaded video file's combined (video and audio) bitrate in bits per second.
        Returns:
        value or null for none
      • setBitrateBps

        public VideoFileDetails setBitrateBps(BigInteger bitrateBps)
        The uploaded video file's combined (video and audio) bitrate in bits per second.
        Parameters:
        bitrateBps - bitrateBps or null for none
      • getContainer

        public String getContainer()
        The uploaded video file's container format.
        Returns:
        value or null for none
      • setContainer

        public VideoFileDetails setContainer(String container)
        The uploaded video file's container format.
        Parameters:
        container - container or null for none
      • getCreationTime

        public String getCreationTime()
        The date and time when the uploaded video file was created. The value is specified in ISO 8601 format. Currently, the following ISO 8601 formats are supported: - Date only: YYYY-MM-DD - Naive time: YYYY-MM-DDTHH:MM:SS - Time with timezone: YYYY-MM-DDTHH:MM:SS+HH:MM
        Returns:
        value or null for none
      • setCreationTime

        public VideoFileDetails setCreationTime(String creationTime)
        The date and time when the uploaded video file was created. The value is specified in ISO 8601 format. Currently, the following ISO 8601 formats are supported: - Date only: YYYY-MM-DD - Naive time: YYYY-MM-DDTHH:MM:SS - Time with timezone: YYYY-MM-DDTHH:MM:SS+HH:MM
        Parameters:
        creationTime - creationTime or null for none
      • getDurationMs

        public BigInteger getDurationMs()
        The length of the uploaded video in milliseconds.
        Returns:
        value or null for none
      • setDurationMs

        public VideoFileDetails setDurationMs(BigInteger durationMs)
        The length of the uploaded video in milliseconds.
        Parameters:
        durationMs - durationMs or null for none
      • getFileName

        public String getFileName()
        The uploaded file's name. This field is present whether a video file or another type of file was uploaded.
        Returns:
        value or null for none
      • setFileName

        public VideoFileDetails setFileName(String fileName)
        The uploaded file's name. This field is present whether a video file or another type of file was uploaded.
        Parameters:
        fileName - fileName or null for none
      • getFileSize

        public BigInteger getFileSize()
        The uploaded file's size in bytes. This field is present whether a video file or another type of file was uploaded.
        Returns:
        value or null for none
      • setFileSize

        public VideoFileDetails setFileSize(BigInteger fileSize)
        The uploaded file's size in bytes. This field is present whether a video file or another type of file was uploaded.
        Parameters:
        fileSize - fileSize or null for none
      • getFileType

        public String getFileType()
        The uploaded file's type as detected by YouTube's video processing engine. Currently, YouTube only processes video files, but this field is present whether a video file or another type of file was uploaded.
        Returns:
        value or null for none
      • setFileType

        public VideoFileDetails setFileType(String fileType)
        The uploaded file's type as detected by YouTube's video processing engine. Currently, YouTube only processes video files, but this field is present whether a video file or another type of file was uploaded.
        Parameters:
        fileType - fileType or null for none
      • getVideoStreams

        public List<VideoFileDetailsVideoStream> getVideoStreams()
        A list of video streams contained in the uploaded video file. Each item in the list contains detailed metadata about a video stream.
        Returns:
        value or null for none
      • setVideoStreams

        public VideoFileDetails setVideoStreams(List<VideoFileDetailsVideoStream> videoStreams)
        A list of video streams contained in the uploaded video file. Each item in the list contains detailed metadata about a video stream.
        Parameters:
        videoStreams - videoStreams or null for none
      • clone

        public VideoFileDetails 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