youtube  v3
Public Member Functions | Static Public Member Functions | List of all members
google_youtube_api::VideoFileDetailsVideoStream Class Reference

#include <video_file_details_video_stream.h>

Inheritance diagram for google_youtube_api::VideoFileDetailsVideoStream:

Public Member Functions

 VideoFileDetailsVideoStream (const Json::Value &storage)
 
 VideoFileDetailsVideoStream (Json::Value *storage)
 
virtual ~VideoFileDetailsVideoStream ()
 
const StringPiece GetTypeName () const
 
bool has_aspect_ratio () const
 
void clear_aspect_ratio ()
 
double get_aspect_ratio () const
 
void set_aspect_ratio (double value)
 
bool has_bitrate_bps () const
 
void clear_bitrate_bps ()
 
uint64 get_bitrate_bps () const
 
void set_bitrate_bps (uint64 value)
 
bool has_codec () const
 
void clear_codec ()
 
const StringPiece get_codec () const
 
void set_codec (const StringPiece &value)
 
bool has_frame_rate_fps () const
 
void clear_frame_rate_fps ()
 
double get_frame_rate_fps () const
 
void set_frame_rate_fps (double value)
 
bool has_height_pixels () const
 
void clear_height_pixels ()
 
uint32 get_height_pixels () const
 
void set_height_pixels (uint32 value)
 
bool has_rotation () const
 
void clear_rotation ()
 
const StringPiece get_rotation () const
 
void set_rotation (const StringPiece &value)
 
bool has_vendor () const
 
void clear_vendor ()
 
const StringPiece get_vendor () const
 
void set_vendor (const StringPiece &value)
 
bool has_width_pixels () const
 
void clear_width_pixels ()
 
uint32 get_width_pixels () const
 
void set_width_pixels (uint32 value)
 

Static Public Member Functions

static VideoFileDetailsVideoStreamNew ()
 

Detailed Description

Information about a video stream.

Constructor & Destructor Documentation

◆ VideoFileDetailsVideoStream() [1/2]

google_youtube_api::VideoFileDetailsVideoStream::VideoFileDetailsVideoStream ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ VideoFileDetailsVideoStream() [2/2]

google_youtube_api::VideoFileDetailsVideoStream::VideoFileDetailsVideoStream ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ ~VideoFileDetailsVideoStream()

google_youtube_api::VideoFileDetailsVideoStream::~VideoFileDetailsVideoStream ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_aspect_ratio()

void google_youtube_api::VideoFileDetailsVideoStream::clear_aspect_ratio ( )
inline

Clears the 'aspectRatio' attribute.

◆ clear_bitrate_bps()

void google_youtube_api::VideoFileDetailsVideoStream::clear_bitrate_bps ( )
inline

Clears the 'bitrateBps' attribute.

◆ clear_codec()

void google_youtube_api::VideoFileDetailsVideoStream::clear_codec ( )
inline

Clears the 'codec' attribute.

◆ clear_frame_rate_fps()

void google_youtube_api::VideoFileDetailsVideoStream::clear_frame_rate_fps ( )
inline

Clears the 'frameRateFps' attribute.

◆ clear_height_pixels()

void google_youtube_api::VideoFileDetailsVideoStream::clear_height_pixels ( )
inline

Clears the 'heightPixels' attribute.

◆ clear_rotation()

void google_youtube_api::VideoFileDetailsVideoStream::clear_rotation ( )
inline

Clears the 'rotation' attribute.

◆ clear_vendor()

void google_youtube_api::VideoFileDetailsVideoStream::clear_vendor ( )
inline

Clears the 'vendor' attribute.

◆ clear_width_pixels()

void google_youtube_api::VideoFileDetailsVideoStream::clear_width_pixels ( )
inline

Clears the 'widthPixels' attribute.

◆ get_aspect_ratio()

double google_youtube_api::VideoFileDetailsVideoStream::get_aspect_ratio ( ) const
inline

Get the value of the 'aspectRatio' attribute.

◆ get_bitrate_bps()

uint64 google_youtube_api::VideoFileDetailsVideoStream::get_bitrate_bps ( ) const
inline

Get the value of the 'bitrateBps' attribute.

◆ get_codec()

const StringPiece google_youtube_api::VideoFileDetailsVideoStream::get_codec ( ) const
inline

Get the value of the 'codec' attribute.

◆ get_frame_rate_fps()

double google_youtube_api::VideoFileDetailsVideoStream::get_frame_rate_fps ( ) const
inline

Get the value of the 'frameRateFps' attribute.

◆ get_height_pixels()

uint32 google_youtube_api::VideoFileDetailsVideoStream::get_height_pixels ( ) const
inline

Get the value of the 'heightPixels' attribute.

◆ get_rotation()

const StringPiece google_youtube_api::VideoFileDetailsVideoStream::get_rotation ( ) const
inline

Get the value of the 'rotation' attribute.

◆ get_vendor()

const StringPiece google_youtube_api::VideoFileDetailsVideoStream::get_vendor ( ) const
inline

Get the value of the 'vendor' attribute.

◆ get_width_pixels()

uint32 google_youtube_api::VideoFileDetailsVideoStream::get_width_pixels ( ) const
inline

Get the value of the 'widthPixels' attribute.

◆ GetTypeName()

const StringPiece google_youtube_api::VideoFileDetailsVideoStream::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_youtube_api::VideoFileDetailsVideoStream

◆ has_aspect_ratio()

bool google_youtube_api::VideoFileDetailsVideoStream::has_aspect_ratio ( ) const
inline

Determine if the 'aspectRatio' attribute was set.

Returns
true if the 'aspectRatio' attribute was set.

◆ has_bitrate_bps()

bool google_youtube_api::VideoFileDetailsVideoStream::has_bitrate_bps ( ) const
inline

Determine if the 'bitrateBps' attribute was set.

Returns
true if the 'bitrateBps' attribute was set.

◆ has_codec()

bool google_youtube_api::VideoFileDetailsVideoStream::has_codec ( ) const
inline

Determine if the 'codec' attribute was set.

Returns
true if the 'codec' attribute was set.

◆ has_frame_rate_fps()

bool google_youtube_api::VideoFileDetailsVideoStream::has_frame_rate_fps ( ) const
inline

Determine if the 'frameRateFps' attribute was set.

Returns
true if the 'frameRateFps' attribute was set.

◆ has_height_pixels()

bool google_youtube_api::VideoFileDetailsVideoStream::has_height_pixels ( ) const
inline

Determine if the 'heightPixels' attribute was set.

Returns
true if the 'heightPixels' attribute was set.

◆ has_rotation()

bool google_youtube_api::VideoFileDetailsVideoStream::has_rotation ( ) const
inline

Determine if the 'rotation' attribute was set.

Returns
true if the 'rotation' attribute was set.

◆ has_vendor()

bool google_youtube_api::VideoFileDetailsVideoStream::has_vendor ( ) const
inline

Determine if the 'vendor' attribute was set.

Returns
true if the 'vendor' attribute was set.

◆ has_width_pixels()

bool google_youtube_api::VideoFileDetailsVideoStream::has_width_pixels ( ) const
inline

Determine if the 'widthPixels' attribute was set.

Returns
true if the 'widthPixels' attribute was set.

◆ New()

VideoFileDetailsVideoStream * google_youtube_api::VideoFileDetailsVideoStream::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_aspect_ratio()

void google_youtube_api::VideoFileDetailsVideoStream::set_aspect_ratio ( double  value)
inline

Change the 'aspectRatio' attribute.

The video content's display aspect ratio, which specifies the aspect ratio in which the video should be displayed.

Parameters
[in]valueThe new value.

◆ set_bitrate_bps()

void google_youtube_api::VideoFileDetailsVideoStream::set_bitrate_bps ( uint64  value)
inline

Change the 'bitrateBps' attribute.

The video stream's bitrate, in bits per second.

Parameters
[in]valueThe new value.

◆ set_codec()

void google_youtube_api::VideoFileDetailsVideoStream::set_codec ( const StringPiece &  value)
inline

Change the 'codec' attribute.

The video codec that the stream uses.

Parameters
[in]valueThe new value.

◆ set_frame_rate_fps()

void google_youtube_api::VideoFileDetailsVideoStream::set_frame_rate_fps ( double  value)
inline

Change the 'frameRateFps' attribute.

The video stream's frame rate, in frames per second.

Parameters
[in]valueThe new value.

◆ set_height_pixels()

void google_youtube_api::VideoFileDetailsVideoStream::set_height_pixels ( uint32  value)
inline

Change the 'heightPixels' attribute.

The encoded video content's height in pixels.

Parameters
[in]valueThe new value.

◆ set_rotation()

void google_youtube_api::VideoFileDetailsVideoStream::set_rotation ( const StringPiece &  value)
inline

Change the 'rotation' attribute.

The amount that YouTube needs to rotate the original source content to properly display the video.

Parameters
[in]valueThe new value.

◆ set_vendor()

void google_youtube_api::VideoFileDetailsVideoStream::set_vendor ( const StringPiece &  value)
inline

Change the 'vendor' attribute.

A value that uniquely identifies a video vendor. Typically, the value is a four-letter vendor code.

Parameters
[in]valueThe new value.

◆ set_width_pixels()

void google_youtube_api::VideoFileDetailsVideoStream::set_width_pixels ( uint32  value)
inline

Change the 'widthPixels' attribute.

The encoded video content's width in pixels. You can calculate the video's encoding aspect ratio as width_pixels / height_pixels.

Parameters
[in]valueThe new value.

The documentation for this class was generated from the following files: