public final class Snapshot
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 |
|---|
Snapshot() |
| Modifier and Type | Method and Description |
|---|---|
Snapshot |
clone() |
SnapshotImage |
getCoverImage()
The cover image of this snapshot.
|
String |
getDescription()
The description of this snapshot.
|
String |
getDriveId()
The ID of the file underlying this snapshot in the Drive API.
|
Long |
getDurationMillis()
The duration associated with this snapshot, in millis.
|
String |
getId()
The ID of the snapshot.
|
String |
getKind()
Uniquely identifies the type of this resource.
|
Long |
getLastModifiedMillis()
The timestamp (in millis since Unix epoch) of the last modification to this snapshot.
|
Long |
getProgressValue()
The progress value (64-bit integer set by developer) associated with this snapshot.
|
String |
getTitle()
The title of this snapshot.
|
String |
getType()
The type of this snapshot.
|
String |
getUniqueName()
The unique name provided when the snapshot was created.
|
Snapshot |
set(String fieldName,
Object value) |
Snapshot |
setCoverImage(SnapshotImage coverImage)
The cover image of this snapshot.
|
Snapshot |
setDescription(String description)
The description of this snapshot.
|
Snapshot |
setDriveId(String driveId)
The ID of the file underlying this snapshot in the Drive API.
|
Snapshot |
setDurationMillis(Long durationMillis)
The duration associated with this snapshot, in millis.
|
Snapshot |
setId(String id)
The ID of the snapshot.
|
Snapshot |
setKind(String kind)
Uniquely identifies the type of this resource.
|
Snapshot |
setLastModifiedMillis(Long lastModifiedMillis)
The timestamp (in millis since Unix epoch) of the last modification to this snapshot.
|
Snapshot |
setProgressValue(Long progressValue)
The progress value (64-bit integer set by developer) associated with this snapshot.
|
Snapshot |
setTitle(String title)
The title of this snapshot.
|
Snapshot |
setType(String type)
The type of this snapshot.
|
Snapshot |
setUniqueName(String uniqueName)
The unique name provided when the snapshot was created.
|
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 SnapshotImage getCoverImage()
null for nonepublic Snapshot setCoverImage(SnapshotImage coverImage)
coverImage - coverImage or null for nonepublic String getDescription()
null for nonepublic Snapshot setDescription(String description)
description - description or null for nonepublic String getDriveId()
null for nonepublic Snapshot setDriveId(String driveId)
driveId - driveId or null for nonepublic Long getDurationMillis()
null for nonepublic Snapshot setDurationMillis(Long durationMillis)
durationMillis - durationMillis or null for nonepublic String getId()
null for nonepublic String getKind()
null for nonepublic Snapshot setKind(String kind)
kind - kind or null for nonepublic Long getLastModifiedMillis()
null for nonepublic Snapshot setLastModifiedMillis(Long lastModifiedMillis)
lastModifiedMillis - lastModifiedMillis or null for nonepublic Long getProgressValue()
null for nonepublic Snapshot setProgressValue(Long progressValue)
progressValue - progressValue or null for nonepublic String getTitle()
null for nonepublic Snapshot setTitle(String title)
title - title or null for nonepublic String getType()
null for nonepublic Snapshot setType(String type)
type - type or null for nonepublic String getUniqueName()
null for nonepublic Snapshot setUniqueName(String uniqueName)
uniqueName - uniqueName or null for nonepublic Snapshot set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic Snapshot clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.