target.apidocs.com.google.api.services.youtube.model.VideoFileDetailsVideoStream.html Maven / Gradle / Ivy
VideoFileDetailsVideoStream (YouTube Data API v3 v3-rev20240909-2.0.0)
com.google.api.services.youtube.model
Class VideoFileDetailsVideoStream
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.youtube.model.VideoFileDetailsVideoStream
-
public final class VideoFileDetailsVideoStream
extends com.google.api.client.json.GenericJson
Information about a video stream.
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.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
VideoFileDetailsVideoStream()
-
Method Summary
All Methods Instance Methods Concrete Methods
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.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getAspectRatio
public Double getAspectRatio()
The video content's display aspect ratio, which specifies the aspect ratio in which the video
should be displayed.
- Returns:
- value or
null
for none
-
setAspectRatio
public VideoFileDetailsVideoStream setAspectRatio(Double aspectRatio)
The video content's display aspect ratio, which specifies the aspect ratio in which the video
should be displayed.
- Parameters:
aspectRatio
- aspectRatio or null
for none
-
getBitrateBps
public BigInteger getBitrateBps()
The video stream's bitrate, in bits per second.
- Returns:
- value or
null
for none
-
setBitrateBps
public VideoFileDetailsVideoStream setBitrateBps(BigInteger bitrateBps)
The video stream's bitrate, in bits per second.
- Parameters:
bitrateBps
- bitrateBps or null
for none
-
getCodec
public String getCodec()
The video codec that the stream uses.
- Returns:
- value or
null
for none
-
setCodec
public VideoFileDetailsVideoStream setCodec(String codec)
The video codec that the stream uses.
- Parameters:
codec
- codec or null
for none
-
getFrameRateFps
public Double getFrameRateFps()
The video stream's frame rate, in frames per second.
- Returns:
- value or
null
for none
-
setFrameRateFps
public VideoFileDetailsVideoStream setFrameRateFps(Double frameRateFps)
The video stream's frame rate, in frames per second.
- Parameters:
frameRateFps
- frameRateFps or null
for none
-
getHeightPixels
public Long getHeightPixels()
The encoded video content's height in pixels.
- Returns:
- value or
null
for none
-
setHeightPixels
public VideoFileDetailsVideoStream setHeightPixels(Long heightPixels)
The encoded video content's height in pixels.
- Parameters:
heightPixels
- heightPixels or null
for none
-
getRotation
public String getRotation()
The amount that YouTube needs to rotate the original source content to properly display the
video.
- Returns:
- value or
null
for none
-
setRotation
public VideoFileDetailsVideoStream setRotation(String rotation)
The amount that YouTube needs to rotate the original source content to properly display the
video.
- Parameters:
rotation
- rotation or null
for none
-
getVendor
public String getVendor()
A value that uniquely identifies a video vendor. Typically, the value is a four-letter vendor
code.
- Returns:
- value or
null
for none
-
setVendor
public VideoFileDetailsVideoStream setVendor(String vendor)
A value that uniquely identifies a video vendor. Typically, the value is a four-letter vendor
code.
- Parameters:
vendor
- vendor or null
for none
-
getWidthPixels
public Long getWidthPixels()
The encoded video content's width in pixels. You can calculate the video's encoding aspect
ratio as width_pixels / height_pixels.
- Returns:
- value or
null
for none
-
setWidthPixels
public VideoFileDetailsVideoStream setWidthPixels(Long widthPixels)
The encoded video content's width in pixels. You can calculate the video's encoding aspect
ratio as width_pixels / height_pixels.
- Parameters:
widthPixels
- widthPixels or null
for none
-
set
public VideoFileDetailsVideoStream set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public VideoFileDetailsVideoStream 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