target.apidocs.com.google.api.services.drive.model.File.ImageMediaMetadata.html Maven / Gradle / Ivy
File.ImageMediaMetadata (Google Drive API v2-rev20240809-2.0.0)
com.google.api.services.drive.model
Class File.ImageMediaMetadata
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.drive.model.File.ImageMediaMetadata
-
- Enclosing class:
- File
public static final class File.ImageMediaMetadata
extends com.google.api.client.json.GenericJson
Output only. 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.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
static class
File.ImageMediaMetadata.Location
Output only.
-
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
ImageMediaMetadata()
-
Method Summary
-
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
-
getAperture
public Float getAperture()
Output only. The aperture used to create the photo (f-number).
- Returns:
- value or
null
for none
-
setAperture
public File.ImageMediaMetadata setAperture(Float aperture)
Output only. The aperture used to create the photo (f-number).
- Parameters:
aperture
- aperture or null
for none
-
getCameraMake
public String getCameraMake()
Output only. The make of the camera used to create the photo.
- Returns:
- value or
null
for none
-
setCameraMake
public File.ImageMediaMetadata setCameraMake(String cameraMake)
Output only. The make of the camera used to create the photo.
- Parameters:
cameraMake
- cameraMake or null
for none
-
getCameraModel
public String getCameraModel()
Output only. The model of the camera used to create the photo.
- Returns:
- value or
null
for none
-
setCameraModel
public File.ImageMediaMetadata setCameraModel(String cameraModel)
Output only. The model of the camera used to create the photo.
- Parameters:
cameraModel
- cameraModel or null
for none
-
getColorSpace
public String getColorSpace()
Output only. The color space of the photo.
- Returns:
- value or
null
for none
-
setColorSpace
public File.ImageMediaMetadata setColorSpace(String colorSpace)
Output only. The color space of the photo.
- Parameters:
colorSpace
- colorSpace or null
for none
-
getDate
public String getDate()
Output only. The date and time the photo was taken (EXIF format timestamp).
- Returns:
- value or
null
for none
-
setDate
public File.ImageMediaMetadata setDate(String date)
Output only. The date and time the photo was taken (EXIF format timestamp).
- Parameters:
date
- date or null
for none
-
getExposureBias
public Float getExposureBias()
Output only. The exposure bias of the photo (APEX value).
- Returns:
- value or
null
for none
-
setExposureBias
public File.ImageMediaMetadata setExposureBias(Float exposureBias)
Output only. The exposure bias of the photo (APEX value).
- Parameters:
exposureBias
- exposureBias or null
for none
-
getExposureMode
public String getExposureMode()
Output only. The exposure mode used to create the photo.
- Returns:
- value or
null
for none
-
setExposureMode
public File.ImageMediaMetadata setExposureMode(String exposureMode)
Output only. The exposure mode used to create the photo.
- Parameters:
exposureMode
- exposureMode or null
for none
-
getExposureTime
public Float getExposureTime()
Output only. The length of the exposure, in seconds.
- Returns:
- value or
null
for none
-
setExposureTime
public File.ImageMediaMetadata setExposureTime(Float exposureTime)
Output only. The length of the exposure, in seconds.
- Parameters:
exposureTime
- exposureTime or null
for none
-
getFlashUsed
public Boolean getFlashUsed()
Output only. Whether a flash was used to create the photo.
- Returns:
- value or
null
for none
-
setFlashUsed
public File.ImageMediaMetadata setFlashUsed(Boolean flashUsed)
Output only. Whether a flash was used to create the photo.
- Parameters:
flashUsed
- flashUsed or null
for none
-
getFocalLength
public Float getFocalLength()
Output only. The focal length used to create the photo, in millimeters.
- Returns:
- value or
null
for none
-
setFocalLength
public File.ImageMediaMetadata setFocalLength(Float focalLength)
Output only. The focal length used to create the photo, in millimeters.
- Parameters:
focalLength
- focalLength or null
for none
-
getHeight
public Integer getHeight()
Output only. The height of the image in pixels.
- Returns:
- value or
null
for none
-
setHeight
public File.ImageMediaMetadata setHeight(Integer height)
Output only. The height of the image in pixels.
- Parameters:
height
- height or null
for none
-
getIsoSpeed
public Integer getIsoSpeed()
Output only. The ISO speed used to create the photo.
- Returns:
- value or
null
for none
-
setIsoSpeed
public File.ImageMediaMetadata setIsoSpeed(Integer isoSpeed)
Output only. The ISO speed used to create the photo.
- Parameters:
isoSpeed
- isoSpeed or null
for none
-
getLens
public String getLens()
Output only. The lens used to create the photo.
- Returns:
- value or
null
for none
-
setLens
public File.ImageMediaMetadata setLens(String lens)
Output only. The lens used to create the photo.
- Parameters:
lens
- lens or null
for none
-
getLocation
public File.ImageMediaMetadata.Location getLocation()
Output only. Geographic location information stored in the image.
- Returns:
- value or
null
for none
-
setLocation
public File.ImageMediaMetadata setLocation(File.ImageMediaMetadata.Location location)
Output only. Geographic location information stored in the image.
- Parameters:
location
- location or null
for none
-
getMaxApertureValue
public Float getMaxApertureValue()
Output only. The smallest f-number of the lens at the focal length used to create the photo
(APEX value).
- Returns:
- value or
null
for none
-
setMaxApertureValue
public File.ImageMediaMetadata setMaxApertureValue(Float maxApertureValue)
Output only. The smallest f-number of the lens at the focal length used to create the photo
(APEX value).
- Parameters:
maxApertureValue
- maxApertureValue or null
for none
-
getMeteringMode
public String getMeteringMode()
Output only. The metering mode used to create the photo.
- Returns:
- value or
null
for none
-
setMeteringMode
public File.ImageMediaMetadata setMeteringMode(String meteringMode)
Output only. The metering mode used to create the photo.
- Parameters:
meteringMode
- meteringMode or null
for none
-
getRotation
public Integer getRotation()
Output only. The number of clockwise 90 degree rotations applied from the image's original
orientation.
- Returns:
- value or
null
for none
-
setRotation
public File.ImageMediaMetadata setRotation(Integer rotation)
Output only. The number of clockwise 90 degree rotations applied from the image's original
orientation.
- Parameters:
rotation
- rotation or null
for none
-
getSensor
public String getSensor()
Output only. The type of sensor used to create the photo.
- Returns:
- value or
null
for none
-
setSensor
public File.ImageMediaMetadata setSensor(String sensor)
Output only. The type of sensor used to create the photo.
- Parameters:
sensor
- sensor or null
for none
-
getSubjectDistance
public Integer getSubjectDistance()
Output only. The distance to the subject of the photo, in meters.
- Returns:
- value or
null
for none
-
setSubjectDistance
public File.ImageMediaMetadata setSubjectDistance(Integer subjectDistance)
Output only. The distance to the subject of the photo, in meters.
- Parameters:
subjectDistance
- subjectDistance or null
for none
-
getWhiteBalance
public String getWhiteBalance()
Output only. The white balance mode used to create the photo.
- Returns:
- value or
null
for none
-
setWhiteBalance
public File.ImageMediaMetadata setWhiteBalance(String whiteBalance)
Output only. The white balance mode used to create the photo.
- Parameters:
whiteBalance
- whiteBalance or null
for none
-
getWidth
public Integer getWidth()
Output only. The width of the image in pixels.
- Returns:
- value or
null
for none
-
setWidth
public File.ImageMediaMetadata setWidth(Integer width)
Output only. The width of the image in pixels.
- Parameters:
width
- width or null
for none
-
set
public File.ImageMediaMetadata set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public File.ImageMediaMetadata clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.