Class GdataDiffUploadRequest
- 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.GdataDiffUploadRequest
-
- All Implemented Interfaces:
java.lang.Cloneable,java.util.Map<java.lang.String,java.lang.Object>
public final class GdataDiffUploadRequest extends com.google.api.client.json.GenericJsonA 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 GdataDiffUploadRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GdataDiffUploadRequestclone()GdataCompositeMediagetChecksumsInfo()The location of the checksums for the new object.GdataCompositeMediagetObjectInfo()The location of the new object.java.lang.StringgetObjectVersion()The object version of the object that is the base version the incoming diff script will be applied to.GdataDiffUploadRequestset(java.lang.String fieldName, java.lang.Object value)GdataDiffUploadRequestsetChecksumsInfo(GdataCompositeMedia checksumsInfo)The location of the checksums for the new object.GdataDiffUploadRequestsetObjectInfo(GdataCompositeMedia objectInfo)The location of the new object.GdataDiffUploadRequestsetObjectVersion(java.lang.String objectVersion)The object version of the object that is the base version the incoming diff script will be applied to.-
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
-
getChecksumsInfo
public GdataCompositeMedia getChecksumsInfo()
The location of the checksums for the new object. Agents must clone the object located here, as the upload server will delete the contents once a response is received. For details on the format of the checksums, see http://go/scotty-diff-protocol.- Returns:
- value or
nullfor none
-
setChecksumsInfo
public GdataDiffUploadRequest setChecksumsInfo(GdataCompositeMedia checksumsInfo)
The location of the checksums for the new object. Agents must clone the object located here, as the upload server will delete the contents once a response is received. For details on the format of the checksums, see http://go/scotty-diff-protocol.- Parameters:
checksumsInfo- checksumsInfo ornullfor none
-
getObjectInfo
public GdataCompositeMedia getObjectInfo()
The location of the new object. Agents must clone the object located here, as the upload server will delete the contents once a response is received.- Returns:
- value or
nullfor none
-
setObjectInfo
public GdataDiffUploadRequest setObjectInfo(GdataCompositeMedia objectInfo)
The location of the new object. Agents must clone the object located here, as the upload server will delete the contents once a response is received.- Parameters:
objectInfo- objectInfo ornullfor none
-
getObjectVersion
public java.lang.String getObjectVersion()
The object version of the object that is the base version the incoming diff script will be applied to. This field will always be filled in.- Returns:
- value or
nullfor none
-
setObjectVersion
public GdataDiffUploadRequest setObjectVersion(java.lang.String objectVersion)
The object version of the object that is the base version the incoming diff script will be applied to. This field will always be filled in.- Parameters:
objectVersion- objectVersion ornullfor none
-
set
public GdataDiffUploadRequest set(java.lang.String fieldName, java.lang.Object value)
- Overrides:
setin classcom.google.api.client.json.GenericJson
-
clone
public GdataDiffUploadRequest clone()
- Overrides:
clonein classcom.google.api.client.json.GenericJson
-
-