public final class VideoFileDetailsVideoStream 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 |
|---|
VideoFileDetailsVideoStream() |
| Modifier and Type | Method and Description |
|---|---|
VideoFileDetailsVideoStream |
clone() |
Double |
getAspectRatio()
The video content's display aspect ratio, which specifies the aspect ratio in which the video
should be displayed.
|
BigInteger |
getBitrateBps()
The video stream's bitrate, in bits per second.
|
String |
getCodec()
The video codec that the stream uses.
|
Double |
getFrameRateFps()
The video stream's frame rate, in frames per second.
|
Long |
getHeightPixels()
The encoded video content's height in pixels.
|
String |
getRotation()
The amount that YouTube needs to rotate the original source content to properly display the
video.
|
String |
getVendor()
A value that uniquely identifies a video vendor.
|
Long |
getWidthPixels()
The encoded video content's width in pixels.
|
VideoFileDetailsVideoStream |
set(String fieldName,
Object value) |
VideoFileDetailsVideoStream |
setAspectRatio(Double aspectRatio)
The video content's display aspect ratio, which specifies the aspect ratio in which the video
should be displayed.
|
VideoFileDetailsVideoStream |
setBitrateBps(BigInteger bitrateBps)
The video stream's bitrate, in bits per second.
|
VideoFileDetailsVideoStream |
setCodec(String codec)
The video codec that the stream uses.
|
VideoFileDetailsVideoStream |
setFrameRateFps(Double frameRateFps)
The video stream's frame rate, in frames per second.
|
VideoFileDetailsVideoStream |
setHeightPixels(Long heightPixels)
The encoded video content's height in pixels.
|
VideoFileDetailsVideoStream |
setRotation(String rotation)
The amount that YouTube needs to rotate the original source content to properly display the
video.
|
VideoFileDetailsVideoStream |
setVendor(String vendor)
A value that uniquely identifies a video vendor.
|
VideoFileDetailsVideoStream |
setWidthPixels(Long widthPixels)
The encoded video content's width in pixels.
|
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 Double getAspectRatio()
null for nonepublic VideoFileDetailsVideoStream setAspectRatio(Double aspectRatio)
aspectRatio - aspectRatio or null for nonepublic BigInteger getBitrateBps()
null for nonepublic VideoFileDetailsVideoStream setBitrateBps(BigInteger bitrateBps)
bitrateBps - bitrateBps or null for nonepublic String getCodec()
null for nonepublic VideoFileDetailsVideoStream setCodec(String codec)
codec - codec or null for nonepublic Double getFrameRateFps()
null for nonepublic VideoFileDetailsVideoStream setFrameRateFps(Double frameRateFps)
frameRateFps - frameRateFps or null for nonepublic Long getHeightPixels()
null for nonepublic VideoFileDetailsVideoStream setHeightPixels(Long heightPixels)
heightPixels - heightPixels or null for nonepublic String getRotation()
null for nonepublic VideoFileDetailsVideoStream setRotation(String rotation)
rotation - rotation or null for nonepublic String getVendor()
null for nonepublic VideoFileDetailsVideoStream setVendor(String vendor)
vendor - vendor or null for nonepublic Long getWidthPixels()
null for nonepublic VideoFileDetailsVideoStream setWidthPixels(Long widthPixels)
widthPixels - widthPixels or null for nonepublic VideoFileDetailsVideoStream set(String fieldName, Object value)
set in class GenericJsonpublic VideoFileDetailsVideoStream clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.