public final class Image extends 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 Cloud Tool Results API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Image() |
| Modifier and Type | Method and Description |
|---|---|
Image |
clone() |
Status |
getError()
An error explaining why the thumbnail could not be rendered.
|
ToolOutputReference |
getSourceImage()
A reference to the full-size, original image.
|
String |
getStepId()
The step to which the image is attached.
|
Thumbnail |
getThumbnail()
The thumbnail.
|
Image |
set(String fieldName,
Object value) |
Image |
setError(Status error)
An error explaining why the thumbnail could not be rendered.
|
Image |
setSourceImage(ToolOutputReference sourceImage)
A reference to the full-size, original image.
|
Image |
setStepId(String stepId)
The step to which the image is attached.
|
Image |
setThumbnail(Thumbnail thumbnail)
The thumbnail.
|
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 Status getError()
null for nonepublic Image setError(Status error)
error - error or null for nonepublic ToolOutputReference getSourceImage()
null for nonepublic Image setSourceImage(ToolOutputReference sourceImage)
sourceImage - sourceImage or null for nonepublic String getStepId()
null for nonepublic Image setStepId(String stepId)
stepId - stepId or null for nonepublic Thumbnail getThumbnail()
null for nonepublic Image setThumbnail(Thumbnail thumbnail)
thumbnail - thumbnail or null for nonepublic Image set(String fieldName, Object value)
set in class GenericJsonpublic Image clone()
clone in class GenericJsonCopyright © 2011–2020 Google. All rights reserved.