public final class GoogleCloudVisionV1p2beta1AnnotateImageResponse
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 |
---|
GoogleCloudVisionV1p2beta1AnnotateImageResponse() |
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public GoogleCloudVisionV1p2beta1AnnotateImageResponse()
public GoogleCloudVisionV1p2beta1ImageAnnotationContext getContext()
null
for nonepublic GoogleCloudVisionV1p2beta1AnnotateImageResponse setContext(GoogleCloudVisionV1p2beta1ImageAnnotationContext context)
context
- context or null
for nonepublic GoogleCloudVisionV1p2beta1CropHintsAnnotation getCropHintsAnnotation()
null
for nonepublic GoogleCloudVisionV1p2beta1AnnotateImageResponse setCropHintsAnnotation(GoogleCloudVisionV1p2beta1CropHintsAnnotation cropHintsAnnotation)
cropHintsAnnotation
- cropHintsAnnotation or null
for nonepublic Status getError()
null
for nonepublic GoogleCloudVisionV1p2beta1AnnotateImageResponse setError(Status error)
error
- error or null
for nonepublic java.util.List<GoogleCloudVisionV1p2beta1FaceAnnotation> getFaceAnnotations()
null
for nonepublic GoogleCloudVisionV1p2beta1AnnotateImageResponse setFaceAnnotations(java.util.List<GoogleCloudVisionV1p2beta1FaceAnnotation> faceAnnotations)
faceAnnotations
- faceAnnotations or null
for nonepublic GoogleCloudVisionV1p2beta1TextAnnotation getFullTextAnnotation()
null
for nonepublic GoogleCloudVisionV1p2beta1AnnotateImageResponse setFullTextAnnotation(GoogleCloudVisionV1p2beta1TextAnnotation fullTextAnnotation)
fullTextAnnotation
- fullTextAnnotation or null
for nonepublic GoogleCloudVisionV1p2beta1ImageProperties getImagePropertiesAnnotation()
null
for nonepublic GoogleCloudVisionV1p2beta1AnnotateImageResponse setImagePropertiesAnnotation(GoogleCloudVisionV1p2beta1ImageProperties imagePropertiesAnnotation)
imagePropertiesAnnotation
- imagePropertiesAnnotation or null
for nonepublic java.util.List<GoogleCloudVisionV1p2beta1EntityAnnotation> getLabelAnnotations()
null
for nonepublic GoogleCloudVisionV1p2beta1AnnotateImageResponse setLabelAnnotations(java.util.List<GoogleCloudVisionV1p2beta1EntityAnnotation> labelAnnotations)
labelAnnotations
- labelAnnotations or null
for nonepublic java.util.List<GoogleCloudVisionV1p2beta1EntityAnnotation> getLandmarkAnnotations()
null
for nonepublic GoogleCloudVisionV1p2beta1AnnotateImageResponse setLandmarkAnnotations(java.util.List<GoogleCloudVisionV1p2beta1EntityAnnotation> landmarkAnnotations)
landmarkAnnotations
- landmarkAnnotations or null
for nonepublic java.util.List<GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation> getLocalizedObjectAnnotations()
null
for nonepublic GoogleCloudVisionV1p2beta1AnnotateImageResponse setLocalizedObjectAnnotations(java.util.List<GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation> localizedObjectAnnotations)
localizedObjectAnnotations
- localizedObjectAnnotations or null
for nonepublic java.util.List<GoogleCloudVisionV1p2beta1EntityAnnotation> getLogoAnnotations()
null
for nonepublic GoogleCloudVisionV1p2beta1AnnotateImageResponse setLogoAnnotations(java.util.List<GoogleCloudVisionV1p2beta1EntityAnnotation> logoAnnotations)
logoAnnotations
- logoAnnotations or null
for nonepublic GoogleCloudVisionV1p2beta1ProductSearchResults getProductSearchResults()
null
for nonepublic GoogleCloudVisionV1p2beta1AnnotateImageResponse setProductSearchResults(GoogleCloudVisionV1p2beta1ProductSearchResults productSearchResults)
productSearchResults
- productSearchResults or null
for nonepublic GoogleCloudVisionV1p2beta1SafeSearchAnnotation getSafeSearchAnnotation()
null
for nonepublic GoogleCloudVisionV1p2beta1AnnotateImageResponse setSafeSearchAnnotation(GoogleCloudVisionV1p2beta1SafeSearchAnnotation safeSearchAnnotation)
safeSearchAnnotation
- safeSearchAnnotation or null
for nonepublic java.util.List<GoogleCloudVisionV1p2beta1EntityAnnotation> getTextAnnotations()
null
for nonepublic GoogleCloudVisionV1p2beta1AnnotateImageResponse setTextAnnotations(java.util.List<GoogleCloudVisionV1p2beta1EntityAnnotation> textAnnotations)
textAnnotations
- textAnnotations or null
for nonepublic GoogleCloudVisionV1p2beta1WebDetection getWebDetection()
null
for nonepublic GoogleCloudVisionV1p2beta1AnnotateImageResponse setWebDetection(GoogleCloudVisionV1p2beta1WebDetection webDetection)
webDetection
- webDetection or null
for nonepublic GoogleCloudVisionV1p2beta1AnnotateImageResponse set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public GoogleCloudVisionV1p2beta1AnnotateImageResponse clone()
clone
in class com.google.api.client.json.GenericJson