
target.apidocs.com.google.api.services.toolresults.model.Image.html Maven / Gradle / Ivy
Image (Cloud Tool Results API v1beta3-rev20210809-2.0.0)
com.google.api.services.toolresults.model
Class Image
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.toolresults.model.Image
-
public final class Image
extends GenericJson
An image, with a link to the main image and a thumbnail.
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
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
Image()
-
Method Summary
All Methods Instance Methods Concrete Methods
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.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getError
public Status getError()
An error explaining why the thumbnail could not be rendered.
- Returns:
- value or
null
for none
-
setError
public Image setError(Status error)
An error explaining why the thumbnail could not be rendered.
- Parameters:
error
- error or null
for none
-
getSourceImage
public ToolOutputReference getSourceImage()
A reference to the full-size, original image. This is the same as the tool_outputs entry for
the image under its Step. Always set.
- Returns:
- value or
null
for none
-
setSourceImage
public Image setSourceImage(ToolOutputReference sourceImage)
A reference to the full-size, original image. This is the same as the tool_outputs entry for
the image under its Step. Always set.
- Parameters:
sourceImage
- sourceImage or null
for none
-
getStepId
public String getStepId()
The step to which the image is attached. Always set.
- Returns:
- value or
null
for none
-
setStepId
public Image setStepId(String stepId)
The step to which the image is attached. Always set.
- Parameters:
stepId
- stepId or null
for none
-
getThumbnail
public Thumbnail getThumbnail()
The thumbnail.
- Returns:
- value or
null
for none
-
setThumbnail
public Image setThumbnail(Thumbnail thumbnail)
The thumbnail.
- Parameters:
thumbnail
- thumbnail or null
for none
-
set
public Image set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public Image clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy