public final class VideoFileDetailsVideoStream
extends com.google.api.client.json.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. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
VideoFileDetailsVideoStream() |
Modifier and Type | Method and Description |
---|---|
VideoFileDetailsVideoStream |
clone() |
java.lang.Double |
getAspectRatio()
The video content's display aspect ratio, which specifies the aspect ratio in which the video
should be displayed.
|
java.math.BigInteger |
getBitrateBps()
The video stream's bitrate, in bits per second.
|
java.lang.String |
getCodec()
The video codec that the stream uses.
|
java.lang.Double |
getFrameRateFps()
The video stream's frame rate, in frames per second.
|
java.lang.Long |
getHeightPixels()
The encoded video content's height in pixels.
|
java.lang.String |
getRotation()
The amount that YouTube needs to rotate the original source content to properly display the
video.
|
java.lang.String |
getVendor()
A value that uniquely identifies a video vendor.
|
java.lang.Long |
getWidthPixels()
The encoded video content's width in pixels.
|
VideoFileDetailsVideoStream |
set(java.lang.String fieldName,
java.lang.Object value) |
VideoFileDetailsVideoStream |
setAspectRatio(java.lang.Double aspectRatio)
The video content's display aspect ratio, which specifies the aspect ratio in which the video
should be displayed.
|
VideoFileDetailsVideoStream |
setBitrateBps(java.math.BigInteger bitrateBps)
The video stream's bitrate, in bits per second.
|
VideoFileDetailsVideoStream |
setCodec(java.lang.String codec)
The video codec that the stream uses.
|
VideoFileDetailsVideoStream |
setFrameRateFps(java.lang.Double frameRateFps)
The video stream's frame rate, in frames per second.
|
VideoFileDetailsVideoStream |
setHeightPixels(java.lang.Long heightPixels)
The encoded video content's height in pixels.
|
VideoFileDetailsVideoStream |
setRotation(java.lang.String rotation)
The amount that YouTube needs to rotate the original source content to properly display the
video.
|
VideoFileDetailsVideoStream |
setVendor(java.lang.String vendor)
A value that uniquely identifies a video vendor.
|
VideoFileDetailsVideoStream |
setWidthPixels(java.lang.Long widthPixels)
The encoded video content's width in pixels.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
public java.lang.Double getAspectRatio()
null
for nonepublic VideoFileDetailsVideoStream setAspectRatio(java.lang.Double aspectRatio)
aspectRatio
- aspectRatio or null
for nonepublic java.math.BigInteger getBitrateBps()
null
for nonepublic VideoFileDetailsVideoStream setBitrateBps(java.math.BigInteger bitrateBps)
bitrateBps
- bitrateBps or null
for nonepublic java.lang.String getCodec()
null
for nonepublic VideoFileDetailsVideoStream setCodec(java.lang.String codec)
codec
- codec or null
for nonepublic java.lang.Double getFrameRateFps()
null
for nonepublic VideoFileDetailsVideoStream setFrameRateFps(java.lang.Double frameRateFps)
frameRateFps
- frameRateFps or null
for nonepublic java.lang.Long getHeightPixels()
null
for nonepublic VideoFileDetailsVideoStream setHeightPixels(java.lang.Long heightPixels)
heightPixels
- heightPixels or null
for nonepublic java.lang.String getRotation()
null
for nonepublic VideoFileDetailsVideoStream setRotation(java.lang.String rotation)
rotation
- rotation or null
for nonepublic java.lang.String getVendor()
null
for nonepublic VideoFileDetailsVideoStream setVendor(java.lang.String vendor)
vendor
- vendor or null
for nonepublic java.lang.Long getWidthPixels()
null
for nonepublic VideoFileDetailsVideoStream setWidthPixels(java.lang.Long widthPixels)
widthPixels
- widthPixels or null
for nonepublic VideoFileDetailsVideoStream set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public VideoFileDetailsVideoStream clone()
clone
in class com.google.api.client.json.GenericJson