Class ImageMetadata

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
ai.pipestream.parsed.data.image.v1.ImageMetadata
All Implemented Interfaces:
ImageMetadataOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class ImageMetadata extends com.google.protobuf.GeneratedMessage implements ImageMetadataOrBuilder
 Comprehensive image metadata as extracted by Tika from TIFF, EXIF, IPTC, XMP, and GPS.
 Based on Tika's TIFF, IPTC, and XMPDM interfaces with complete field coverage.
 
Protobuf type ai.pipestream.parsed.data.image.v1.ImageMetadata
See Also:
  • Field Details

    • WIDTH_FIELD_NUMBER

      public static final int WIDTH_FIELD_NUMBER
      See Also:
    • HEIGHT_FIELD_NUMBER

      public static final int HEIGHT_FIELD_NUMBER
      See Also:
    • BITS_PER_SAMPLE_FIELD_NUMBER

      public static final int BITS_PER_SAMPLE_FIELD_NUMBER
      See Also:
    • SAMPLES_PER_PIXEL_FIELD_NUMBER

      public static final int SAMPLES_PER_PIXEL_FIELD_NUMBER
      See Also:
    • ORIENTATION_FIELD_NUMBER

      public static final int ORIENTATION_FIELD_NUMBER
      See Also:
    • ORIENTATION_RAW_FIELD_NUMBER

      public static final int ORIENTATION_RAW_FIELD_NUMBER
      See Also:
    • COMPRESSION_FIELD_NUMBER

      public static final int COMPRESSION_FIELD_NUMBER
      See Also:
    • COLOR_SPACE_FIELD_NUMBER

      public static final int COLOR_SPACE_FIELD_NUMBER
      See Also:
    • BITS_PER_PIXEL_FIELD_NUMBER

      public static final int BITS_PER_PIXEL_FIELD_NUMBER
      See Also:
    • X_RESOLUTION_FIELD_NUMBER

      public static final int X_RESOLUTION_FIELD_NUMBER
      See Also:
    • Y_RESOLUTION_FIELD_NUMBER

      public static final int Y_RESOLUTION_FIELD_NUMBER
      See Also:
    • RESOLUTION_UNIT_FIELD_NUMBER

      public static final int RESOLUTION_UNIT_FIELD_NUMBER
      See Also:
    • MAKE_FIELD_NUMBER

      public static final int MAKE_FIELD_NUMBER
      See Also:
    • MODEL_FIELD_NUMBER

      public static final int MODEL_FIELD_NUMBER
      See Also:
    • SOFTWARE_FIELD_NUMBER

      public static final int SOFTWARE_FIELD_NUMBER
      See Also:
    • ARTIST_FIELD_NUMBER

      public static final int ARTIST_FIELD_NUMBER
      See Also:
    • IMAGE_DESCRIPTION_FIELD_NUMBER

      public static final int IMAGE_DESCRIPTION_FIELD_NUMBER
      See Also:
    • DATE_TIME_FIELD_NUMBER

      public static final int DATE_TIME_FIELD_NUMBER
      See Also:
    • DATE_TIME_RAW_FIELD_NUMBER

      public static final int DATE_TIME_RAW_FIELD_NUMBER
      See Also:
    • DATE_TIME_ORIGINAL_FIELD_NUMBER

      public static final int DATE_TIME_ORIGINAL_FIELD_NUMBER
      See Also:
    • DATE_TIME_ORIGINAL_RAW_FIELD_NUMBER

      public static final int DATE_TIME_ORIGINAL_RAW_FIELD_NUMBER
      See Also:
    • DATE_TIME_DIGITIZED_FIELD_NUMBER

      public static final int DATE_TIME_DIGITIZED_FIELD_NUMBER
      See Also:
    • DATE_TIME_DIGITIZED_RAW_FIELD_NUMBER

      public static final int DATE_TIME_DIGITIZED_RAW_FIELD_NUMBER
      See Also:
    • EXIF_FIELD_NUMBER

      public static final int EXIF_FIELD_NUMBER
      See Also:
    • GPS_FIELD_NUMBER

      public static final int GPS_FIELD_NUMBER
      See Also:
    • IPTC_FIELD_NUMBER

      public static final int IPTC_FIELD_NUMBER
      See Also:
    • PIXEL_X_DIMENSION_FIELD_NUMBER

      public static final int PIXEL_X_DIMENSION_FIELD_NUMBER
      See Also:
    • PIXEL_Y_DIMENSION_FIELD_NUMBER

      public static final int PIXEL_Y_DIMENSION_FIELD_NUMBER
      See Also:
    • RATING_FIELD_NUMBER

      public static final int RATING_FIELD_NUMBER
      See Also:
    • RATING_RAW_FIELD_NUMBER

      public static final int RATING_RAW_FIELD_NUMBER
      See Also:
    • KEYWORDS_FIELD_NUMBER

      public static final int KEYWORDS_FIELD_NUMBER
      See Also:
    • PAGE_COUNT_FIELD_NUMBER

      public static final int PAGE_COUNT_FIELD_NUMBER
      See Also:
    • ADDITIONAL_METADATA_FIELD_NUMBER

      public static final int ADDITIONAL_METADATA_FIELD_NUMBER
      See Also:
    • BASE_FIELDS_FIELD_NUMBER

      public static final int BASE_FIELDS_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • hasWidth

      public boolean hasWidth()
       Image width in pixels (tiff:ImageWidth).
       
      optional int32 width = 1 [json_name = "width"];
      Specified by:
      hasWidth in interface ImageMetadataOrBuilder
      Returns:
      Whether the width field is set.
    • getWidth

      public int getWidth()
       Image width in pixels (tiff:ImageWidth).
       
      optional int32 width = 1 [json_name = "width"];
      Specified by:
      getWidth in interface ImageMetadataOrBuilder
      Returns:
      The width.
    • hasHeight

      public boolean hasHeight()
       Image height in pixels (tiff:ImageLength).
       
      optional int32 height = 2 [json_name = "height"];
      Specified by:
      hasHeight in interface ImageMetadataOrBuilder
      Returns:
      Whether the height field is set.
    • getHeight

      public int getHeight()
       Image height in pixels (tiff:ImageLength).
       
      optional int32 height = 2 [json_name = "height"];
      Specified by:
      getHeight in interface ImageMetadataOrBuilder
      Returns:
      The height.
    • getBitsPerSampleList

      public List<Integer> getBitsPerSampleList()
       Bits per sample for each color channel (tiff:BitsPerSample).
       
      repeated int32 bits_per_sample = 3 [json_name = "bitsPerSample"];
      Specified by:
      getBitsPerSampleList in interface ImageMetadataOrBuilder
      Returns:
      A list containing the bitsPerSample.
    • getBitsPerSampleCount

      public int getBitsPerSampleCount()
       Bits per sample for each color channel (tiff:BitsPerSample).
       
      repeated int32 bits_per_sample = 3 [json_name = "bitsPerSample"];
      Specified by:
      getBitsPerSampleCount in interface ImageMetadataOrBuilder
      Returns:
      The count of bitsPerSample.
    • getBitsPerSample

      public int getBitsPerSample(int index)
       Bits per sample for each color channel (tiff:BitsPerSample).
       
      repeated int32 bits_per_sample = 3 [json_name = "bitsPerSample"];
      Specified by:
      getBitsPerSample in interface ImageMetadataOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The bitsPerSample at the given index.
    • hasSamplesPerPixel

      public boolean hasSamplesPerPixel()
       Number of samples per pixel (tiff:SamplesPerPixel).
       
      optional int32 samples_per_pixel = 4 [json_name = "samplesPerPixel"];
      Specified by:
      hasSamplesPerPixel in interface ImageMetadataOrBuilder
      Returns:
      Whether the samplesPerPixel field is set.
    • getSamplesPerPixel

      public int getSamplesPerPixel()
       Number of samples per pixel (tiff:SamplesPerPixel).
       
      optional int32 samples_per_pixel = 4 [json_name = "samplesPerPixel"];
      Specified by:
      getSamplesPerPixel in interface ImageMetadataOrBuilder
      Returns:
      The samplesPerPixel.
    • hasOrientation

      public boolean hasOrientation()
       Image orientation code 1-8 indicating rotation (tiff:Orientation).
       
      optional int32 orientation = 5 [json_name = "orientation"];
      Specified by:
      hasOrientation in interface ImageMetadataOrBuilder
      Returns:
      Whether the orientation field is set.
    • getOrientation

      public int getOrientation()
       Image orientation code 1-8 indicating rotation (tiff:Orientation).
       
      optional int32 orientation = 5 [json_name = "orientation"];
      Specified by:
      getOrientation in interface ImageMetadataOrBuilder
      Returns:
      The orientation.
    • hasOrientationRaw

      public boolean hasOrientationRaw()
       Raw orientation string for closed-choice values.
       
      optional string orientation_raw = 64 [json_name = "orientationRaw"];
      Specified by:
      hasOrientationRaw in interface ImageMetadataOrBuilder
      Returns:
      Whether the orientationRaw field is set.
    • getOrientationRaw

      public String getOrientationRaw()
       Raw orientation string for closed-choice values.
       
      optional string orientation_raw = 64 [json_name = "orientationRaw"];
      Specified by:
      getOrientationRaw in interface ImageMetadataOrBuilder
      Returns:
      The orientationRaw.
    • getOrientationRawBytes

      public com.google.protobuf.ByteString getOrientationRawBytes()
       Raw orientation string for closed-choice values.
       
      optional string orientation_raw = 64 [json_name = "orientationRaw"];
      Specified by:
      getOrientationRawBytes in interface ImageMetadataOrBuilder
      Returns:
      The bytes for orientationRaw.
    • hasCompression

      public boolean hasCompression()
       Compression type used (tiff:Compression).
       
      optional string compression = 6 [json_name = "compression"];
      Specified by:
      hasCompression in interface ImageMetadataOrBuilder
      Returns:
      Whether the compression field is set.
    • getCompression

      public String getCompression()
       Compression type used (tiff:Compression).
       
      optional string compression = 6 [json_name = "compression"];
      Specified by:
      getCompression in interface ImageMetadataOrBuilder
      Returns:
      The compression.
    • getCompressionBytes

      public com.google.protobuf.ByteString getCompressionBytes()
       Compression type used (tiff:Compression).
       
      optional string compression = 6 [json_name = "compression"];
      Specified by:
      getCompressionBytes in interface ImageMetadataOrBuilder
      Returns:
      The bytes for compression.
    • hasColorSpace

      public boolean hasColorSpace()
       Color space information for the image.
       
      optional string color_space = 7 [json_name = "colorSpace"];
      Specified by:
      hasColorSpace in interface ImageMetadataOrBuilder
      Returns:
      Whether the colorSpace field is set.
    • getColorSpace

      public String getColorSpace()
       Color space information for the image.
       
      optional string color_space = 7 [json_name = "colorSpace"];
      Specified by:
      getColorSpace in interface ImageMetadataOrBuilder
      Returns:
      The colorSpace.
    • getColorSpaceBytes

      public com.google.protobuf.ByteString getColorSpaceBytes()
       Color space information for the image.
       
      optional string color_space = 7 [json_name = "colorSpace"];
      Specified by:
      getColorSpaceBytes in interface ImageMetadataOrBuilder
      Returns:
      The bytes for colorSpace.
    • hasBitsPerPixel

      public boolean hasBitsPerPixel()
       Calculated total bits per pixel from bits_per_sample.
       
      optional int32 bits_per_pixel = 8 [json_name = "bitsPerPixel"];
      Specified by:
      hasBitsPerPixel in interface ImageMetadataOrBuilder
      Returns:
      Whether the bitsPerPixel field is set.
    • getBitsPerPixel

      public int getBitsPerPixel()
       Calculated total bits per pixel from bits_per_sample.
       
      optional int32 bits_per_pixel = 8 [json_name = "bitsPerPixel"];
      Specified by:
      getBitsPerPixel in interface ImageMetadataOrBuilder
      Returns:
      The bitsPerPixel.
    • hasXResolution

      public boolean hasXResolution()
       Horizontal resolution in DPI (tiff:XResolution).
       
      optional double x_resolution = 9 [json_name = "xResolution"];
      Specified by:
      hasXResolution in interface ImageMetadataOrBuilder
      Returns:
      Whether the xResolution field is set.
    • getXResolution

      public double getXResolution()
       Horizontal resolution in DPI (tiff:XResolution).
       
      optional double x_resolution = 9 [json_name = "xResolution"];
      Specified by:
      getXResolution in interface ImageMetadataOrBuilder
      Returns:
      The xResolution.
    • hasYResolution

      public boolean hasYResolution()
       Vertical resolution in DPI (tiff:YResolution).
       
      optional double y_resolution = 10 [json_name = "yResolution"];
      Specified by:
      hasYResolution in interface ImageMetadataOrBuilder
      Returns:
      Whether the yResolution field is set.
    • getYResolution

      public double getYResolution()
       Vertical resolution in DPI (tiff:YResolution).
       
      optional double y_resolution = 10 [json_name = "yResolution"];
      Specified by:
      getYResolution in interface ImageMetadataOrBuilder
      Returns:
      The yResolution.
    • hasResolutionUnit

      public boolean hasResolutionUnit()
       Resolution unit (Inch or cm) (tiff:ResolutionUnit).
       
      optional string resolution_unit = 11 [json_name = "resolutionUnit"];
      Specified by:
      hasResolutionUnit in interface ImageMetadataOrBuilder
      Returns:
      Whether the resolutionUnit field is set.
    • getResolutionUnit

      public String getResolutionUnit()
       Resolution unit (Inch or cm) (tiff:ResolutionUnit).
       
      optional string resolution_unit = 11 [json_name = "resolutionUnit"];
      Specified by:
      getResolutionUnit in interface ImageMetadataOrBuilder
      Returns:
      The resolutionUnit.
    • getResolutionUnitBytes

      public com.google.protobuf.ByteString getResolutionUnitBytes()
       Resolution unit (Inch or cm) (tiff:ResolutionUnit).
       
      optional string resolution_unit = 11 [json_name = "resolutionUnit"];
      Specified by:
      getResolutionUnitBytes in interface ImageMetadataOrBuilder
      Returns:
      The bytes for resolutionUnit.
    • hasMake

      public boolean hasMake()
       Camera or device manufacturer (tiff:Make).
       
      optional string make = 12 [json_name = "make"];
      Specified by:
      hasMake in interface ImageMetadataOrBuilder
      Returns:
      Whether the make field is set.
    • getMake

      public String getMake()
       Camera or device manufacturer (tiff:Make).
       
      optional string make = 12 [json_name = "make"];
      Specified by:
      getMake in interface ImageMetadataOrBuilder
      Returns:
      The make.
    • getMakeBytes

      public com.google.protobuf.ByteString getMakeBytes()
       Camera or device manufacturer (tiff:Make).
       
      optional string make = 12 [json_name = "make"];
      Specified by:
      getMakeBytes in interface ImageMetadataOrBuilder
      Returns:
      The bytes for make.
    • hasModel

      public boolean hasModel()
       Camera or device model (tiff:Model).
       
      optional string model = 13 [json_name = "model"];
      Specified by:
      hasModel in interface ImageMetadataOrBuilder
      Returns:
      Whether the model field is set.
    • getModel

      public String getModel()
       Camera or device model (tiff:Model).
       
      optional string model = 13 [json_name = "model"];
      Specified by:
      getModel in interface ImageMetadataOrBuilder
      Returns:
      The model.
    • getModelBytes

      public com.google.protobuf.ByteString getModelBytes()
       Camera or device model (tiff:Model).
       
      optional string model = 13 [json_name = "model"];
      Specified by:
      getModelBytes in interface ImageMetadataOrBuilder
      Returns:
      The bytes for model.
    • hasSoftware

      public boolean hasSoftware()
       Software used to create/process the image (tiff:Software).
       
      optional string software = 14 [json_name = "software"];
      Specified by:
      hasSoftware in interface ImageMetadataOrBuilder
      Returns:
      Whether the software field is set.
    • getSoftware

      public String getSoftware()
       Software used to create/process the image (tiff:Software).
       
      optional string software = 14 [json_name = "software"];
      Specified by:
      getSoftware in interface ImageMetadataOrBuilder
      Returns:
      The software.
    • getSoftwareBytes

      public com.google.protobuf.ByteString getSoftwareBytes()
       Software used to create/process the image (tiff:Software).
       
      optional string software = 14 [json_name = "software"];
      Specified by:
      getSoftwareBytes in interface ImageMetadataOrBuilder
      Returns:
      The bytes for software.
    • hasArtist

      public boolean hasArtist()
       Artist or photographer name (tiff:Artist / dc:creator).
       
      optional string artist = 15 [json_name = "artist"];
      Specified by:
      hasArtist in interface ImageMetadataOrBuilder
      Returns:
      Whether the artist field is set.
    • getArtist

      public String getArtist()
       Artist or photographer name (tiff:Artist / dc:creator).
       
      optional string artist = 15 [json_name = "artist"];
      Specified by:
      getArtist in interface ImageMetadataOrBuilder
      Returns:
      The artist.
    • getArtistBytes

      public com.google.protobuf.ByteString getArtistBytes()
       Artist or photographer name (tiff:Artist / dc:creator).
       
      optional string artist = 15 [json_name = "artist"];
      Specified by:
      getArtistBytes in interface ImageMetadataOrBuilder
      Returns:
      The bytes for artist.
    • hasCopyright

      public boolean hasCopyright()
       Copyright notice (tiff:Copyright / dc:rights).
       
      optional string copyright = 16 [json_name = "copyright"];
      Specified by:
      hasCopyright in interface ImageMetadataOrBuilder
      Returns:
      Whether the copyright field is set.
    • getCopyright

      public String getCopyright()
       Copyright notice (tiff:Copyright / dc:rights).
       
      optional string copyright = 16 [json_name = "copyright"];
      Specified by:
      getCopyright in interface ImageMetadataOrBuilder
      Returns:
      The copyright.
    • getCopyrightBytes

      public com.google.protobuf.ByteString getCopyrightBytes()
       Copyright notice (tiff:Copyright / dc:rights).
       
      optional string copyright = 16 [json_name = "copyright"];
      Specified by:
      getCopyrightBytes in interface ImageMetadataOrBuilder
      Returns:
      The bytes for copyright.
    • hasImageDescription

      public boolean hasImageDescription()
       Image description or caption (tiff:ImageDescription).
       
      optional string image_description = 17 [json_name = "imageDescription"];
      Specified by:
      hasImageDescription in interface ImageMetadataOrBuilder
      Returns:
      Whether the imageDescription field is set.
    • getImageDescription

      public String getImageDescription()
       Image description or caption (tiff:ImageDescription).
       
      optional string image_description = 17 [json_name = "imageDescription"];
      Specified by:
      getImageDescription in interface ImageMetadataOrBuilder
      Returns:
      The imageDescription.
    • getImageDescriptionBytes

      public com.google.protobuf.ByteString getImageDescriptionBytes()
       Image description or caption (tiff:ImageDescription).
       
      optional string image_description = 17 [json_name = "imageDescription"];
      Specified by:
      getImageDescriptionBytes in interface ImageMetadataOrBuilder
      Returns:
      The bytes for imageDescription.
    • hasDateTime

      public boolean hasDateTime()
       Timestamp when image was last modified (tiff:DateTime).
       
      optional .google.protobuf.Timestamp date_time = 18 [json_name = "dateTime"];
      Specified by:
      hasDateTime in interface ImageMetadataOrBuilder
      Returns:
      Whether the dateTime field is set.
    • getDateTime

      public com.google.protobuf.Timestamp getDateTime()
       Timestamp when image was last modified (tiff:DateTime).
       
      optional .google.protobuf.Timestamp date_time = 18 [json_name = "dateTime"];
      Specified by:
      getDateTime in interface ImageMetadataOrBuilder
      Returns:
      The dateTime.
    • getDateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getDateTimeOrBuilder()
       Timestamp when image was last modified (tiff:DateTime).
       
      optional .google.protobuf.Timestamp date_time = 18 [json_name = "dateTime"];
      Specified by:
      getDateTimeOrBuilder in interface ImageMetadataOrBuilder
    • hasDateTimeRaw

      public boolean hasDateTimeRaw()
       Raw date_time string for fallback parsing.
       
      optional string date_time_raw = 60 [json_name = "dateTimeRaw"];
      Specified by:
      hasDateTimeRaw in interface ImageMetadataOrBuilder
      Returns:
      Whether the dateTimeRaw field is set.
    • getDateTimeRaw

      public String getDateTimeRaw()
       Raw date_time string for fallback parsing.
       
      optional string date_time_raw = 60 [json_name = "dateTimeRaw"];
      Specified by:
      getDateTimeRaw in interface ImageMetadataOrBuilder
      Returns:
      The dateTimeRaw.
    • getDateTimeRawBytes

      public com.google.protobuf.ByteString getDateTimeRawBytes()
       Raw date_time string for fallback parsing.
       
      optional string date_time_raw = 60 [json_name = "dateTimeRaw"];
      Specified by:
      getDateTimeRawBytes in interface ImageMetadataOrBuilder
      Returns:
      The bytes for dateTimeRaw.
    • hasDateTimeOriginal

      public boolean hasDateTimeOriginal()
       Timestamp when original image was taken (exif:DateTimeOriginal).
       
      optional .google.protobuf.Timestamp date_time_original = 19 [json_name = "dateTimeOriginal"];
      Specified by:
      hasDateTimeOriginal in interface ImageMetadataOrBuilder
      Returns:
      Whether the dateTimeOriginal field is set.
    • getDateTimeOriginal

      public com.google.protobuf.Timestamp getDateTimeOriginal()
       Timestamp when original image was taken (exif:DateTimeOriginal).
       
      optional .google.protobuf.Timestamp date_time_original = 19 [json_name = "dateTimeOriginal"];
      Specified by:
      getDateTimeOriginal in interface ImageMetadataOrBuilder
      Returns:
      The dateTimeOriginal.
    • getDateTimeOriginalOrBuilder

      public com.google.protobuf.TimestampOrBuilder getDateTimeOriginalOrBuilder()
       Timestamp when original image was taken (exif:DateTimeOriginal).
       
      optional .google.protobuf.Timestamp date_time_original = 19 [json_name = "dateTimeOriginal"];
      Specified by:
      getDateTimeOriginalOrBuilder in interface ImageMetadataOrBuilder
    • hasDateTimeOriginalRaw

      public boolean hasDateTimeOriginalRaw()
       Raw date_time_original string for fallback parsing.
       
      optional string date_time_original_raw = 61 [json_name = "dateTimeOriginalRaw"];
      Specified by:
      hasDateTimeOriginalRaw in interface ImageMetadataOrBuilder
      Returns:
      Whether the dateTimeOriginalRaw field is set.
    • getDateTimeOriginalRaw

      public String getDateTimeOriginalRaw()
       Raw date_time_original string for fallback parsing.
       
      optional string date_time_original_raw = 61 [json_name = "dateTimeOriginalRaw"];
      Specified by:
      getDateTimeOriginalRaw in interface ImageMetadataOrBuilder
      Returns:
      The dateTimeOriginalRaw.
    • getDateTimeOriginalRawBytes

      public com.google.protobuf.ByteString getDateTimeOriginalRawBytes()
       Raw date_time_original string for fallback parsing.
       
      optional string date_time_original_raw = 61 [json_name = "dateTimeOriginalRaw"];
      Specified by:
      getDateTimeOriginalRawBytes in interface ImageMetadataOrBuilder
      Returns:
      The bytes for dateTimeOriginalRaw.
    • hasDateTimeDigitized

      public boolean hasDateTimeDigitized()
       Timestamp when image was digitized (exif:DateTimeDigitized).
       
      optional .google.protobuf.Timestamp date_time_digitized = 20 [json_name = "dateTimeDigitized"];
      Specified by:
      hasDateTimeDigitized in interface ImageMetadataOrBuilder
      Returns:
      Whether the dateTimeDigitized field is set.
    • getDateTimeDigitized

      public com.google.protobuf.Timestamp getDateTimeDigitized()
       Timestamp when image was digitized (exif:DateTimeDigitized).
       
      optional .google.protobuf.Timestamp date_time_digitized = 20 [json_name = "dateTimeDigitized"];
      Specified by:
      getDateTimeDigitized in interface ImageMetadataOrBuilder
      Returns:
      The dateTimeDigitized.
    • getDateTimeDigitizedOrBuilder

      public com.google.protobuf.TimestampOrBuilder getDateTimeDigitizedOrBuilder()
       Timestamp when image was digitized (exif:DateTimeDigitized).
       
      optional .google.protobuf.Timestamp date_time_digitized = 20 [json_name = "dateTimeDigitized"];
      Specified by:
      getDateTimeDigitizedOrBuilder in interface ImageMetadataOrBuilder
    • hasDateTimeDigitizedRaw

      public boolean hasDateTimeDigitizedRaw()
       Raw date_time_digitized string for fallback parsing.
       
      optional string date_time_digitized_raw = 62 [json_name = "dateTimeDigitizedRaw"];
      Specified by:
      hasDateTimeDigitizedRaw in interface ImageMetadataOrBuilder
      Returns:
      Whether the dateTimeDigitizedRaw field is set.
    • getDateTimeDigitizedRaw

      public String getDateTimeDigitizedRaw()
       Raw date_time_digitized string for fallback parsing.
       
      optional string date_time_digitized_raw = 62 [json_name = "dateTimeDigitizedRaw"];
      Specified by:
      getDateTimeDigitizedRaw in interface ImageMetadataOrBuilder
      Returns:
      The dateTimeDigitizedRaw.
    • getDateTimeDigitizedRawBytes

      public com.google.protobuf.ByteString getDateTimeDigitizedRawBytes()
       Raw date_time_digitized string for fallback parsing.
       
      optional string date_time_digitized_raw = 62 [json_name = "dateTimeDigitizedRaw"];
      Specified by:
      getDateTimeDigitizedRawBytes in interface ImageMetadataOrBuilder
      Returns:
      The bytes for dateTimeDigitizedRaw.
    • hasExif

      public boolean hasExif()
       EXIF camera settings and technical information.
       
      .ai.pipestream.parsed.data.image.v1.ExifMetadata exif = 21 [json_name = "exif"];
      Specified by:
      hasExif in interface ImageMetadataOrBuilder
      Returns:
      Whether the exif field is set.
    • getExif

      public ExifMetadata getExif()
       EXIF camera settings and technical information.
       
      .ai.pipestream.parsed.data.image.v1.ExifMetadata exif = 21 [json_name = "exif"];
      Specified by:
      getExif in interface ImageMetadataOrBuilder
      Returns:
      The exif.
    • getExifOrBuilder

      public ExifMetadataOrBuilder getExifOrBuilder()
       EXIF camera settings and technical information.
       
      .ai.pipestream.parsed.data.image.v1.ExifMetadata exif = 21 [json_name = "exif"];
      Specified by:
      getExifOrBuilder in interface ImageMetadataOrBuilder
    • hasGps

      public boolean hasGps()
       GPS location and tracking information.
       
      .ai.pipestream.parsed.data.image.v1.GpsMetadata gps = 22 [json_name = "gps"];
      Specified by:
      hasGps in interface ImageMetadataOrBuilder
      Returns:
      Whether the gps field is set.
    • getGps

      public GpsMetadata getGps()
       GPS location and tracking information.
       
      .ai.pipestream.parsed.data.image.v1.GpsMetadata gps = 22 [json_name = "gps"];
      Specified by:
      getGps in interface ImageMetadataOrBuilder
      Returns:
      The gps.
    • getGpsOrBuilder

      public GpsMetadataOrBuilder getGpsOrBuilder()
       GPS location and tracking information.
       
      .ai.pipestream.parsed.data.image.v1.GpsMetadata gps = 22 [json_name = "gps"];
      Specified by:
      getGpsOrBuilder in interface ImageMetadataOrBuilder
    • hasIptc

      public boolean hasIptc()
       IPTC editorial and rights metadata.
       
      .ai.pipestream.parsed.data.image.v1.IptcMetadata iptc = 23 [json_name = "iptc"];
      Specified by:
      hasIptc in interface ImageMetadataOrBuilder
      Returns:
      Whether the iptc field is set.
    • getIptc

      public IptcMetadata getIptc()
       IPTC editorial and rights metadata.
       
      .ai.pipestream.parsed.data.image.v1.IptcMetadata iptc = 23 [json_name = "iptc"];
      Specified by:
      getIptc in interface ImageMetadataOrBuilder
      Returns:
      The iptc.
    • getIptcOrBuilder

      public IptcMetadataOrBuilder getIptcOrBuilder()
       IPTC editorial and rights metadata.
       
      .ai.pipestream.parsed.data.image.v1.IptcMetadata iptc = 23 [json_name = "iptc"];
      Specified by:
      getIptcOrBuilder in interface ImageMetadataOrBuilder
    • hasPixelXDimension

      public boolean hasPixelXDimension()
       Actual pixel width (exif:PixelXDimension).
       
      optional int32 pixel_x_dimension = 24 [json_name = "pixelXDimension"];
      Specified by:
      hasPixelXDimension in interface ImageMetadataOrBuilder
      Returns:
      Whether the pixelXDimension field is set.
    • getPixelXDimension

      public int getPixelXDimension()
       Actual pixel width (exif:PixelXDimension).
       
      optional int32 pixel_x_dimension = 24 [json_name = "pixelXDimension"];
      Specified by:
      getPixelXDimension in interface ImageMetadataOrBuilder
      Returns:
      The pixelXDimension.
    • hasPixelYDimension

      public boolean hasPixelYDimension()
       Actual pixel height (exif:PixelYDimension).
       
      optional int32 pixel_y_dimension = 25 [json_name = "pixelYDimension"];
      Specified by:
      hasPixelYDimension in interface ImageMetadataOrBuilder
      Returns:
      Whether the pixelYDimension field is set.
    • getPixelYDimension

      public int getPixelYDimension()
       Actual pixel height (exif:PixelYDimension).
       
      optional int32 pixel_y_dimension = 25 [json_name = "pixelYDimension"];
      Specified by:
      getPixelYDimension in interface ImageMetadataOrBuilder
      Returns:
      The pixelYDimension.
    • hasRating

      public boolean hasRating()
       Image rating value (xmp:Rating).
       
      optional int32 rating = 26 [json_name = "rating"];
      Specified by:
      hasRating in interface ImageMetadataOrBuilder
      Returns:
      Whether the rating field is set.
    • getRating

      public int getRating()
       Image rating value (xmp:Rating).
       
      optional int32 rating = 26 [json_name = "rating"];
      Specified by:
      getRating in interface ImageMetadataOrBuilder
      Returns:
      The rating.
    • hasRatingRaw

      public boolean hasRatingRaw()
       Raw rating string for fallback parsing.
       
      optional string rating_raw = 63 [json_name = "ratingRaw"];
      Specified by:
      hasRatingRaw in interface ImageMetadataOrBuilder
      Returns:
      Whether the ratingRaw field is set.
    • getRatingRaw

      public String getRatingRaw()
       Raw rating string for fallback parsing.
       
      optional string rating_raw = 63 [json_name = "ratingRaw"];
      Specified by:
      getRatingRaw in interface ImageMetadataOrBuilder
      Returns:
      The ratingRaw.
    • getRatingRawBytes

      public com.google.protobuf.ByteString getRatingRawBytes()
       Raw rating string for fallback parsing.
       
      optional string rating_raw = 63 [json_name = "ratingRaw"];
      Specified by:
      getRatingRawBytes in interface ImageMetadataOrBuilder
      Returns:
      The bytes for ratingRaw.
    • getKeywordsList

      public com.google.protobuf.ProtocolStringList getKeywordsList()
       Keywords for search and categorization (dc:subject / IPTC).
       
      repeated string keywords = 27 [json_name = "keywords"];
      Specified by:
      getKeywordsList in interface ImageMetadataOrBuilder
      Returns:
      A list containing the keywords.
    • getKeywordsCount

      public int getKeywordsCount()
       Keywords for search and categorization (dc:subject / IPTC).
       
      repeated string keywords = 27 [json_name = "keywords"];
      Specified by:
      getKeywordsCount in interface ImageMetadataOrBuilder
      Returns:
      The count of keywords.
    • getKeywords

      public String getKeywords(int index)
       Keywords for search and categorization (dc:subject / IPTC).
       
      repeated string keywords = 27 [json_name = "keywords"];
      Specified by:
      getKeywords in interface ImageMetadataOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The keywords at the given index.
    • getKeywordsBytes

      public com.google.protobuf.ByteString getKeywordsBytes(int index)
       Keywords for search and categorization (dc:subject / IPTC).
       
      repeated string keywords = 27 [json_name = "keywords"];
      Specified by:
      getKeywordsBytes in interface ImageMetadataOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the keywords at the given index.
    • hasPageCount

      public boolean hasPageCount()
       Number of pages in multi-page image formats (exif:PageCount).
       
      optional int32 page_count = 28 [json_name = "pageCount"];
      Specified by:
      hasPageCount in interface ImageMetadataOrBuilder
      Returns:
      Whether the pageCount field is set.
    • getPageCount

      public int getPageCount()
       Number of pages in multi-page image formats (exif:PageCount).
       
      optional int32 page_count = 28 [json_name = "pageCount"];
      Specified by:
      getPageCount in interface ImageMetadataOrBuilder
      Returns:
      The pageCount.
    • hasAdditionalMetadata

      public boolean hasAdditionalMetadata()
       Catch-all for unknown or unmapped metadata fields.
       
      .google.protobuf.Struct additional_metadata = 200 [json_name = "additionalMetadata"];
      Specified by:
      hasAdditionalMetadata in interface ImageMetadataOrBuilder
      Returns:
      Whether the additionalMetadata field is set.
    • getAdditionalMetadata

      public com.google.protobuf.Struct getAdditionalMetadata()
       Catch-all for unknown or unmapped metadata fields.
       
      .google.protobuf.Struct additional_metadata = 200 [json_name = "additionalMetadata"];
      Specified by:
      getAdditionalMetadata in interface ImageMetadataOrBuilder
      Returns:
      The additionalMetadata.
    • getAdditionalMetadataOrBuilder

      public com.google.protobuf.StructOrBuilder getAdditionalMetadataOrBuilder()
       Catch-all for unknown or unmapped metadata fields.
       
      .google.protobuf.Struct additional_metadata = 200 [json_name = "additionalMetadata"];
      Specified by:
      getAdditionalMetadataOrBuilder in interface ImageMetadataOrBuilder
    • hasBaseFields

      public boolean hasBaseFields()
       Base Tika fields common to all document types.
       
      .ai.pipestream.parsed.data.tika.base.v1.TikaBaseFields base_fields = 201 [json_name = "baseFields"];
      Specified by:
      hasBaseFields in interface ImageMetadataOrBuilder
      Returns:
      Whether the baseFields field is set.
    • getBaseFields

      public TikaBaseFields getBaseFields()
       Base Tika fields common to all document types.
       
      .ai.pipestream.parsed.data.tika.base.v1.TikaBaseFields base_fields = 201 [json_name = "baseFields"];
      Specified by:
      getBaseFields in interface ImageMetadataOrBuilder
      Returns:
      The baseFields.
    • getBaseFieldsOrBuilder

      public TikaBaseFieldsOrBuilder getBaseFieldsOrBuilder()
       Base Tika fields common to all document types.
       
      .ai.pipestream.parsed.data.tika.base.v1.TikaBaseFields base_fields = 201 [json_name = "baseFields"];
      Specified by:
      getBaseFieldsOrBuilder in interface ImageMetadataOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static ImageMetadata parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ImageMetadata parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ImageMetadata parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ImageMetadata parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ImageMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ImageMetadata parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ImageMetadata parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ImageMetadata parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ImageMetadata parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ImageMetadata parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ImageMetadata parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ImageMetadata parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public ImageMetadata.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static ImageMetadata.Builder newBuilder()
    • newBuilder

      public static ImageMetadata.Builder newBuilder(ImageMetadata prototype)
    • toBuilder

      public ImageMetadata.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected ImageMetadata.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static ImageMetadata getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<ImageMetadata> parser()
    • getParserForType

      public com.google.protobuf.Parser<ImageMetadata> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public ImageMetadata getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder