Interface TweetMediaSizeOrBuilder

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

    public interface TweetMediaSizeOrBuilder
    extends com.google.protobuf.MessageLiteOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int getH()
      int32 h = 2 [json_name = "h"];
      java.lang.String getResize()
      Resizing method used to obtain this size.
      com.google.protobuf.ByteString getResizeBytes()
      Resizing method used to obtain this size.
      int getW()
      int32 w = 1 [json_name = "w"];
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        getDefaultInstanceForType, isInitialized
    • Method Detail

      • getW

        int getW()
        int32 w = 1 [json_name = "w"];
        Returns:
        The w.
      • getH

        int getH()
        int32 h = 2 [json_name = "h"];
        Returns:
        The h.
      • getResize

        java.lang.String getResize()
         Resizing method used to obtain this size.
         A value of fit means that the media was resized to fit one dimension, keeping its native aspect ratio.
         A value of crop means that the media was cropped in order to fit a specific resolution.
         
        string resize = 3 [json_name = "resize"];
        Returns:
        The resize.
      • getResizeBytes

        com.google.protobuf.ByteString getResizeBytes()
         Resizing method used to obtain this size.
         A value of fit means that the media was resized to fit one dimension, keeping its native aspect ratio.
         A value of crop means that the media was cropped in order to fit a specific resolution.
         
        string resize = 3 [json_name = "resize"];
        Returns:
        The bytes for resize.