public final class EventRecordRequest
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 |
|---|
EventRecordRequest() |
| Modifier and Type | Method and Description |
|---|---|
EventRecordRequest |
clone() |
Long |
getCurrentTimeMillis()
The current time when this update was sent, in milliseconds, since 1970 UTC (Unix Epoch).
|
String |
getKind()
Uniquely identifies the type of this resource.
|
Long |
getRequestId()
The request ID used to identify this attempt to record events.
|
List<EventPeriodUpdate> |
getTimePeriods()
A list of the time period updates being made in this request.
|
EventRecordRequest |
set(String fieldName,
Object value) |
EventRecordRequest |
setCurrentTimeMillis(Long currentTimeMillis)
The current time when this update was sent, in milliseconds, since 1970 UTC (Unix Epoch).
|
EventRecordRequest |
setKind(String kind)
Uniquely identifies the type of this resource.
|
EventRecordRequest |
setRequestId(Long requestId)
The request ID used to identify this attempt to record events.
|
EventRecordRequest |
setTimePeriods(List<EventPeriodUpdate> timePeriods)
A list of the time period updates being made in this request.
|
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 Long getCurrentTimeMillis()
null for nonepublic EventRecordRequest setCurrentTimeMillis(Long currentTimeMillis)
currentTimeMillis - currentTimeMillis or null for nonepublic String getKind()
null for nonepublic EventRecordRequest setKind(String kind)
kind - kind or null for nonepublic Long getRequestId()
null for nonepublic EventRecordRequest setRequestId(Long requestId)
requestId - requestId or null for nonepublic List<EventPeriodUpdate> getTimePeriods()
null for nonepublic EventRecordRequest setTimePeriods(List<EventPeriodUpdate> timePeriods)
timePeriods - timePeriods or null for nonepublic EventRecordRequest set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic EventRecordRequest clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.