Class GdataDiffVersionResponse

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

    public final class GdataDiffVersionResponse
    extends com.google.api.client.json.GenericJson
    Backend response for a Diff get version response. For details on the Scotty Diff protocol, visit http://go/scotty-diff-protocol.

    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
      GdataDiffVersionResponse clone()  
      java.lang.Long getObjectSizeBytes()
      The total size of the server object.
      java.lang.String getObjectVersion()
      The version of the object stored at the server.
      GdataDiffVersionResponse set​(java.lang.String fieldName, java.lang.Object value)  
      GdataDiffVersionResponse setObjectSizeBytes​(java.lang.Long objectSizeBytes)
      The total size of the server object.
      GdataDiffVersionResponse setObjectVersion​(java.lang.String objectVersion)
      The version of the object stored at the server.
      • 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

      • GdataDiffVersionResponse

        public GdataDiffVersionResponse()
    • Method Detail

      • getObjectSizeBytes

        public java.lang.Long getObjectSizeBytes()
        The total size of the server object.
        Returns:
        value or null for none
      • setObjectSizeBytes

        public GdataDiffVersionResponse setObjectSizeBytes​(java.lang.Long objectSizeBytes)
        The total size of the server object.
        Parameters:
        objectSizeBytes - objectSizeBytes or null for none
      • getObjectVersion

        public java.lang.String getObjectVersion()
        The version of the object stored at the server.
        Returns:
        value or null for none
      • setObjectVersion

        public GdataDiffVersionResponse setObjectVersion​(java.lang.String objectVersion)
        The version of the object stored at the server.
        Parameters:
        objectVersion - objectVersion or null for none
      • set

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