Interface Summary.ImageOrBuilder

All Superinterfaces:
MessageLiteOrBuilder, MessageOrBuilder
All Known Implementing Classes:
Summary.Image, Summary.Image.Builder
Enclosing class:
Summary

public static interface Summary.ImageOrBuilder extends MessageOrBuilder
  • Method Details

    • getHeight

      int getHeight()
      Dimensions of the image.
      
      int32 height = 1;
      Returns:
      The height.
    • getWidth

      int getWidth()
      int32 width = 2;
      Returns:
      The width.
    • getColorspace

      int getColorspace()
      Valid colorspace values are
        1 - grayscale
        2 - grayscale + alpha
        3 - RGB
        4 - RGBA
        5 - DIGITAL_YUV
        6 - BGRA
      
      int32 colorspace = 3;
      Returns:
      The colorspace.
    • getEncodedImageString

      ByteString getEncodedImageString()
      Image data in encoded format.  All image formats supported by
      image_codec::CoderUtil can be stored here.
      
      bytes encoded_image_string = 4;
      Returns:
      The encodedImageString.