Interface Summary.ImageOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    Summary.Image, Summary.Image.Builder
    Enclosing class:
    Summary

    public static interface Summary.ImageOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int getColorspace()
      Valid colorspace values are 1 - grayscale 2 - grayscale + alpha 3 - RGB 4 - RGBA 5 - DIGITAL_YUV 6 - BGRA
      com.google.protobuf.ByteString getEncodedImageString()
      Image data in encoded format.
      int getHeight()
      Dimensions of the image.
      int getWidth()
      int32 width = 2;
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • 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

        com.google.protobuf.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.