All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.drive.model.File.ImageMediaMetadata.html Maven / Gradle / Ivy

There is a newer version: v3-rev20241027-2.0.0
Show newest version






File.ImageMediaMetadata (Google Drive API v2-rev20240809-2.0.0)












com.google.api.services.drive.model

Class File.ImageMediaMetadata

  • All Implemented Interfaces:
    Cloneable, Map<String,Object>
    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.
    • Constructor Detail

      • ImageMediaMetadata

        public ImageMediaMetadata()
    • 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
      • 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
      • clone

        public File.ImageMediaMetadata clone()
        Overrides:
        clone in class com.google.api.client.json.GenericJson

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy