public final class GoogleCloudVisionV1p5beta1AnnotateImageResponse
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
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
GoogleCloudVisionV1p5beta1AnnotateImageResponse() |
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public GoogleCloudVisionV1p5beta1AnnotateImageResponse()
public GoogleCloudVisionV1p5beta1ImageAnnotationContext getContext()
null
for nonepublic GoogleCloudVisionV1p5beta1AnnotateImageResponse setContext(GoogleCloudVisionV1p5beta1ImageAnnotationContext context)
context
- context or null
for nonepublic GoogleCloudVisionV1p5beta1CropHintsAnnotation getCropHintsAnnotation()
null
for nonepublic GoogleCloudVisionV1p5beta1AnnotateImageResponse setCropHintsAnnotation(GoogleCloudVisionV1p5beta1CropHintsAnnotation cropHintsAnnotation)
cropHintsAnnotation
- cropHintsAnnotation or null
for nonepublic Status getError()
null
for nonepublic GoogleCloudVisionV1p5beta1AnnotateImageResponse setError(Status error)
error
- error or null
for nonepublic List<GoogleCloudVisionV1p5beta1FaceAnnotation> getFaceAnnotations()
null
for nonepublic GoogleCloudVisionV1p5beta1AnnotateImageResponse setFaceAnnotations(List<GoogleCloudVisionV1p5beta1FaceAnnotation> faceAnnotations)
faceAnnotations
- faceAnnotations or null
for nonepublic GoogleCloudVisionV1p5beta1TextAnnotation getFullTextAnnotation()
null
for nonepublic GoogleCloudVisionV1p5beta1AnnotateImageResponse setFullTextAnnotation(GoogleCloudVisionV1p5beta1TextAnnotation fullTextAnnotation)
fullTextAnnotation
- fullTextAnnotation or null
for nonepublic GoogleCloudVisionV1p5beta1ImageProperties getImagePropertiesAnnotation()
null
for nonepublic GoogleCloudVisionV1p5beta1AnnotateImageResponse setImagePropertiesAnnotation(GoogleCloudVisionV1p5beta1ImageProperties imagePropertiesAnnotation)
imagePropertiesAnnotation
- imagePropertiesAnnotation or null
for nonepublic List<GoogleCloudVisionV1p5beta1EntityAnnotation> getLabelAnnotations()
null
for nonepublic GoogleCloudVisionV1p5beta1AnnotateImageResponse setLabelAnnotations(List<GoogleCloudVisionV1p5beta1EntityAnnotation> labelAnnotations)
labelAnnotations
- labelAnnotations or null
for nonepublic List<GoogleCloudVisionV1p5beta1EntityAnnotation> getLandmarkAnnotations()
null
for nonepublic GoogleCloudVisionV1p5beta1AnnotateImageResponse setLandmarkAnnotations(List<GoogleCloudVisionV1p5beta1EntityAnnotation> landmarkAnnotations)
landmarkAnnotations
- landmarkAnnotations or null
for nonepublic List<GoogleCloudVisionV1p5beta1LocalizedObjectAnnotation> getLocalizedObjectAnnotations()
null
for nonepublic GoogleCloudVisionV1p5beta1AnnotateImageResponse setLocalizedObjectAnnotations(List<GoogleCloudVisionV1p5beta1LocalizedObjectAnnotation> localizedObjectAnnotations)
localizedObjectAnnotations
- localizedObjectAnnotations or null
for nonepublic List<GoogleCloudVisionV1p5beta1EntityAnnotation> getLogoAnnotations()
null
for nonepublic GoogleCloudVisionV1p5beta1AnnotateImageResponse setLogoAnnotations(List<GoogleCloudVisionV1p5beta1EntityAnnotation> logoAnnotations)
logoAnnotations
- logoAnnotations or null
for nonepublic GoogleCloudVisionV1p5beta1ProductSearchResults getProductSearchResults()
null
for nonepublic GoogleCloudVisionV1p5beta1AnnotateImageResponse setProductSearchResults(GoogleCloudVisionV1p5beta1ProductSearchResults productSearchResults)
productSearchResults
- productSearchResults or null
for nonepublic GoogleCloudVisionV1p5beta1SafeSearchAnnotation getSafeSearchAnnotation()
null
for nonepublic GoogleCloudVisionV1p5beta1AnnotateImageResponse setSafeSearchAnnotation(GoogleCloudVisionV1p5beta1SafeSearchAnnotation safeSearchAnnotation)
safeSearchAnnotation
- safeSearchAnnotation or null
for nonepublic List<GoogleCloudVisionV1p5beta1EntityAnnotation> getTextAnnotations()
null
for nonepublic GoogleCloudVisionV1p5beta1AnnotateImageResponse setTextAnnotations(List<GoogleCloudVisionV1p5beta1EntityAnnotation> textAnnotations)
textAnnotations
- textAnnotations or null
for nonepublic GoogleCloudVisionV1p5beta1WebDetection getWebDetection()
null
for nonepublic GoogleCloudVisionV1p5beta1AnnotateImageResponse setWebDetection(GoogleCloudVisionV1p5beta1WebDetection webDetection)
webDetection
- webDetection or null
for nonepublic GoogleCloudVisionV1p5beta1AnnotateImageResponse set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public GoogleCloudVisionV1p5beta1AnnotateImageResponse clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2019 Google. All rights reserved.