public final class GoogleCloudVisionV1p3beta1SafeSearchAnnotation
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 Cloud Vision 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.Flags
Constructor and Description |
---|
GoogleCloudVisionV1p3beta1SafeSearchAnnotation() |
Modifier and Type | Method and Description |
---|---|
GoogleCloudVisionV1p3beta1SafeSearchAnnotation |
clone() |
java.lang.String |
getAdult()
Represents the adult content likelihood for the image.
|
java.lang.String |
getMedical()
Likelihood that this is a medical image.
|
java.lang.String |
getRacy()
Likelihood that the request image contains racy content.
|
java.lang.String |
getSpoof()
Spoof likelihood.
|
java.lang.String |
getViolence()
Likelihood that this image contains violent content.
|
GoogleCloudVisionV1p3beta1SafeSearchAnnotation |
set(java.lang.String fieldName,
java.lang.Object value) |
GoogleCloudVisionV1p3beta1SafeSearchAnnotation |
setAdult(java.lang.String adult)
Represents the adult content likelihood for the image.
|
GoogleCloudVisionV1p3beta1SafeSearchAnnotation |
setMedical(java.lang.String medical)
Likelihood that this is a medical image.
|
GoogleCloudVisionV1p3beta1SafeSearchAnnotation |
setRacy(java.lang.String racy)
Likelihood that the request image contains racy content.
|
GoogleCloudVisionV1p3beta1SafeSearchAnnotation |
setSpoof(java.lang.String spoof)
Spoof likelihood.
|
GoogleCloudVisionV1p3beta1SafeSearchAnnotation |
setViolence(java.lang.String violence)
Likelihood that this image contains violent content.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public GoogleCloudVisionV1p3beta1SafeSearchAnnotation()
public java.lang.String getAdult()
null
for nonepublic GoogleCloudVisionV1p3beta1SafeSearchAnnotation setAdult(java.lang.String adult)
adult
- adult or null
for nonepublic java.lang.String getMedical()
null
for nonepublic GoogleCloudVisionV1p3beta1SafeSearchAnnotation setMedical(java.lang.String medical)
medical
- medical or null
for nonepublic java.lang.String getRacy()
null
for nonepublic GoogleCloudVisionV1p3beta1SafeSearchAnnotation setRacy(java.lang.String racy)
racy
- racy or null
for nonepublic java.lang.String getSpoof()
null
for nonepublic GoogleCloudVisionV1p3beta1SafeSearchAnnotation setSpoof(java.lang.String spoof)
spoof
- spoof or null
for nonepublic java.lang.String getViolence()
null
for nonepublic GoogleCloudVisionV1p3beta1SafeSearchAnnotation setViolence(java.lang.String violence)
violence
- violence or null
for nonepublic GoogleCloudVisionV1p3beta1SafeSearchAnnotation set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public GoogleCloudVisionV1p3beta1SafeSearchAnnotation clone()
clone
in class com.google.api.client.json.GenericJson