Interface ImageDimensionOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    ImageDimension, ImageDimension.Builder

    public interface ImageDimensionOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      long getHeightPixels()
      Height of the image.
      java.lang.String getUrl()
      A URL that returns the image with this height and width.
      com.google.protobuf.ByteString getUrlBytes()
      A URL that returns the image with this height and width.
      long getWidthPixels()
      Width of the image.
      boolean hasHeightPixels()
      Height of the image.
      boolean hasUrl()
      A URL that returns the image with this height and width.
      boolean hasWidthPixels()
      Width of the image.
      • 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

      • hasHeightPixels

        boolean hasHeightPixels()
         Height of the image.
         
        optional int64 height_pixels = 4;
        Returns:
        Whether the heightPixels field is set.
      • getHeightPixels

        long getHeightPixels()
         Height of the image.
         
        optional int64 height_pixels = 4;
        Returns:
        The heightPixels.
      • hasWidthPixels

        boolean hasWidthPixels()
         Width of the image.
         
        optional int64 width_pixels = 5;
        Returns:
        Whether the widthPixels field is set.
      • getWidthPixels

        long getWidthPixels()
         Width of the image.
         
        optional int64 width_pixels = 5;
        Returns:
        The widthPixels.
      • hasUrl

        boolean hasUrl()
         A URL that returns the image with this height and width.
         
        optional string url = 6;
        Returns:
        Whether the url field is set.
      • getUrl

        java.lang.String getUrl()
         A URL that returns the image with this height and width.
         
        optional string url = 6;
        Returns:
        The url.
      • getUrlBytes

        com.google.protobuf.ByteString getUrlBytes()
         A URL that returns the image with this height and width.
         
        optional string url = 6;
        Returns:
        The bytes for url.