public final class Instance
extends com.google.api.client.json.GenericJson
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 Google Play Games Services API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Instance() |
| Modifier and Type | Method and Description |
|---|---|
Instance |
clone() |
String |
getAcquisitionUri()
URI which shows where a user can acquire this instance.
|
InstanceAndroidDetails |
getAndroidInstance()
Platform dependent details for Android.
|
InstanceIosDetails |
getIosInstance()
Platform dependent details for iOS.
|
String |
getKind()
Uniquely identifies the type of this resource.
|
String |
getName()
Localized display name.
|
String |
getPlatformType()
The platform type.
|
Boolean |
getRealtimePlay()
Flag to show if this game instance supports realtime play.
|
Boolean |
getTurnBasedPlay()
Flag to show if this game instance supports turn based play.
|
InstanceWebDetails |
getWebInstance()
Platform dependent details for Web.
|
Instance |
set(String fieldName,
Object value) |
Instance |
setAcquisitionUri(String acquisitionUri)
URI which shows where a user can acquire this instance.
|
Instance |
setAndroidInstance(InstanceAndroidDetails androidInstance)
Platform dependent details for Android.
|
Instance |
setIosInstance(InstanceIosDetails iosInstance)
Platform dependent details for iOS.
|
Instance |
setKind(String kind)
Uniquely identifies the type of this resource.
|
Instance |
setName(String name)
Localized display name.
|
Instance |
setPlatformType(String platformType)
The platform type.
|
Instance |
setRealtimePlay(Boolean realtimePlay)
Flag to show if this game instance supports realtime play.
|
Instance |
setTurnBasedPlay(Boolean turnBasedPlay)
Flag to show if this game instance supports turn based play.
|
Instance |
setWebInstance(InstanceWebDetails webInstance)
Platform dependent details for Web.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getAcquisitionUri()
null for nonepublic Instance setAcquisitionUri(String acquisitionUri)
acquisitionUri - acquisitionUri or null for nonepublic InstanceAndroidDetails getAndroidInstance()
null for nonepublic Instance setAndroidInstance(InstanceAndroidDetails androidInstance)
androidInstance - androidInstance or null for nonepublic InstanceIosDetails getIosInstance()
null for nonepublic Instance setIosInstance(InstanceIosDetails iosInstance)
iosInstance - iosInstance or null for nonepublic String getKind()
null for nonepublic Instance setKind(String kind)
kind - kind or null for nonepublic String getName()
null for nonepublic Instance setName(String name)
name - name or null for nonepublic String getPlatformType()
null for nonepublic Instance setPlatformType(String platformType)
platformType - platformType or null for nonepublic Boolean getRealtimePlay()
null for nonepublic Instance setRealtimePlay(Boolean realtimePlay)
realtimePlay - realtimePlay or null for nonepublic Boolean getTurnBasedPlay()
null for nonepublic Instance setTurnBasedPlay(Boolean turnBasedPlay)
turnBasedPlay - turnBasedPlay or null for nonepublic InstanceWebDetails getWebInstance()
null for nonepublic Instance setWebInstance(InstanceWebDetails webInstance)
webInstance - webInstance or null for nonepublic Instance set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic Instance clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.