public final class Image
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 Forms 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 |
|---|
Image() |
| Modifier and Type | Method and Description |
|---|---|
Image |
clone() |
String |
getAltText()
A description of the image that is shown on hover and read by screenreaders.
|
String |
getContentUri()
Output only.
|
MediaProperties |
getProperties()
Properties of an image.
|
String |
getSourceUri()
Input only.
|
Image |
set(String fieldName,
Object value) |
Image |
setAltText(String altText)
A description of the image that is shown on hover and read by screenreaders.
|
Image |
setContentUri(String contentUri)
Output only.
|
Image |
setProperties(MediaProperties properties)
Properties of an image.
|
Image |
setSourceUri(String sourceUri)
Input 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 getAltText()
null for nonepublic Image setAltText(String altText)
altText - altText or null for nonepublic String getContentUri()
null for nonepublic Image setContentUri(String contentUri)
contentUri - contentUri or null for nonepublic MediaProperties getProperties()
null for nonepublic Image setProperties(MediaProperties properties)
properties - properties or null for nonepublic String getSourceUri()
null for nonepublic Image setSourceUri(String sourceUri)
sourceUri - sourceUri or null for nonepublic Image set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic Image clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.