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. For a detailed explanation see: http://code.google.com/p/google-http-java-client/wiki/JSON
GenericData.Flags
AbstractMap.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.
|
GeoPoint |
getRecordingLocation()
Geographic coordinates that identify the place where the uploaded video was recorded.
|
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 |
setRecordingLocation(GeoPoint recordingLocation)
Geographic coordinates that identify the place where the uploaded video was recorded.
|
VideoFileDetails |
setVideoStreams(List<VideoFileDetailsVideoStream> videoStreams)
A list of video streams contained in the uploaded video file.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public 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 GeoPoint getRecordingLocation()
null
for nonepublic VideoFileDetails setRecordingLocation(GeoPoint recordingLocation)
recordingLocation
- recordingLocation 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 GenericJson
public VideoFileDetails clone()
clone
in class GenericJson