public final class VideoFileDetails 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 |
|---|
VideoFileDetails() |
| Modifier and Type | Method and Description |
|---|---|
VideoFileDetails |
clone() |
List<VideoFileDetailsAudioStream> |
getAudioStreams()
A list of audio streams contained in the uploaded video file.
|
BigInteger |
getBitrateBps()
The uploaded video file's combined (video and audio) bitrate in bits per second.
|
String |
getContainer()
The uploaded video file's container format.
|
String |
getCreationTime()
The date and time when the uploaded video file was created.
|
BigInteger |
getDurationMs()
The length of the uploaded video in milliseconds.
|
String |
getFileName()
The uploaded file's name.
|
BigInteger |
getFileSize()
The uploaded file's size in bytes.
|
String |
getFileType()
The uploaded file's type as detected by YouTube's video processing engine.
|
List<VideoFileDetailsVideoStream> |
getVideoStreams()
A list of video streams contained in the uploaded video file.
|
VideoFileDetails |
set(String fieldName,
Object value) |
VideoFileDetails |
setAudioStreams(List<VideoFileDetailsAudioStream> audioStreams)
A list of audio streams contained in the uploaded video file.
|
VideoFileDetails |
setBitrateBps(BigInteger bitrateBps)
The uploaded video file's combined (video and audio) bitrate in bits per second.
|
VideoFileDetails |
setContainer(String container)
The uploaded video file's container format.
|
VideoFileDetails |
setCreationTime(String creationTime)
The date and time when the uploaded video file was created.
|
VideoFileDetails |
setDurationMs(BigInteger durationMs)
The length of the uploaded video in milliseconds.
|
VideoFileDetails |
setFileName(String fileName)
The uploaded file's name.
|
VideoFileDetails |
setFileSize(BigInteger fileSize)
The uploaded file's size in bytes.
|
VideoFileDetails |
setFileType(String fileType)
The uploaded file's type as detected by YouTube's video processing engine.
|
VideoFileDetails |
setVideoStreams(List<VideoFileDetailsVideoStream> videoStreams)
A list of video streams contained in the uploaded video file.
|
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 List<VideoFileDetailsAudioStream> getAudioStreams()
null for nonepublic VideoFileDetails setAudioStreams(List<VideoFileDetailsAudioStream> audioStreams)
audioStreams - audioStreams or null for nonepublic BigInteger getBitrateBps()
null for nonepublic VideoFileDetails setBitrateBps(BigInteger bitrateBps)
bitrateBps - bitrateBps or null for nonepublic String getContainer()
null for nonepublic VideoFileDetails setContainer(String container)
container - container or null for nonepublic String getCreationTime()
null for nonepublic VideoFileDetails setCreationTime(String creationTime)
creationTime - creationTime or null for nonepublic BigInteger getDurationMs()
null for nonepublic VideoFileDetails setDurationMs(BigInteger durationMs)
durationMs - durationMs or null for nonepublic String getFileName()
null for nonepublic VideoFileDetails setFileName(String fileName)
fileName - fileName or null for nonepublic BigInteger getFileSize()
null for nonepublic VideoFileDetails setFileSize(BigInteger fileSize)
fileSize - fileSize or null for nonepublic String getFileType()
null for nonepublic VideoFileDetails setFileType(String fileType)
fileType - fileType or null for nonepublic List<VideoFileDetailsVideoStream> getVideoStreams()
null for nonepublic VideoFileDetails setVideoStreams(List<VideoFileDetailsVideoStream> videoStreams)
videoStreams - videoStreams or null for nonepublic VideoFileDetails set(String fieldName, Object value)
set in class GenericJsonpublic VideoFileDetails clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.