drive  v2
Classes | Public Member Functions | Static Public Member Functions | List of all members
google_drive_api::File::FileImageMediaMetadata Class Reference

#include <file.h>

Inheritance diagram for google_drive_api::File::FileImageMediaMetadata:

Classes

class  FileImageMediaMetadataLocation
 

Public Member Functions

 FileImageMediaMetadata (const Json::Value &storage)
 
 FileImageMediaMetadata (Json::Value *storage)
 
virtual ~FileImageMediaMetadata ()
 
const StringPiece GetTypeName () const
 
bool has_aperture () const
 
void clear_aperture ()
 
float get_aperture () const
 
void set_aperture (float value)
 
bool has_camera_make () const
 
void clear_camera_make ()
 
const StringPiece get_camera_make () const
 
void set_camera_make (const StringPiece &value)
 
bool has_camera_model () const
 
void clear_camera_model ()
 
const StringPiece get_camera_model () const
 
void set_camera_model (const StringPiece &value)
 
bool has_color_space () const
 
void clear_color_space ()
 
const StringPiece get_color_space () const
 
void set_color_space (const StringPiece &value)
 
bool has_date () const
 
void clear_date ()
 
const StringPiece get_date () const
 
void set_date (const StringPiece &value)
 
bool has_exposure_bias () const
 
void clear_exposure_bias ()
 
float get_exposure_bias () const
 
void set_exposure_bias (float value)
 
bool has_exposure_mode () const
 
void clear_exposure_mode ()
 
const StringPiece get_exposure_mode () const
 
void set_exposure_mode (const StringPiece &value)
 
bool has_exposure_time () const
 
void clear_exposure_time ()
 
float get_exposure_time () const
 
void set_exposure_time (float value)
 
bool has_flash_used () const
 
void clear_flash_used ()
 
bool get_flash_used () const
 
void set_flash_used (bool value)
 
bool has_focal_length () const
 
void clear_focal_length ()
 
float get_focal_length () const
 
void set_focal_length (float value)
 
bool has_height () const
 
void clear_height ()
 
int32 get_height () const
 
void set_height (int32 value)
 
bool has_iso_speed () const
 
void clear_iso_speed ()
 
int32 get_iso_speed () const
 
void set_iso_speed (int32 value)
 
bool has_lens () const
 
void clear_lens ()
 
const StringPiece get_lens () const
 
void set_lens (const StringPiece &value)
 
bool has_location () const
 
void clear_location ()
 
const FileImageMediaMetadataLocation get_location () const
 
FileImageMediaMetadataLocation mutable_location ()
 
bool has_max_aperture_value () const
 
void clear_max_aperture_value ()
 
float get_max_aperture_value () const
 
void set_max_aperture_value (float value)
 
bool has_metering_mode () const
 
void clear_metering_mode ()
 
const StringPiece get_metering_mode () const
 
void set_metering_mode (const StringPiece &value)
 
bool has_rotation () const
 
void clear_rotation ()
 
int32 get_rotation () const
 
void set_rotation (int32 value)
 
bool has_sensor () const
 
void clear_sensor ()
 
const StringPiece get_sensor () const
 
void set_sensor (const StringPiece &value)
 
bool has_subject_distance () const
 
void clear_subject_distance ()
 
int32 get_subject_distance () const
 
void set_subject_distance (int32 value)
 
bool has_white_balance () const
 
void clear_white_balance ()
 
const StringPiece get_white_balance () const
 
void set_white_balance (const StringPiece &value)
 
bool has_width () const
 
void clear_width ()
 
int32 get_width () const
 
void set_width (int32 value)
 

Static Public Member Functions

static FileImageMediaMetadataNew ()
 

Detailed Description

Metadata about image media. This will only be present for image types, and its contents will depend on what can be parsed from the image content.

Constructor & Destructor Documentation

◆ FileImageMediaMetadata() [1/2]

google_drive_api::File::FileImageMediaMetadata::FileImageMediaMetadata ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

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

◆ FileImageMediaMetadata() [2/2]

google_drive_api::File::FileImageMediaMetadata::FileImageMediaMetadata ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

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

◆ ~FileImageMediaMetadata()

google_drive_api::File::FileImageMediaMetadata::~FileImageMediaMetadata ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_aperture()

void google_drive_api::File::FileImageMediaMetadata::clear_aperture ( )
inline

Clears the 'aperture' attribute.

◆ clear_camera_make()

void google_drive_api::File::FileImageMediaMetadata::clear_camera_make ( )
inline

Clears the 'cameraMake' attribute.

◆ clear_camera_model()

void google_drive_api::File::FileImageMediaMetadata::clear_camera_model ( )
inline

Clears the 'cameraModel' attribute.

◆ clear_color_space()

void google_drive_api::File::FileImageMediaMetadata::clear_color_space ( )
inline

Clears the 'colorSpace' attribute.

◆ clear_date()

void google_drive_api::File::FileImageMediaMetadata::clear_date ( )
inline

Clears the 'date' attribute.

◆ clear_exposure_bias()

void google_drive_api::File::FileImageMediaMetadata::clear_exposure_bias ( )
inline

Clears the 'exposureBias' attribute.

◆ clear_exposure_mode()

void google_drive_api::File::FileImageMediaMetadata::clear_exposure_mode ( )
inline

Clears the 'exposureMode' attribute.

◆ clear_exposure_time()

void google_drive_api::File::FileImageMediaMetadata::clear_exposure_time ( )
inline

Clears the 'exposureTime' attribute.

◆ clear_flash_used()

void google_drive_api::File::FileImageMediaMetadata::clear_flash_used ( )
inline

Clears the 'flashUsed' attribute.

◆ clear_focal_length()

void google_drive_api::File::FileImageMediaMetadata::clear_focal_length ( )
inline

Clears the 'focalLength' attribute.

◆ clear_height()

void google_drive_api::File::FileImageMediaMetadata::clear_height ( )
inline

Clears the 'height' attribute.

◆ clear_iso_speed()

void google_drive_api::File::FileImageMediaMetadata::clear_iso_speed ( )
inline

Clears the 'isoSpeed' attribute.

◆ clear_lens()

void google_drive_api::File::FileImageMediaMetadata::clear_lens ( )
inline

Clears the 'lens' attribute.

◆ clear_location()

void google_drive_api::File::FileImageMediaMetadata::clear_location ( )
inline

Clears the 'location' attribute.

◆ clear_max_aperture_value()

void google_drive_api::File::FileImageMediaMetadata::clear_max_aperture_value ( )
inline

Clears the 'maxApertureValue' attribute.

◆ clear_metering_mode()

void google_drive_api::File::FileImageMediaMetadata::clear_metering_mode ( )
inline

Clears the 'meteringMode' attribute.

◆ clear_rotation()

void google_drive_api::File::FileImageMediaMetadata::clear_rotation ( )
inline

Clears the 'rotation' attribute.

◆ clear_sensor()

void google_drive_api::File::FileImageMediaMetadata::clear_sensor ( )
inline

Clears the 'sensor' attribute.

◆ clear_subject_distance()

void google_drive_api::File::FileImageMediaMetadata::clear_subject_distance ( )
inline

Clears the 'subjectDistance' attribute.

◆ clear_white_balance()

void google_drive_api::File::FileImageMediaMetadata::clear_white_balance ( )
inline

Clears the 'whiteBalance' attribute.

◆ clear_width()

void google_drive_api::File::FileImageMediaMetadata::clear_width ( )
inline

Clears the 'width' attribute.

◆ get_aperture()

float google_drive_api::File::FileImageMediaMetadata::get_aperture ( ) const
inline

Get the value of the 'aperture' attribute.

◆ get_camera_make()

const StringPiece google_drive_api::File::FileImageMediaMetadata::get_camera_make ( ) const
inline

Get the value of the 'cameraMake' attribute.

◆ get_camera_model()

const StringPiece google_drive_api::File::FileImageMediaMetadata::get_camera_model ( ) const
inline

Get the value of the 'cameraModel' attribute.

◆ get_color_space()

const StringPiece google_drive_api::File::FileImageMediaMetadata::get_color_space ( ) const
inline

Get the value of the 'colorSpace' attribute.

◆ get_date()

const StringPiece google_drive_api::File::FileImageMediaMetadata::get_date ( ) const
inline

Get the value of the 'date' attribute.

◆ get_exposure_bias()

float google_drive_api::File::FileImageMediaMetadata::get_exposure_bias ( ) const
inline

Get the value of the 'exposureBias' attribute.

◆ get_exposure_mode()

const StringPiece google_drive_api::File::FileImageMediaMetadata::get_exposure_mode ( ) const
inline

Get the value of the 'exposureMode' attribute.

◆ get_exposure_time()

float google_drive_api::File::FileImageMediaMetadata::get_exposure_time ( ) const
inline

Get the value of the 'exposureTime' attribute.

◆ get_flash_used()

bool google_drive_api::File::FileImageMediaMetadata::get_flash_used ( ) const
inline

Get the value of the 'flashUsed' attribute.

◆ get_focal_length()

float google_drive_api::File::FileImageMediaMetadata::get_focal_length ( ) const
inline

Get the value of the 'focalLength' attribute.

◆ get_height()

int32 google_drive_api::File::FileImageMediaMetadata::get_height ( ) const
inline

Get the value of the 'height' attribute.

◆ get_iso_speed()

int32 google_drive_api::File::FileImageMediaMetadata::get_iso_speed ( ) const
inline

Get the value of the 'isoSpeed' attribute.

◆ get_lens()

const StringPiece google_drive_api::File::FileImageMediaMetadata::get_lens ( ) const
inline

Get the value of the 'lens' attribute.

◆ get_location()

const FileImageMediaMetadataLocation google_drive_api::File::FileImageMediaMetadata::get_location ( ) const
inline

Get a reference to the value of the 'location' attribute.

◆ get_max_aperture_value()

float google_drive_api::File::FileImageMediaMetadata::get_max_aperture_value ( ) const
inline

Get the value of the 'maxApertureValue' attribute.

◆ get_metering_mode()

const StringPiece google_drive_api::File::FileImageMediaMetadata::get_metering_mode ( ) const
inline

Get the value of the 'meteringMode' attribute.

◆ get_rotation()

int32 google_drive_api::File::FileImageMediaMetadata::get_rotation ( ) const
inline

Get the value of the 'rotation' attribute.

◆ get_sensor()

const StringPiece google_drive_api::File::FileImageMediaMetadata::get_sensor ( ) const
inline

Get the value of the 'sensor' attribute.

◆ get_subject_distance()

int32 google_drive_api::File::FileImageMediaMetadata::get_subject_distance ( ) const
inline

Get the value of the 'subjectDistance' attribute.

◆ get_white_balance()

const StringPiece google_drive_api::File::FileImageMediaMetadata::get_white_balance ( ) const
inline

Get the value of the 'whiteBalance' attribute.

◆ get_width()

int32 google_drive_api::File::FileImageMediaMetadata::get_width ( ) const
inline

Get the value of the 'width' attribute.

◆ GetTypeName()

const StringPiece google_drive_api::File::FileImageMediaMetadata::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_drive_api::FileImageMediaMetadata

◆ has_aperture()

bool google_drive_api::File::FileImageMediaMetadata::has_aperture ( ) const
inline

Determine if the 'aperture' attribute was set.

Returns
true if the 'aperture' attribute was set.

◆ has_camera_make()

bool google_drive_api::File::FileImageMediaMetadata::has_camera_make ( ) const
inline

Determine if the 'cameraMake' attribute was set.

Returns
true if the 'cameraMake' attribute was set.

◆ has_camera_model()

bool google_drive_api::File::FileImageMediaMetadata::has_camera_model ( ) const
inline

Determine if the 'cameraModel' attribute was set.

Returns
true if the 'cameraModel' attribute was set.

◆ has_color_space()

bool google_drive_api::File::FileImageMediaMetadata::has_color_space ( ) const
inline

Determine if the 'colorSpace' attribute was set.

Returns
true if the 'colorSpace' attribute was set.

◆ has_date()

bool google_drive_api::File::FileImageMediaMetadata::has_date ( ) const
inline

Determine if the 'date' attribute was set.

Returns
true if the 'date' attribute was set.

◆ has_exposure_bias()

bool google_drive_api::File::FileImageMediaMetadata::has_exposure_bias ( ) const
inline

Determine if the 'exposureBias' attribute was set.

Returns
true if the 'exposureBias' attribute was set.

◆ has_exposure_mode()

bool google_drive_api::File::FileImageMediaMetadata::has_exposure_mode ( ) const
inline

Determine if the 'exposureMode' attribute was set.

Returns
true if the 'exposureMode' attribute was set.

◆ has_exposure_time()

bool google_drive_api::File::FileImageMediaMetadata::has_exposure_time ( ) const
inline

Determine if the 'exposureTime' attribute was set.

Returns
true if the 'exposureTime' attribute was set.

◆ has_flash_used()

bool google_drive_api::File::FileImageMediaMetadata::has_flash_used ( ) const
inline

Determine if the 'flashUsed' attribute was set.

Returns
true if the 'flashUsed' attribute was set.

◆ has_focal_length()

bool google_drive_api::File::FileImageMediaMetadata::has_focal_length ( ) const
inline

Determine if the 'focalLength' attribute was set.

Returns
true if the 'focalLength' attribute was set.

◆ has_height()

bool google_drive_api::File::FileImageMediaMetadata::has_height ( ) const
inline

Determine if the 'height' attribute was set.

Returns
true if the 'height' attribute was set.

◆ has_iso_speed()

bool google_drive_api::File::FileImageMediaMetadata::has_iso_speed ( ) const
inline

Determine if the 'isoSpeed' attribute was set.

Returns
true if the 'isoSpeed' attribute was set.

◆ has_lens()

bool google_drive_api::File::FileImageMediaMetadata::has_lens ( ) const
inline

Determine if the 'lens' attribute was set.

Returns
true if the 'lens' attribute was set.

◆ has_location()

bool google_drive_api::File::FileImageMediaMetadata::has_location ( ) const
inline

Determine if the 'location' attribute was set.

Returns
true if the 'location' attribute was set.

◆ has_max_aperture_value()

bool google_drive_api::File::FileImageMediaMetadata::has_max_aperture_value ( ) const
inline

Determine if the 'maxApertureValue' attribute was set.

Returns
true if the 'maxApertureValue' attribute was set.

◆ has_metering_mode()

bool google_drive_api::File::FileImageMediaMetadata::has_metering_mode ( ) const
inline

Determine if the 'meteringMode' attribute was set.

Returns
true if the 'meteringMode' attribute was set.

◆ has_rotation()

bool google_drive_api::File::FileImageMediaMetadata::has_rotation ( ) const
inline

Determine if the 'rotation' attribute was set.

Returns
true if the 'rotation' attribute was set.

◆ has_sensor()

bool google_drive_api::File::FileImageMediaMetadata::has_sensor ( ) const
inline

Determine if the 'sensor' attribute was set.

Returns
true if the 'sensor' attribute was set.

◆ has_subject_distance()

bool google_drive_api::File::FileImageMediaMetadata::has_subject_distance ( ) const
inline

Determine if the 'subjectDistance' attribute was set.

Returns
true if the 'subjectDistance' attribute was set.

◆ has_white_balance()

bool google_drive_api::File::FileImageMediaMetadata::has_white_balance ( ) const
inline

Determine if the 'whiteBalance' attribute was set.

Returns
true if the 'whiteBalance' attribute was set.

◆ has_width()

bool google_drive_api::File::FileImageMediaMetadata::has_width ( ) const
inline

Determine if the 'width' attribute was set.

Returns
true if the 'width' attribute was set.

◆ mutable_location()

FileImageMediaMetadataLocation google_drive_api::File::FileImageMediaMetadata::mutable_location ( )
inline

Gets a reference to a mutable value of the 'location' property.

Geographic location information stored in the image.

Returns
The result can be modified to change the attribute value.

◆ New()

File::FileImageMediaMetadata * google_drive_api::File::FileImageMediaMetadata::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_aperture()

void google_drive_api::File::FileImageMediaMetadata::set_aperture ( float  value)
inline

Change the 'aperture' attribute.

The aperture used to create the photo (f-number).

Parameters
[in]valueThe new value.

◆ set_camera_make()

void google_drive_api::File::FileImageMediaMetadata::set_camera_make ( const StringPiece &  value)
inline

Change the 'cameraMake' attribute.

The make of the camera used to create the photo.

Parameters
[in]valueThe new value.

◆ set_camera_model()

void google_drive_api::File::FileImageMediaMetadata::set_camera_model ( const StringPiece &  value)
inline

Change the 'cameraModel' attribute.

The model of the camera used to create the photo.

Parameters
[in]valueThe new value.

◆ set_color_space()

void google_drive_api::File::FileImageMediaMetadata::set_color_space ( const StringPiece &  value)
inline

Change the 'colorSpace' attribute.

The color space of the photo.

Parameters
[in]valueThe new value.

◆ set_date()

void google_drive_api::File::FileImageMediaMetadata::set_date ( const StringPiece &  value)
inline

Change the 'date' attribute.

The date and time the photo was taken (EXIF format timestamp).

Parameters
[in]valueThe new value.

◆ set_exposure_bias()

void google_drive_api::File::FileImageMediaMetadata::set_exposure_bias ( float  value)
inline

Change the 'exposureBias' attribute.

The exposure bias of the photo (APEX value).

Parameters
[in]valueThe new value.

◆ set_exposure_mode()

void google_drive_api::File::FileImageMediaMetadata::set_exposure_mode ( const StringPiece &  value)
inline

Change the 'exposureMode' attribute.

The exposure mode used to create the photo.

Parameters
[in]valueThe new value.

◆ set_exposure_time()

void google_drive_api::File::FileImageMediaMetadata::set_exposure_time ( float  value)
inline

Change the 'exposureTime' attribute.

The length of the exposure, in seconds.

Parameters
[in]valueThe new value.

◆ set_flash_used()

void google_drive_api::File::FileImageMediaMetadata::set_flash_used ( bool  value)
inline

Change the 'flashUsed' attribute.

Whether a flash was used to create the photo.

Parameters
[in]valueThe new value.

◆ set_focal_length()

void google_drive_api::File::FileImageMediaMetadata::set_focal_length ( float  value)
inline

Change the 'focalLength' attribute.

The focal length used to create the photo, in millimeters.

Parameters
[in]valueThe new value.

◆ set_height()

void google_drive_api::File::FileImageMediaMetadata::set_height ( int32  value)
inline

Change the 'height' attribute.

The height of the image in pixels.

Parameters
[in]valueThe new value.

◆ set_iso_speed()

void google_drive_api::File::FileImageMediaMetadata::set_iso_speed ( int32  value)
inline

Change the 'isoSpeed' attribute.

The ISO speed used to create the photo.

Parameters
[in]valueThe new value.

◆ set_lens()

void google_drive_api::File::FileImageMediaMetadata::set_lens ( const StringPiece &  value)
inline

Change the 'lens' attribute.

The lens used to create the photo.

Parameters
[in]valueThe new value.

◆ set_max_aperture_value()

void google_drive_api::File::FileImageMediaMetadata::set_max_aperture_value ( float  value)
inline

Change the 'maxApertureValue' attribute.

The smallest f-number of the lens at the focal length used to create the photo (APEX value).

Parameters
[in]valueThe new value.

◆ set_metering_mode()

void google_drive_api::File::FileImageMediaMetadata::set_metering_mode ( const StringPiece &  value)
inline

Change the 'meteringMode' attribute.

The metering mode used to create the photo.

Parameters
[in]valueThe new value.

◆ set_rotation()

void google_drive_api::File::FileImageMediaMetadata::set_rotation ( int32  value)
inline

Change the 'rotation' attribute.

The rotation in clockwise degrees from the image's original orientation.

Parameters
[in]valueThe new value.

◆ set_sensor()

void google_drive_api::File::FileImageMediaMetadata::set_sensor ( const StringPiece &  value)
inline

Change the 'sensor' attribute.

The type of sensor used to create the photo.

Parameters
[in]valueThe new value.

◆ set_subject_distance()

void google_drive_api::File::FileImageMediaMetadata::set_subject_distance ( int32  value)
inline

Change the 'subjectDistance' attribute.

The distance to the subject of the photo, in meters.

Parameters
[in]valueThe new value.

◆ set_white_balance()

void google_drive_api::File::FileImageMediaMetadata::set_white_balance ( const StringPiece &  value)
inline

Change the 'whiteBalance' attribute.

The white balance mode used to create the photo.

Parameters
[in]valueThe new value.

◆ set_width()

void google_drive_api::File::FileImageMediaMetadata::set_width ( int32  value)
inline

Change the 'width' attribute.

The width of the image in pixels.

Parameters
[in]valueThe new value.

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