public final class PlayerEvent
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 |
|---|
PlayerEvent() |
| Modifier and Type | Method and Description |
|---|---|
PlayerEvent |
clone() |
String |
getDefinitionId()
The ID of the event definition.
|
String |
getFormattedNumEvents()
The current number of times this event has occurred, as a string.
|
String |
getKind()
Uniquely identifies the type of this resource.
|
Long |
getNumEvents()
The current number of times this event has occurred.
|
String |
getPlayerId()
The ID of the player.
|
PlayerEvent |
set(String fieldName,
Object value) |
PlayerEvent |
setDefinitionId(String definitionId)
The ID of the event definition.
|
PlayerEvent |
setFormattedNumEvents(String formattedNumEvents)
The current number of times this event has occurred, as a string.
|
PlayerEvent |
setKind(String kind)
Uniquely identifies the type of this resource.
|
PlayerEvent |
setNumEvents(Long numEvents)
The current number of times this event has occurred.
|
PlayerEvent |
setPlayerId(String playerId)
The ID of the player.
|
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 getDefinitionId()
null for nonepublic PlayerEvent setDefinitionId(String definitionId)
definitionId - definitionId or null for nonepublic String getFormattedNumEvents()
null for nonepublic PlayerEvent setFormattedNumEvents(String formattedNumEvents)
formattedNumEvents - formattedNumEvents or null for nonepublic String getKind()
null for nonepublic PlayerEvent setKind(String kind)
kind - kind or null for nonepublic Long getNumEvents()
null for nonepublic PlayerEvent setNumEvents(Long numEvents)
numEvents - numEvents or null for nonepublic String getPlayerId()
null for nonepublic PlayerEvent setPlayerId(String playerId)
playerId - playerId or null for nonepublic PlayerEvent set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic PlayerEvent clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.