Package com.google.photos.types.proto
Interface PhotoOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Photo
,Photo.Builder
public interface PhotoOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description float
getApertureFNumber()
Aperture f number of the camera lens with which the photo was taken.java.lang.String
getCameraMake()
Brand of the camera with which the photo was taken.com.google.protobuf.ByteString
getCameraMakeBytes()
Brand of the camera with which the photo was taken.java.lang.String
getCameraModel()
Model of the camera with which the photo was taken.com.google.protobuf.ByteString
getCameraModelBytes()
Model of the camera with which the photo was taken.com.google.protobuf.Duration
getExposureTime()
Exposure time of the camera aperture when the photo was taken.com.google.protobuf.DurationOrBuilder
getExposureTimeOrBuilder()
Exposure time of the camera aperture when the photo was taken.float
getFocalLength()
Focal length of the camera lens with which the photo was taken.int
getIsoEquivalent()
ISO of the camera with which the photo was taken.boolean
hasExposureTime()
Exposure time of the camera aperture when the photo was taken.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getCameraMake
java.lang.String getCameraMake()
Brand of the camera with which the photo was taken.
string camera_make = 1;
- Returns:
- The cameraMake.
-
getCameraMakeBytes
com.google.protobuf.ByteString getCameraMakeBytes()
Brand of the camera with which the photo was taken.
string camera_make = 1;
- Returns:
- The bytes for cameraMake.
-
getCameraModel
java.lang.String getCameraModel()
Model of the camera with which the photo was taken.
string camera_model = 2;
- Returns:
- The cameraModel.
-
getCameraModelBytes
com.google.protobuf.ByteString getCameraModelBytes()
Model of the camera with which the photo was taken.
string camera_model = 2;
- Returns:
- The bytes for cameraModel.
-
getFocalLength
float getFocalLength()
Focal length of the camera lens with which the photo was taken.
float focal_length = 3;
- Returns:
- The focalLength.
-
getApertureFNumber
float getApertureFNumber()
Aperture f number of the camera lens with which the photo was taken.
float aperture_f_number = 4;
- Returns:
- The apertureFNumber.
-
getIsoEquivalent
int getIsoEquivalent()
ISO of the camera with which the photo was taken.
int32 iso_equivalent = 5;
- Returns:
- The isoEquivalent.
-
hasExposureTime
boolean hasExposureTime()
Exposure time of the camera aperture when the photo was taken.
.google.protobuf.Duration exposure_time = 6;
- Returns:
- Whether the exposureTime field is set.
-
getExposureTime
com.google.protobuf.Duration getExposureTime()
Exposure time of the camera aperture when the photo was taken.
.google.protobuf.Duration exposure_time = 6;
- Returns:
- The exposureTime.
-
getExposureTimeOrBuilder
com.google.protobuf.DurationOrBuilder getExposureTimeOrBuilder()
Exposure time of the camera aperture when the photo was taken.
.google.protobuf.Duration exposure_time = 6;
-
-