public final class UpdateContactPhotoRequest
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 People 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 |
|---|
UpdateContactPhotoRequest() |
| Modifier and Type | Method and Description |
|---|---|
UpdateContactPhotoRequest |
clone() |
byte[] |
decodePhotoBytes()
Required.
|
UpdateContactPhotoRequest |
encodePhotoBytes(byte[] photoBytes)
Required.
|
String |
getPersonFields()
Optional.
|
String |
getPhotoBytes()
Required.
|
List<String> |
getSources()
Optional.
|
UpdateContactPhotoRequest |
set(String fieldName,
Object value) |
UpdateContactPhotoRequest |
setPersonFields(String personFields)
Optional.
|
UpdateContactPhotoRequest |
setPhotoBytes(String photoBytes)
Required.
|
UpdateContactPhotoRequest |
setSources(List<String> sources)
Optional.
|
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 getPersonFields()
null for nonepublic UpdateContactPhotoRequest setPersonFields(String personFields)
personFields - personFields or null for nonepublic String getPhotoBytes()
null for nonedecodePhotoBytes()public byte[] decodePhotoBytes()
null for nonegetPhotoBytes()public UpdateContactPhotoRequest setPhotoBytes(String photoBytes)
photoBytes - photoBytes or null for none#encodePhotoBytes()public UpdateContactPhotoRequest encodePhotoBytes(byte[] photoBytes)
The value is encoded Base64 or {@code null} for none.
public List<String> getSources()
null for nonepublic UpdateContactPhotoRequest setSources(List<String> sources)
sources - sources or null for nonepublic UpdateContactPhotoRequest set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic UpdateContactPhotoRequest clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.