public final class GoogleCloudDiscoveryengineV1SafetyRating
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 Discovery Engine 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 |
|---|
GoogleCloudDiscoveryengineV1SafetyRating() |
| Modifier and Type | Method and Description |
|---|---|
GoogleCloudDiscoveryengineV1SafetyRating |
clone() |
Boolean |
getBlocked()
Output only.
|
String |
getCategory()
Output only.
|
String |
getProbability()
Output only.
|
Float |
getProbabilityScore()
Output only.
|
String |
getSeverity()
Output only.
|
Float |
getSeverityScore()
Output only.
|
GoogleCloudDiscoveryengineV1SafetyRating |
set(String fieldName,
Object value) |
GoogleCloudDiscoveryengineV1SafetyRating |
setBlocked(Boolean blocked)
Output only.
|
GoogleCloudDiscoveryengineV1SafetyRating |
setCategory(String category)
Output only.
|
GoogleCloudDiscoveryengineV1SafetyRating |
setProbability(String probability)
Output only.
|
GoogleCloudDiscoveryengineV1SafetyRating |
setProbabilityScore(Float probabilityScore)
Output only.
|
GoogleCloudDiscoveryengineV1SafetyRating |
setSeverity(String severity)
Output only.
|
GoogleCloudDiscoveryengineV1SafetyRating |
setSeverityScore(Float severityScore)
Output 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 GoogleCloudDiscoveryengineV1SafetyRating()
public Boolean getBlocked()
null for nonepublic GoogleCloudDiscoveryengineV1SafetyRating setBlocked(Boolean blocked)
blocked - blocked or null for nonepublic String getCategory()
null for nonepublic GoogleCloudDiscoveryengineV1SafetyRating setCategory(String category)
category - category or null for nonepublic String getProbability()
null for nonepublic GoogleCloudDiscoveryengineV1SafetyRating setProbability(String probability)
probability - probability or null for nonepublic Float getProbabilityScore()
null for nonepublic GoogleCloudDiscoveryengineV1SafetyRating setProbabilityScore(Float probabilityScore)
probabilityScore - probabilityScore or null for nonepublic String getSeverity()
null for nonepublic GoogleCloudDiscoveryengineV1SafetyRating setSeverity(String severity)
severity - severity or null for nonepublic Float getSeverityScore()
null for nonepublic GoogleCloudDiscoveryengineV1SafetyRating setSeverityScore(Float severityScore)
severityScore - severityScore or null for nonepublic GoogleCloudDiscoveryengineV1SafetyRating set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic GoogleCloudDiscoveryengineV1SafetyRating clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2026 Google. All rights reserved.