Class GdataDiffUploadResponse
- java.lang.Object
-
- java.util.AbstractMap<java.lang.String,java.lang.Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.rcsbusinessmessaging.v1.model.GdataDiffUploadResponse
-
- All Implemented Interfaces:
java.lang.Cloneable,java.util.Map<java.lang.String,java.lang.Object>
public final class GdataDiffUploadResponse extends com.google.api.client.json.GenericJsonBackend response for a Diff upload request. 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
-
-
Constructor Summary
Constructors Constructor Description GdataDiffUploadResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GdataDiffUploadResponseclone()java.lang.StringgetObjectVersion()The object version of the object at the server.GdataCompositeMediagetOriginalObject()The location of the original file for a diff upload request.GdataDiffUploadResponseset(java.lang.String fieldName, java.lang.Object value)GdataDiffUploadResponsesetObjectVersion(java.lang.String objectVersion)The object version of the object at the server.GdataDiffUploadResponsesetOriginalObject(GdataCompositeMedia originalObject)The location of the original file for a diff upload request.-
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
-
-
-
-
Method Detail
-
getObjectVersion
public java.lang.String getObjectVersion()
The object version of the object at the server. Must be included in the end notification response. The version in the end notification response must correspond to the new version of the object that is now stored at the server, after the upload.- Returns:
- value or
nullfor none
-
setObjectVersion
public GdataDiffUploadResponse setObjectVersion(java.lang.String objectVersion)
The object version of the object at the server. Must be included in the end notification response. The version in the end notification response must correspond to the new version of the object that is now stored at the server, after the upload.- Parameters:
objectVersion- objectVersion ornullfor none
-
getOriginalObject
public GdataCompositeMedia getOriginalObject()
The location of the original file for a diff upload request. Must be filled in if responding to an upload start notification.- Returns:
- value or
nullfor none
-
setOriginalObject
public GdataDiffUploadResponse setOriginalObject(GdataCompositeMedia originalObject)
The location of the original file for a diff upload request. Must be filled in if responding to an upload start notification.- Parameters:
originalObject- originalObject ornullfor none
-
set
public GdataDiffUploadResponse set(java.lang.String fieldName, java.lang.Object value)
- Overrides:
setin classcom.google.api.client.json.GenericJson
-
clone
public GdataDiffUploadResponse clone()
- Overrides:
clonein classcom.google.api.client.json.GenericJson
-
-