Class GdataObjectId
- 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.GdataObjectId
-
- All Implemented Interfaces:
java.lang.Cloneable,java.util.Map<java.lang.String,java.lang.Object>
public final class GdataObjectId extends com.google.api.client.json.GenericJsonThis is a copy of the tech.blob.ObjectId proto, which could not be used directly here due to transitive closure issues with JavaScript support; see http://b/8801763.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 GdataObjectId()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GdataObjectIdclone()java.lang.StringgetBucketName()The name of the bucket to which this object belongs.java.lang.LonggetGeneration()Generation of the object.java.lang.StringgetObjectName()The name of the object.GdataObjectIdset(java.lang.String fieldName, java.lang.Object value)GdataObjectIdsetBucketName(java.lang.String bucketName)The name of the bucket to which this object belongs.GdataObjectIdsetGeneration(java.lang.Long generation)Generation of the object.GdataObjectIdsetObjectName(java.lang.String objectName)The name of the object.-
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
-
getBucketName
public java.lang.String getBucketName()
The name of the bucket to which this object belongs.- Returns:
- value or
nullfor none
-
setBucketName
public GdataObjectId setBucketName(java.lang.String bucketName)
The name of the bucket to which this object belongs.- Parameters:
bucketName- bucketName ornullfor none
-
getGeneration
public java.lang.Long getGeneration()
Generation of the object. Generations are monotonically increasing across writes, allowing them to be be compared to determine which generation is newer. If this is omitted in a request, then you are requesting the live object. See http://go/bigstore-versions- Returns:
- value or
nullfor none
-
setGeneration
public GdataObjectId setGeneration(java.lang.Long generation)
Generation of the object. Generations are monotonically increasing across writes, allowing them to be be compared to determine which generation is newer. If this is omitted in a request, then you are requesting the live object. See http://go/bigstore-versions- Parameters:
generation- generation ornullfor none
-
getObjectName
public java.lang.String getObjectName()
The name of the object.- Returns:
- value or
nullfor none
-
setObjectName
public GdataObjectId setObjectName(java.lang.String objectName)
The name of the object.- Parameters:
objectName- objectName ornullfor none
-
set
public GdataObjectId set(java.lang.String fieldName, java.lang.Object value)
- Overrides:
setin classcom.google.api.client.json.GenericJson
-
clone
public GdataObjectId clone()
- Overrides:
clonein classcom.google.api.client.json.GenericJson
-
-