Class GdataDownloadParameters

  • All Implemented Interfaces:
    java.lang.Cloneable, java.util.Map<java.lang.String,​java.lang.Object>

    public final class GdataDownloadParameters
    extends com.google.api.client.json.GenericJson
    Parameters specific to media downloads.

    This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the RCS Business Messaging API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json

    Author:
    Google, Inc.
    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.google.api.client.util.GenericData

        com.google.api.client.util.GenericData.Flags
      • Nested classes/interfaces inherited from class java.util.AbstractMap

        java.util.AbstractMap.SimpleEntry<K extends java.lang.Object,​V extends java.lang.Object>, java.util.AbstractMap.SimpleImmutableEntry<K extends java.lang.Object,​V extends java.lang.Object>
      • Nested classes/interfaces inherited from interface java.util.Map

        java.util.Map.Entry<K extends java.lang.Object,​V extends java.lang.Object>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      GdataDownloadParameters clone()  
      java.lang.Boolean getAllowGzipCompression()
      A boolean to be returned in the response to Scotty.
      java.lang.Boolean getIgnoreRange()
      Determining whether or not Apiary should skip the inclusion of any Content-Range header on its response to Scotty.
      GdataDownloadParameters set​(java.lang.String fieldName, java.lang.Object value)  
      GdataDownloadParameters setAllowGzipCompression​(java.lang.Boolean allowGzipCompression)
      A boolean to be returned in the response to Scotty.
      GdataDownloadParameters setIgnoreRange​(java.lang.Boolean ignoreRange)
      Determining whether or not Apiary should skip the inclusion of any Content-Range header on its response to Scotty.
      • Methods inherited from class com.google.api.client.json.GenericJson

        getFactory, setFactory, toPrettyString, toString
      • Methods inherited from class com.google.api.client.util.GenericData

        entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
      • Methods inherited from class java.util.AbstractMap

        clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
      • Methods inherited from class java.lang.Object

        finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.util.Map

        compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
    • Constructor Detail

      • GdataDownloadParameters

        public GdataDownloadParameters()
    • Method Detail

      • getAllowGzipCompression

        public java.lang.Boolean getAllowGzipCompression()
        A boolean to be returned in the response to Scotty. Allows/disallows gzip encoding of the payload content when the server thinks it's advantageous (hence, does not guarantee compression) which allows Scotty to GZip the response to the client.
        Returns:
        value or null for none
      • setAllowGzipCompression

        public GdataDownloadParameters setAllowGzipCompression​(java.lang.Boolean allowGzipCompression)
        A boolean to be returned in the response to Scotty. Allows/disallows gzip encoding of the payload content when the server thinks it's advantageous (hence, does not guarantee compression) which allows Scotty to GZip the response to the client.
        Parameters:
        allowGzipCompression - allowGzipCompression or null for none
      • getIgnoreRange

        public java.lang.Boolean getIgnoreRange()
        Determining whether or not Apiary should skip the inclusion of any Content-Range header on its response to Scotty.
        Returns:
        value or null for none
      • setIgnoreRange

        public GdataDownloadParameters setIgnoreRange​(java.lang.Boolean ignoreRange)
        Determining whether or not Apiary should skip the inclusion of any Content-Range header on its response to Scotty.
        Parameters:
        ignoreRange - ignoreRange or null for none
      • set

        public GdataDownloadParameters set​(java.lang.String fieldName,
                                           java.lang.Object value)
        Overrides:
        set in class com.google.api.client.json.GenericJson
      • clone

        public GdataDownloadParameters clone()
        Overrides:
        clone in class com.google.api.client.json.GenericJson