public final class User
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 Drive API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
| Modifier and Type | Class and Description |
|---|---|
static class |
User.Picture
Output only.
|
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
User() |
| Modifier and Type | Method and Description |
|---|---|
User |
clone() |
String |
getDisplayName()
Output only.
|
String |
getEmailAddress()
Output only.
|
Boolean |
getIsAuthenticatedUser()
Output only.
|
String |
getKind()
Output only.
|
String |
getPermissionId()
Output only.
|
User.Picture |
getPicture()
Output only.
|
User |
set(String fieldName,
Object value) |
User |
setDisplayName(String displayName)
Output only.
|
User |
setEmailAddress(String emailAddress)
Output only.
|
User |
setIsAuthenticatedUser(Boolean isAuthenticatedUser)
Output only.
|
User |
setKind(String kind)
Output only.
|
User |
setPermissionId(String permissionId)
Output only.
|
User |
setPicture(User.Picture picture)
Output only.
|
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 getDisplayName()
null for nonepublic User setDisplayName(String displayName)
displayName - displayName or null for nonepublic String getEmailAddress()
null for nonepublic User setEmailAddress(String emailAddress)
emailAddress - emailAddress or null for nonepublic Boolean getIsAuthenticatedUser()
null for nonepublic User setIsAuthenticatedUser(Boolean isAuthenticatedUser)
isAuthenticatedUser - isAuthenticatedUser or null for nonepublic String getKind()
null for nonepublic User setKind(String kind)
kind - kind or null for nonepublic String getPermissionId()
null for nonepublic User setPermissionId(String permissionId)
permissionId - permissionId or null for nonepublic User.Picture getPicture()
null for nonepublic User setPicture(User.Picture picture)
picture - picture or null for nonepublic User set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic User clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.