
target.apidocs.com.google.api.services.toolresults.model.ScreenshotCluster.html Maven / Gradle / Ivy
ScreenshotCluster (Cloud Tool Results API v1beta3-rev20210809-2.0.0)
com.google.api.services.toolresults.model
Class ScreenshotCluster
- 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.ScreenshotCluster
-
public final class ScreenshotCluster
extends GenericJson
Model definition for ScreenshotCluster.
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
ScreenshotCluster()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
ScreenshotCluster
clone()
String
getActivity()
A string that describes the activity of every screen in the cluster.
String
getClusterId()
A unique identifier for the cluster.
Screen
getKeyScreen()
A singular screen that represents the cluster as a whole.
List<Screen>
getScreens()
Full list of screens.
ScreenshotCluster
set(String fieldName,
Object value)
ScreenshotCluster
setActivity(String activity)
A string that describes the activity of every screen in the cluster.
ScreenshotCluster
setClusterId(String clusterId)
A unique identifier for the cluster.
ScreenshotCluster
setKeyScreen(Screen keyScreen)
A singular screen that represents the cluster as a whole.
ScreenshotCluster
setScreens(List<Screen> screens)
Full list of screens.
-
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
-
getActivity
public String getActivity()
A string that describes the activity of every screen in the cluster.
- Returns:
- value or
null
for none
-
setActivity
public ScreenshotCluster setActivity(String activity)
A string that describes the activity of every screen in the cluster.
- Parameters:
activity
- activity or null
for none
-
getClusterId
public String getClusterId()
A unique identifier for the cluster. @OutputOnly
- Returns:
- value or
null
for none
-
setClusterId
public ScreenshotCluster setClusterId(String clusterId)
A unique identifier for the cluster. @OutputOnly
- Parameters:
clusterId
- clusterId or null
for none
-
getKeyScreen
public Screen getKeyScreen()
A singular screen that represents the cluster as a whole. This screen will act as the "cover"
of the entire cluster. When users look at the clusters, only the key screen from each cluster
will be shown. Which screen is the key screen is determined by the ClusteringAlgorithm
- Returns:
- value or
null
for none
-
setKeyScreen
public ScreenshotCluster setKeyScreen(Screen keyScreen)
A singular screen that represents the cluster as a whole. This screen will act as the "cover"
of the entire cluster. When users look at the clusters, only the key screen from each cluster
will be shown. Which screen is the key screen is determined by the ClusteringAlgorithm
- Parameters:
keyScreen
- keyScreen or null
for none
-
setScreens
public ScreenshotCluster setScreens(List<Screen> screens)
Full list of screens.
- Parameters:
screens
- screens or null
for none
-
set
public ScreenshotCluster set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public ScreenshotCluster clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy