public final class SuggestionProto 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 |
|---|
SuggestionProto() |
| Modifier and Type | Method and Description |
|---|---|
SuggestionProto |
clone() |
String |
getHelpUrl()
Reference to a help center article concerning this type of suggestion.
|
SafeHtmlProto |
getLongMessage()
Message, in the user's language, explaining the suggestion, which may contain markup.
|
String |
getPriority()
Relative importance of a suggestion.
|
String |
getPseudoResourceId()
A somewhat human readable identifier of the source view, if it does not have a resource_name.
|
RegionProto |
getRegion()
Region within the screenshot that is relevant to this suggestion.
|
String |
getResourceName()
Reference to a view element, identified by its resource name, if it has one.
|
String |
getScreenId()
ID of the screen for the suggestion.
|
Double |
getSecondaryPriority()
Relative importance of a suggestion as compared with other suggestions that have the same
priority and category.
|
SafeHtmlProto |
getShortMessage()
Concise message, in the user's language, representing the suggestion, which may contain markup.
|
String |
getTitle()
General title for the suggestion, in the user's language, without markup.
|
SuggestionProto |
set(String fieldName,
Object value) |
SuggestionProto |
setHelpUrl(String helpUrl)
Reference to a help center article concerning this type of suggestion.
|
SuggestionProto |
setLongMessage(SafeHtmlProto longMessage)
Message, in the user's language, explaining the suggestion, which may contain markup.
|
SuggestionProto |
setPriority(String priority)
Relative importance of a suggestion.
|
SuggestionProto |
setPseudoResourceId(String pseudoResourceId)
A somewhat human readable identifier of the source view, if it does not have a resource_name.
|
SuggestionProto |
setRegion(RegionProto region)
Region within the screenshot that is relevant to this suggestion.
|
SuggestionProto |
setResourceName(String resourceName)
Reference to a view element, identified by its resource name, if it has one.
|
SuggestionProto |
setScreenId(String screenId)
ID of the screen for the suggestion.
|
SuggestionProto |
setSecondaryPriority(Double secondaryPriority)
Relative importance of a suggestion as compared with other suggestions that have the same
priority and category.
|
SuggestionProto |
setShortMessage(SafeHtmlProto shortMessage)
Concise message, in the user's language, representing the suggestion, which may contain markup.
|
SuggestionProto |
setTitle(String title)
General title for the suggestion, in the user's language, without markup.
|
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 getHelpUrl()
null for nonepublic SuggestionProto setHelpUrl(String helpUrl)
helpUrl - helpUrl or null for nonepublic SafeHtmlProto getLongMessage()
null for nonepublic SuggestionProto setLongMessage(SafeHtmlProto longMessage)
longMessage - longMessage or null for nonepublic String getPriority()
null for nonepublic SuggestionProto setPriority(String priority)
priority - priority or null for nonepublic String getPseudoResourceId()
null for nonepublic SuggestionProto setPseudoResourceId(String pseudoResourceId)
pseudoResourceId - pseudoResourceId or null for nonepublic RegionProto getRegion()
null for nonepublic SuggestionProto setRegion(RegionProto region)
region - region or null for nonepublic String getResourceName()
null for nonepublic SuggestionProto setResourceName(String resourceName)
resourceName - resourceName or null for nonepublic String getScreenId()
null for nonepublic SuggestionProto setScreenId(String screenId)
screenId - screenId or null for nonepublic Double getSecondaryPriority()
null for nonepublic SuggestionProto setSecondaryPriority(Double secondaryPriority)
secondaryPriority - secondaryPriority or null for nonepublic SafeHtmlProto getShortMessage()
null for nonepublic SuggestionProto setShortMessage(SafeHtmlProto shortMessage)
shortMessage - shortMessage or null for nonepublic String getTitle()
null for nonepublic SuggestionProto setTitle(String title)
title - title or null for nonepublic SuggestionProto set(String fieldName, Object value)
set in class GenericJsonpublic SuggestionProto clone()
clone in class GenericJsonCopyright © 2011–2020 Google. All rights reserved.