youtube
v3
|
#include <video_file_details.h>
Public Member Functions | |
VideoFileDetails (const Json::Value &storage) | |
VideoFileDetails (Json::Value *storage) | |
virtual | ~VideoFileDetails () |
const StringPiece | GetTypeName () const |
bool | has_audio_streams () const |
void | clear_audio_streams () |
const client::JsonCppArray< VideoFileDetailsAudioStream > | get_audio_streams () const |
client::JsonCppArray< VideoFileDetailsAudioStream > | mutable_audioStreams () |
bool | has_bitrate_bps () const |
void | clear_bitrate_bps () |
uint64 | get_bitrate_bps () const |
void | set_bitrate_bps (uint64 value) |
bool | has_container () const |
void | clear_container () |
const StringPiece | get_container () const |
void | set_container (const StringPiece &value) |
bool | has_creation_time () const |
void | clear_creation_time () |
const StringPiece | get_creation_time () const |
void | set_creation_time (const StringPiece &value) |
bool | has_duration_ms () const |
void | clear_duration_ms () |
uint64 | get_duration_ms () const |
void | set_duration_ms (uint64 value) |
bool | has_file_name () const |
void | clear_file_name () |
const StringPiece | get_file_name () const |
void | set_file_name (const StringPiece &value) |
bool | has_file_size () const |
void | clear_file_size () |
uint64 | get_file_size () const |
void | set_file_size (uint64 value) |
bool | has_file_type () const |
void | clear_file_type () |
const StringPiece | get_file_type () const |
void | set_file_type (const StringPiece &value) |
bool | has_video_streams () const |
void | clear_video_streams () |
const client::JsonCppArray< VideoFileDetailsVideoStream > | get_video_streams () const |
client::JsonCppArray< VideoFileDetailsVideoStream > | mutable_videoStreams () |
Static Public Member Functions | |
static VideoFileDetails * | New () |
Describes original video file properties, including technical details about audio and video streams, but also metadata information like content length, digitization time, or geotagging information.
|
explicit |
Standard constructor for an immutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
explicit |
Standard constructor for a mutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
virtual |
Standard destructor.
|
inline |
Clears the 'audioStreams
' attribute.
|
inline |
Clears the 'bitrateBps
' attribute.
|
inline |
Clears the 'container
' attribute.
|
inline |
Clears the 'creationTime
' attribute.
|
inline |
Clears the 'durationMs
' attribute.
|
inline |
Clears the 'fileName
' attribute.
|
inline |
Clears the 'fileSize
' attribute.
|
inline |
Clears the 'fileType
' attribute.
|
inline |
Clears the 'videoStreams
' attribute.
const client::JsonCppArray<VideoFileDetailsAudioStream > google_youtube_api::VideoFileDetails::get_audio_streams | ( | ) | const |
Get a reference to the value of the 'audioStreams
' attribute.
|
inline |
Get the value of the 'bitrateBps
' attribute.
|
inline |
Get the value of the 'container
' attribute.
|
inline |
Get the value of the 'creationTime
' attribute.
|
inline |
Get the value of the 'durationMs
' attribute.
|
inline |
Get the value of the 'fileName
' attribute.
|
inline |
Get the value of the 'fileSize
' attribute.
|
inline |
Get the value of the 'fileType
' attribute.
const client::JsonCppArray<VideoFileDetailsVideoStream > google_youtube_api::VideoFileDetails::get_video_streams | ( | ) | const |
Get a reference to the value of the 'videoStreams
' attribute.
|
inline |
Returns a string denoting the type of this data object.
|
inline |
Determine if the 'audioStreams
' attribute was set.
audioStreams
' attribute was set.
|
inline |
Determine if the 'bitrateBps
' attribute was set.
bitrateBps
' attribute was set.
|
inline |
Determine if the 'container
' attribute was set.
container
' attribute was set.
|
inline |
Determine if the 'creationTime
' attribute was set.
creationTime
' attribute was set.
|
inline |
Determine if the 'durationMs
' attribute was set.
durationMs
' attribute was set.
|
inline |
Determine if the 'fileName
' attribute was set.
fileName
' attribute was set.
|
inline |
Determine if the 'fileSize
' attribute was set.
fileSize
' attribute was set.
|
inline |
Determine if the 'fileType
' attribute was set.
fileType
' attribute was set.
|
inline |
Determine if the 'videoStreams
' attribute was set.
videoStreams
' attribute was set. client::JsonCppArray<VideoFileDetailsAudioStream > google_youtube_api::VideoFileDetails::mutable_audioStreams | ( | ) |
Gets a reference to a mutable value of the 'audioStreams
' property.
A list of audio streams contained in the uploaded video file. Each item in the list contains detailed metadata about an audio stream.
client::JsonCppArray<VideoFileDetailsVideoStream > google_youtube_api::VideoFileDetails::mutable_videoStreams | ( | ) |
Gets a reference to a mutable value of the 'videoStreams
' property.
A list of video streams contained in the uploaded video file. Each item in the list contains detailed metadata about a video stream.
|
static |
Creates a new default instance.
|
inline |
Change the 'bitrateBps
' attribute.
The uploaded video file's combined (video and audio) bitrate in bits per second.
[in] | value | The new value. |
|
inline |
Change the 'container
' attribute.
The uploaded video file's container format.
[in] | value | The new value. |
|
inline |
Change the 'creationTime
' attribute.
The date and time when the uploaded video file was created. The value is specified in ISO 8601 format. Currently, the following ISO 8601 formats are supported:
[in] | value | The new value. |
|
inline |
Change the 'durationMs
' attribute.
The length of the uploaded video in milliseconds.
[in] | value | The new value. |
|
inline |
Change the 'fileName
' attribute.
The uploaded file's name. This field is present whether a video file or another type of file was uploaded.
[in] | value | The new value. |
|
inline |
Change the 'fileSize
' attribute.
The uploaded file's size in bytes. This field is present whether a video file or another type of file was uploaded.
[in] | value | The new value. |
|
inline |
Change the 'fileType
' attribute.
The uploaded file's type as detected by YouTube's video processing engine. Currently, YouTube only processes video files, but this field is present whether a video file or another type of file was uploaded.
[in] | value | The new value. |