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