public static final class AnnotateImageResponse.Builder extends GeneratedMessageV3.Builder<AnnotateImageResponse.Builder> implements AnnotateImageResponseOrBuilder
Response to an image annotation request.Protobuf type
google.cloud.vision.v1p2beta1.AnnotateImageResponse
Modifier and Type | Method and Description |
---|---|
AnnotateImageResponse.Builder |
addAllFaceAnnotations(java.lang.Iterable<? extends FaceAnnotation> values)
If present, face detection has completed successfully.
|
AnnotateImageResponse.Builder |
addAllLabelAnnotations(java.lang.Iterable<? extends EntityAnnotation> values)
If present, label detection has completed successfully.
|
AnnotateImageResponse.Builder |
addAllLandmarkAnnotations(java.lang.Iterable<? extends EntityAnnotation> values)
If present, landmark detection has completed successfully.
|
AnnotateImageResponse.Builder |
addAllLogoAnnotations(java.lang.Iterable<? extends EntityAnnotation> values)
If present, logo detection has completed successfully.
|
AnnotateImageResponse.Builder |
addAllTextAnnotations(java.lang.Iterable<? extends EntityAnnotation> values)
If present, text (OCR) detection has completed successfully.
|
AnnotateImageResponse.Builder |
addFaceAnnotations(FaceAnnotation.Builder builderForValue)
If present, face detection has completed successfully.
|
AnnotateImageResponse.Builder |
addFaceAnnotations(FaceAnnotation value)
If present, face detection has completed successfully.
|
AnnotateImageResponse.Builder |
addFaceAnnotations(int index,
FaceAnnotation.Builder builderForValue)
If present, face detection has completed successfully.
|
AnnotateImageResponse.Builder |
addFaceAnnotations(int index,
FaceAnnotation value)
If present, face detection has completed successfully.
|
FaceAnnotation.Builder |
addFaceAnnotationsBuilder()
If present, face detection has completed successfully.
|
FaceAnnotation.Builder |
addFaceAnnotationsBuilder(int index)
If present, face detection has completed successfully.
|
AnnotateImageResponse.Builder |
addLabelAnnotations(EntityAnnotation.Builder builderForValue)
If present, label detection has completed successfully.
|
AnnotateImageResponse.Builder |
addLabelAnnotations(EntityAnnotation value)
If present, label detection has completed successfully.
|
AnnotateImageResponse.Builder |
addLabelAnnotations(int index,
EntityAnnotation.Builder builderForValue)
If present, label detection has completed successfully.
|
AnnotateImageResponse.Builder |
addLabelAnnotations(int index,
EntityAnnotation value)
If present, label detection has completed successfully.
|
EntityAnnotation.Builder |
addLabelAnnotationsBuilder()
If present, label detection has completed successfully.
|
EntityAnnotation.Builder |
addLabelAnnotationsBuilder(int index)
If present, label detection has completed successfully.
|
AnnotateImageResponse.Builder |
addLandmarkAnnotations(EntityAnnotation.Builder builderForValue)
If present, landmark detection has completed successfully.
|
AnnotateImageResponse.Builder |
addLandmarkAnnotations(EntityAnnotation value)
If present, landmark detection has completed successfully.
|
AnnotateImageResponse.Builder |
addLandmarkAnnotations(int index,
EntityAnnotation.Builder builderForValue)
If present, landmark detection has completed successfully.
|
AnnotateImageResponse.Builder |
addLandmarkAnnotations(int index,
EntityAnnotation value)
If present, landmark detection has completed successfully.
|
EntityAnnotation.Builder |
addLandmarkAnnotationsBuilder()
If present, landmark detection has completed successfully.
|
EntityAnnotation.Builder |
addLandmarkAnnotationsBuilder(int index)
If present, landmark detection has completed successfully.
|
AnnotateImageResponse.Builder |
addLogoAnnotations(EntityAnnotation.Builder builderForValue)
If present, logo detection has completed successfully.
|
AnnotateImageResponse.Builder |
addLogoAnnotations(EntityAnnotation value)
If present, logo detection has completed successfully.
|
AnnotateImageResponse.Builder |
addLogoAnnotations(int index,
EntityAnnotation.Builder builderForValue)
If present, logo detection has completed successfully.
|
AnnotateImageResponse.Builder |
addLogoAnnotations(int index,
EntityAnnotation value)
If present, logo detection has completed successfully.
|
EntityAnnotation.Builder |
addLogoAnnotationsBuilder()
If present, logo detection has completed successfully.
|
EntityAnnotation.Builder |
addLogoAnnotationsBuilder(int index)
If present, logo detection has completed successfully.
|
AnnotateImageResponse.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
AnnotateImageResponse.Builder |
addTextAnnotations(EntityAnnotation.Builder builderForValue)
If present, text (OCR) detection has completed successfully.
|
AnnotateImageResponse.Builder |
addTextAnnotations(EntityAnnotation value)
If present, text (OCR) detection has completed successfully.
|
AnnotateImageResponse.Builder |
addTextAnnotations(int index,
EntityAnnotation.Builder builderForValue)
If present, text (OCR) detection has completed successfully.
|
AnnotateImageResponse.Builder |
addTextAnnotations(int index,
EntityAnnotation value)
If present, text (OCR) detection has completed successfully.
|
EntityAnnotation.Builder |
addTextAnnotationsBuilder()
If present, text (OCR) detection has completed successfully.
|
EntityAnnotation.Builder |
addTextAnnotationsBuilder(int index)
If present, text (OCR) detection has completed successfully.
|
AnnotateImageResponse |
build() |
AnnotateImageResponse |
buildPartial() |
AnnotateImageResponse.Builder |
clear() |
AnnotateImageResponse.Builder |
clearContext()
If present, contextual information is needed to understand where this image
comes from.
|
AnnotateImageResponse.Builder |
clearCropHintsAnnotation()
If present, crop hints have completed successfully.
|
AnnotateImageResponse.Builder |
clearError()
If set, represents the error message for the operation.
|
AnnotateImageResponse.Builder |
clearFaceAnnotations()
If present, face detection has completed successfully.
|
AnnotateImageResponse.Builder |
clearField(Descriptors.FieldDescriptor field) |
AnnotateImageResponse.Builder |
clearFullTextAnnotation()
If present, text (OCR) detection or document (OCR) text detection has
completed successfully.
|
AnnotateImageResponse.Builder |
clearImagePropertiesAnnotation()
If present, image properties were extracted successfully.
|
AnnotateImageResponse.Builder |
clearLabelAnnotations()
If present, label detection has completed successfully.
|
AnnotateImageResponse.Builder |
clearLandmarkAnnotations()
If present, landmark detection has completed successfully.
|
AnnotateImageResponse.Builder |
clearLogoAnnotations()
If present, logo detection has completed successfully.
|
AnnotateImageResponse.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
AnnotateImageResponse.Builder |
clearSafeSearchAnnotation()
If present, safe-search annotation has completed successfully.
|
AnnotateImageResponse.Builder |
clearTextAnnotations()
If present, text (OCR) detection has completed successfully.
|
AnnotateImageResponse.Builder |
clearWebDetection()
If present, web detection has completed successfully.
|
AnnotateImageResponse.Builder |
clone() |
ImageAnnotationContext |
getContext()
If present, contextual information is needed to understand where this image
comes from.
|
ImageAnnotationContext.Builder |
getContextBuilder()
If present, contextual information is needed to understand where this image
comes from.
|
ImageAnnotationContextOrBuilder |
getContextOrBuilder()
If present, contextual information is needed to understand where this image
comes from.
|
CropHintsAnnotation |
getCropHintsAnnotation()
If present, crop hints have completed successfully.
|
CropHintsAnnotation.Builder |
getCropHintsAnnotationBuilder()
If present, crop hints have completed successfully.
|
CropHintsAnnotationOrBuilder |
getCropHintsAnnotationOrBuilder()
If present, crop hints have completed successfully.
|
AnnotateImageResponse |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
Status |
getError()
If set, represents the error message for the operation.
|
Status.Builder |
getErrorBuilder()
If set, represents the error message for the operation.
|
StatusOrBuilder |
getErrorOrBuilder()
If set, represents the error message for the operation.
|
FaceAnnotation |
getFaceAnnotations(int index)
If present, face detection has completed successfully.
|
FaceAnnotation.Builder |
getFaceAnnotationsBuilder(int index)
If present, face detection has completed successfully.
|
java.util.List<FaceAnnotation.Builder> |
getFaceAnnotationsBuilderList()
If present, face detection has completed successfully.
|
int |
getFaceAnnotationsCount()
If present, face detection has completed successfully.
|
java.util.List<FaceAnnotation> |
getFaceAnnotationsList()
If present, face detection has completed successfully.
|
FaceAnnotationOrBuilder |
getFaceAnnotationsOrBuilder(int index)
If present, face detection has completed successfully.
|
java.util.List<? extends FaceAnnotationOrBuilder> |
getFaceAnnotationsOrBuilderList()
If present, face detection has completed successfully.
|
TextAnnotation |
getFullTextAnnotation()
If present, text (OCR) detection or document (OCR) text detection has
completed successfully.
|
TextAnnotation.Builder |
getFullTextAnnotationBuilder()
If present, text (OCR) detection or document (OCR) text detection has
completed successfully.
|
TextAnnotationOrBuilder |
getFullTextAnnotationOrBuilder()
If present, text (OCR) detection or document (OCR) text detection has
completed successfully.
|
ImageProperties |
getImagePropertiesAnnotation()
If present, image properties were extracted successfully.
|
ImageProperties.Builder |
getImagePropertiesAnnotationBuilder()
If present, image properties were extracted successfully.
|
ImagePropertiesOrBuilder |
getImagePropertiesAnnotationOrBuilder()
If present, image properties were extracted successfully.
|
EntityAnnotation |
getLabelAnnotations(int index)
If present, label detection has completed successfully.
|
EntityAnnotation.Builder |
getLabelAnnotationsBuilder(int index)
If present, label detection has completed successfully.
|
java.util.List<EntityAnnotation.Builder> |
getLabelAnnotationsBuilderList()
If present, label detection has completed successfully.
|
int |
getLabelAnnotationsCount()
If present, label detection has completed successfully.
|
java.util.List<EntityAnnotation> |
getLabelAnnotationsList()
If present, label detection has completed successfully.
|
EntityAnnotationOrBuilder |
getLabelAnnotationsOrBuilder(int index)
If present, label detection has completed successfully.
|
java.util.List<? extends EntityAnnotationOrBuilder> |
getLabelAnnotationsOrBuilderList()
If present, label detection has completed successfully.
|
EntityAnnotation |
getLandmarkAnnotations(int index)
If present, landmark detection has completed successfully.
|
EntityAnnotation.Builder |
getLandmarkAnnotationsBuilder(int index)
If present, landmark detection has completed successfully.
|
java.util.List<EntityAnnotation.Builder> |
getLandmarkAnnotationsBuilderList()
If present, landmark detection has completed successfully.
|
int |
getLandmarkAnnotationsCount()
If present, landmark detection has completed successfully.
|
java.util.List<EntityAnnotation> |
getLandmarkAnnotationsList()
If present, landmark detection has completed successfully.
|
EntityAnnotationOrBuilder |
getLandmarkAnnotationsOrBuilder(int index)
If present, landmark detection has completed successfully.
|
java.util.List<? extends EntityAnnotationOrBuilder> |
getLandmarkAnnotationsOrBuilderList()
If present, landmark detection has completed successfully.
|
EntityAnnotation |
getLogoAnnotations(int index)
If present, logo detection has completed successfully.
|
EntityAnnotation.Builder |
getLogoAnnotationsBuilder(int index)
If present, logo detection has completed successfully.
|
java.util.List<EntityAnnotation.Builder> |
getLogoAnnotationsBuilderList()
If present, logo detection has completed successfully.
|
int |
getLogoAnnotationsCount()
If present, logo detection has completed successfully.
|
java.util.List<EntityAnnotation> |
getLogoAnnotationsList()
If present, logo detection has completed successfully.
|
EntityAnnotationOrBuilder |
getLogoAnnotationsOrBuilder(int index)
If present, logo detection has completed successfully.
|
java.util.List<? extends EntityAnnotationOrBuilder> |
getLogoAnnotationsOrBuilderList()
If present, logo detection has completed successfully.
|
SafeSearchAnnotation |
getSafeSearchAnnotation()
If present, safe-search annotation has completed successfully.
|
SafeSearchAnnotation.Builder |
getSafeSearchAnnotationBuilder()
If present, safe-search annotation has completed successfully.
|
SafeSearchAnnotationOrBuilder |
getSafeSearchAnnotationOrBuilder()
If present, safe-search annotation has completed successfully.
|
EntityAnnotation |
getTextAnnotations(int index)
If present, text (OCR) detection has completed successfully.
|
EntityAnnotation.Builder |
getTextAnnotationsBuilder(int index)
If present, text (OCR) detection has completed successfully.
|
java.util.List<EntityAnnotation.Builder> |
getTextAnnotationsBuilderList()
If present, text (OCR) detection has completed successfully.
|
int |
getTextAnnotationsCount()
If present, text (OCR) detection has completed successfully.
|
java.util.List<EntityAnnotation> |
getTextAnnotationsList()
If present, text (OCR) detection has completed successfully.
|
EntityAnnotationOrBuilder |
getTextAnnotationsOrBuilder(int index)
If present, text (OCR) detection has completed successfully.
|
java.util.List<? extends EntityAnnotationOrBuilder> |
getTextAnnotationsOrBuilderList()
If present, text (OCR) detection has completed successfully.
|
WebDetection |
getWebDetection()
If present, web detection has completed successfully.
|
WebDetection.Builder |
getWebDetectionBuilder()
If present, web detection has completed successfully.
|
WebDetectionOrBuilder |
getWebDetectionOrBuilder()
If present, web detection has completed successfully.
|
boolean |
hasContext()
If present, contextual information is needed to understand where this image
comes from.
|
boolean |
hasCropHintsAnnotation()
If present, crop hints have completed successfully.
|
boolean |
hasError()
If set, represents the error message for the operation.
|
boolean |
hasFullTextAnnotation()
If present, text (OCR) detection or document (OCR) text detection has
completed successfully.
|
boolean |
hasImagePropertiesAnnotation()
If present, image properties were extracted successfully.
|
boolean |
hasSafeSearchAnnotation()
If present, safe-search annotation has completed successfully.
|
boolean |
hasWebDetection()
If present, web detection has completed successfully.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
AnnotateImageResponse.Builder |
mergeContext(ImageAnnotationContext value)
If present, contextual information is needed to understand where this image
comes from.
|
AnnotateImageResponse.Builder |
mergeCropHintsAnnotation(CropHintsAnnotation value)
If present, crop hints have completed successfully.
|
AnnotateImageResponse.Builder |
mergeError(Status value)
If set, represents the error message for the operation.
|
AnnotateImageResponse.Builder |
mergeFrom(AnnotateImageResponse other) |
AnnotateImageResponse.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
AnnotateImageResponse.Builder |
mergeFrom(Message other) |
AnnotateImageResponse.Builder |
mergeFullTextAnnotation(TextAnnotation value)
If present, text (OCR) detection or document (OCR) text detection has
completed successfully.
|
AnnotateImageResponse.Builder |
mergeImagePropertiesAnnotation(ImageProperties value)
If present, image properties were extracted successfully.
|
AnnotateImageResponse.Builder |
mergeSafeSearchAnnotation(SafeSearchAnnotation value)
If present, safe-search annotation has completed successfully.
|
AnnotateImageResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
AnnotateImageResponse.Builder |
mergeWebDetection(WebDetection value)
If present, web detection has completed successfully.
|
AnnotateImageResponse.Builder |
removeFaceAnnotations(int index)
If present, face detection has completed successfully.
|
AnnotateImageResponse.Builder |
removeLabelAnnotations(int index)
If present, label detection has completed successfully.
|
AnnotateImageResponse.Builder |
removeLandmarkAnnotations(int index)
If present, landmark detection has completed successfully.
|
AnnotateImageResponse.Builder |
removeLogoAnnotations(int index)
If present, logo detection has completed successfully.
|
AnnotateImageResponse.Builder |
removeTextAnnotations(int index)
If present, text (OCR) detection has completed successfully.
|
AnnotateImageResponse.Builder |
setContext(ImageAnnotationContext.Builder builderForValue)
If present, contextual information is needed to understand where this image
comes from.
|
AnnotateImageResponse.Builder |
setContext(ImageAnnotationContext value)
If present, contextual information is needed to understand where this image
comes from.
|
AnnotateImageResponse.Builder |
setCropHintsAnnotation(CropHintsAnnotation.Builder builderForValue)
If present, crop hints have completed successfully.
|
AnnotateImageResponse.Builder |
setCropHintsAnnotation(CropHintsAnnotation value)
If present, crop hints have completed successfully.
|
AnnotateImageResponse.Builder |
setError(Status.Builder builderForValue)
If set, represents the error message for the operation.
|
AnnotateImageResponse.Builder |
setError(Status value)
If set, represents the error message for the operation.
|
AnnotateImageResponse.Builder |
setFaceAnnotations(int index,
FaceAnnotation.Builder builderForValue)
If present, face detection has completed successfully.
|
AnnotateImageResponse.Builder |
setFaceAnnotations(int index,
FaceAnnotation value)
If present, face detection has completed successfully.
|
AnnotateImageResponse.Builder |
setField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
AnnotateImageResponse.Builder |
setFullTextAnnotation(TextAnnotation.Builder builderForValue)
If present, text (OCR) detection or document (OCR) text detection has
completed successfully.
|
AnnotateImageResponse.Builder |
setFullTextAnnotation(TextAnnotation value)
If present, text (OCR) detection or document (OCR) text detection has
completed successfully.
|
AnnotateImageResponse.Builder |
setImagePropertiesAnnotation(ImageProperties.Builder builderForValue)
If present, image properties were extracted successfully.
|
AnnotateImageResponse.Builder |
setImagePropertiesAnnotation(ImageProperties value)
If present, image properties were extracted successfully.
|
AnnotateImageResponse.Builder |
setLabelAnnotations(int index,
EntityAnnotation.Builder builderForValue)
If present, label detection has completed successfully.
|
AnnotateImageResponse.Builder |
setLabelAnnotations(int index,
EntityAnnotation value)
If present, label detection has completed successfully.
|
AnnotateImageResponse.Builder |
setLandmarkAnnotations(int index,
EntityAnnotation.Builder builderForValue)
If present, landmark detection has completed successfully.
|
AnnotateImageResponse.Builder |
setLandmarkAnnotations(int index,
EntityAnnotation value)
If present, landmark detection has completed successfully.
|
AnnotateImageResponse.Builder |
setLogoAnnotations(int index,
EntityAnnotation.Builder builderForValue)
If present, logo detection has completed successfully.
|
AnnotateImageResponse.Builder |
setLogoAnnotations(int index,
EntityAnnotation value)
If present, logo detection has completed successfully.
|
AnnotateImageResponse.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
AnnotateImageResponse.Builder |
setSafeSearchAnnotation(SafeSearchAnnotation.Builder builderForValue)
If present, safe-search annotation has completed successfully.
|
AnnotateImageResponse.Builder |
setSafeSearchAnnotation(SafeSearchAnnotation value)
If present, safe-search annotation has completed successfully.
|
AnnotateImageResponse.Builder |
setTextAnnotations(int index,
EntityAnnotation.Builder builderForValue)
If present, text (OCR) detection has completed successfully.
|
AnnotateImageResponse.Builder |
setTextAnnotations(int index,
EntityAnnotation value)
If present, text (OCR) detection has completed successfully.
|
AnnotateImageResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
AnnotateImageResponse.Builder |
setWebDetection(WebDetection.Builder builderForValue)
If present, web detection has completed successfully.
|
AnnotateImageResponse.Builder |
setWebDetection(WebDetection value)
If present, web detection has completed successfully.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<AnnotateImageResponse.Builder>
public AnnotateImageResponse.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<AnnotateImageResponse.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<AnnotateImageResponse.Builder>
public AnnotateImageResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public AnnotateImageResponse build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public AnnotateImageResponse buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public AnnotateImageResponse.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<AnnotateImageResponse.Builder>
public AnnotateImageResponse.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<AnnotateImageResponse.Builder>
public AnnotateImageResponse.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<AnnotateImageResponse.Builder>
public AnnotateImageResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<AnnotateImageResponse.Builder>
public AnnotateImageResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<AnnotateImageResponse.Builder>
public AnnotateImageResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<AnnotateImageResponse.Builder>
public AnnotateImageResponse.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<AnnotateImageResponse.Builder>
public AnnotateImageResponse.Builder mergeFrom(AnnotateImageResponse other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<AnnotateImageResponse.Builder>
public AnnotateImageResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<AnnotateImageResponse.Builder>
java.io.IOException
public java.util.List<FaceAnnotation> getFaceAnnotationsList()
If present, face detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.FaceAnnotation face_annotations = 1;
getFaceAnnotationsList
in interface AnnotateImageResponseOrBuilder
public int getFaceAnnotationsCount()
If present, face detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.FaceAnnotation face_annotations = 1;
getFaceAnnotationsCount
in interface AnnotateImageResponseOrBuilder
public FaceAnnotation getFaceAnnotations(int index)
If present, face detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.FaceAnnotation face_annotations = 1;
getFaceAnnotations
in interface AnnotateImageResponseOrBuilder
public AnnotateImageResponse.Builder setFaceAnnotations(int index, FaceAnnotation value)
If present, face detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.FaceAnnotation face_annotations = 1;
public AnnotateImageResponse.Builder setFaceAnnotations(int index, FaceAnnotation.Builder builderForValue)
If present, face detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.FaceAnnotation face_annotations = 1;
public AnnotateImageResponse.Builder addFaceAnnotations(FaceAnnotation value)
If present, face detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.FaceAnnotation face_annotations = 1;
public AnnotateImageResponse.Builder addFaceAnnotations(int index, FaceAnnotation value)
If present, face detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.FaceAnnotation face_annotations = 1;
public AnnotateImageResponse.Builder addFaceAnnotations(FaceAnnotation.Builder builderForValue)
If present, face detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.FaceAnnotation face_annotations = 1;
public AnnotateImageResponse.Builder addFaceAnnotations(int index, FaceAnnotation.Builder builderForValue)
If present, face detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.FaceAnnotation face_annotations = 1;
public AnnotateImageResponse.Builder addAllFaceAnnotations(java.lang.Iterable<? extends FaceAnnotation> values)
If present, face detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.FaceAnnotation face_annotations = 1;
public AnnotateImageResponse.Builder clearFaceAnnotations()
If present, face detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.FaceAnnotation face_annotations = 1;
public AnnotateImageResponse.Builder removeFaceAnnotations(int index)
If present, face detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.FaceAnnotation face_annotations = 1;
public FaceAnnotation.Builder getFaceAnnotationsBuilder(int index)
If present, face detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.FaceAnnotation face_annotations = 1;
public FaceAnnotationOrBuilder getFaceAnnotationsOrBuilder(int index)
If present, face detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.FaceAnnotation face_annotations = 1;
getFaceAnnotationsOrBuilder
in interface AnnotateImageResponseOrBuilder
public java.util.List<? extends FaceAnnotationOrBuilder> getFaceAnnotationsOrBuilderList()
If present, face detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.FaceAnnotation face_annotations = 1;
getFaceAnnotationsOrBuilderList
in interface AnnotateImageResponseOrBuilder
public FaceAnnotation.Builder addFaceAnnotationsBuilder()
If present, face detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.FaceAnnotation face_annotations = 1;
public FaceAnnotation.Builder addFaceAnnotationsBuilder(int index)
If present, face detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.FaceAnnotation face_annotations = 1;
public java.util.List<FaceAnnotation.Builder> getFaceAnnotationsBuilderList()
If present, face detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.FaceAnnotation face_annotations = 1;
public java.util.List<EntityAnnotation> getLandmarkAnnotationsList()
If present, landmark detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation landmark_annotations = 2;
getLandmarkAnnotationsList
in interface AnnotateImageResponseOrBuilder
public int getLandmarkAnnotationsCount()
If present, landmark detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation landmark_annotations = 2;
getLandmarkAnnotationsCount
in interface AnnotateImageResponseOrBuilder
public EntityAnnotation getLandmarkAnnotations(int index)
If present, landmark detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation landmark_annotations = 2;
getLandmarkAnnotations
in interface AnnotateImageResponseOrBuilder
public AnnotateImageResponse.Builder setLandmarkAnnotations(int index, EntityAnnotation value)
If present, landmark detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation landmark_annotations = 2;
public AnnotateImageResponse.Builder setLandmarkAnnotations(int index, EntityAnnotation.Builder builderForValue)
If present, landmark detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation landmark_annotations = 2;
public AnnotateImageResponse.Builder addLandmarkAnnotations(EntityAnnotation value)
If present, landmark detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation landmark_annotations = 2;
public AnnotateImageResponse.Builder addLandmarkAnnotations(int index, EntityAnnotation value)
If present, landmark detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation landmark_annotations = 2;
public AnnotateImageResponse.Builder addLandmarkAnnotations(EntityAnnotation.Builder builderForValue)
If present, landmark detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation landmark_annotations = 2;
public AnnotateImageResponse.Builder addLandmarkAnnotations(int index, EntityAnnotation.Builder builderForValue)
If present, landmark detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation landmark_annotations = 2;
public AnnotateImageResponse.Builder addAllLandmarkAnnotations(java.lang.Iterable<? extends EntityAnnotation> values)
If present, landmark detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation landmark_annotations = 2;
public AnnotateImageResponse.Builder clearLandmarkAnnotations()
If present, landmark detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation landmark_annotations = 2;
public AnnotateImageResponse.Builder removeLandmarkAnnotations(int index)
If present, landmark detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation landmark_annotations = 2;
public EntityAnnotation.Builder getLandmarkAnnotationsBuilder(int index)
If present, landmark detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation landmark_annotations = 2;
public EntityAnnotationOrBuilder getLandmarkAnnotationsOrBuilder(int index)
If present, landmark detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation landmark_annotations = 2;
getLandmarkAnnotationsOrBuilder
in interface AnnotateImageResponseOrBuilder
public java.util.List<? extends EntityAnnotationOrBuilder> getLandmarkAnnotationsOrBuilderList()
If present, landmark detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation landmark_annotations = 2;
getLandmarkAnnotationsOrBuilderList
in interface AnnotateImageResponseOrBuilder
public EntityAnnotation.Builder addLandmarkAnnotationsBuilder()
If present, landmark detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation landmark_annotations = 2;
public EntityAnnotation.Builder addLandmarkAnnotationsBuilder(int index)
If present, landmark detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation landmark_annotations = 2;
public java.util.List<EntityAnnotation.Builder> getLandmarkAnnotationsBuilderList()
If present, landmark detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation landmark_annotations = 2;
public java.util.List<EntityAnnotation> getLogoAnnotationsList()
If present, logo detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation logo_annotations = 3;
getLogoAnnotationsList
in interface AnnotateImageResponseOrBuilder
public int getLogoAnnotationsCount()
If present, logo detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation logo_annotations = 3;
getLogoAnnotationsCount
in interface AnnotateImageResponseOrBuilder
public EntityAnnotation getLogoAnnotations(int index)
If present, logo detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation logo_annotations = 3;
getLogoAnnotations
in interface AnnotateImageResponseOrBuilder
public AnnotateImageResponse.Builder setLogoAnnotations(int index, EntityAnnotation value)
If present, logo detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation logo_annotations = 3;
public AnnotateImageResponse.Builder setLogoAnnotations(int index, EntityAnnotation.Builder builderForValue)
If present, logo detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation logo_annotations = 3;
public AnnotateImageResponse.Builder addLogoAnnotations(EntityAnnotation value)
If present, logo detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation logo_annotations = 3;
public AnnotateImageResponse.Builder addLogoAnnotations(int index, EntityAnnotation value)
If present, logo detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation logo_annotations = 3;
public AnnotateImageResponse.Builder addLogoAnnotations(EntityAnnotation.Builder builderForValue)
If present, logo detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation logo_annotations = 3;
public AnnotateImageResponse.Builder addLogoAnnotations(int index, EntityAnnotation.Builder builderForValue)
If present, logo detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation logo_annotations = 3;
public AnnotateImageResponse.Builder addAllLogoAnnotations(java.lang.Iterable<? extends EntityAnnotation> values)
If present, logo detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation logo_annotations = 3;
public AnnotateImageResponse.Builder clearLogoAnnotations()
If present, logo detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation logo_annotations = 3;
public AnnotateImageResponse.Builder removeLogoAnnotations(int index)
If present, logo detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation logo_annotations = 3;
public EntityAnnotation.Builder getLogoAnnotationsBuilder(int index)
If present, logo detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation logo_annotations = 3;
public EntityAnnotationOrBuilder getLogoAnnotationsOrBuilder(int index)
If present, logo detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation logo_annotations = 3;
getLogoAnnotationsOrBuilder
in interface AnnotateImageResponseOrBuilder
public java.util.List<? extends EntityAnnotationOrBuilder> getLogoAnnotationsOrBuilderList()
If present, logo detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation logo_annotations = 3;
getLogoAnnotationsOrBuilderList
in interface AnnotateImageResponseOrBuilder
public EntityAnnotation.Builder addLogoAnnotationsBuilder()
If present, logo detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation logo_annotations = 3;
public EntityAnnotation.Builder addLogoAnnotationsBuilder(int index)
If present, logo detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation logo_annotations = 3;
public java.util.List<EntityAnnotation.Builder> getLogoAnnotationsBuilderList()
If present, logo detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation logo_annotations = 3;
public java.util.List<EntityAnnotation> getLabelAnnotationsList()
If present, label detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation label_annotations = 4;
getLabelAnnotationsList
in interface AnnotateImageResponseOrBuilder
public int getLabelAnnotationsCount()
If present, label detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation label_annotations = 4;
getLabelAnnotationsCount
in interface AnnotateImageResponseOrBuilder
public EntityAnnotation getLabelAnnotations(int index)
If present, label detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation label_annotations = 4;
getLabelAnnotations
in interface AnnotateImageResponseOrBuilder
public AnnotateImageResponse.Builder setLabelAnnotations(int index, EntityAnnotation value)
If present, label detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation label_annotations = 4;
public AnnotateImageResponse.Builder setLabelAnnotations(int index, EntityAnnotation.Builder builderForValue)
If present, label detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation label_annotations = 4;
public AnnotateImageResponse.Builder addLabelAnnotations(EntityAnnotation value)
If present, label detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation label_annotations = 4;
public AnnotateImageResponse.Builder addLabelAnnotations(int index, EntityAnnotation value)
If present, label detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation label_annotations = 4;
public AnnotateImageResponse.Builder addLabelAnnotations(EntityAnnotation.Builder builderForValue)
If present, label detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation label_annotations = 4;
public AnnotateImageResponse.Builder addLabelAnnotations(int index, EntityAnnotation.Builder builderForValue)
If present, label detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation label_annotations = 4;
public AnnotateImageResponse.Builder addAllLabelAnnotations(java.lang.Iterable<? extends EntityAnnotation> values)
If present, label detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation label_annotations = 4;
public AnnotateImageResponse.Builder clearLabelAnnotations()
If present, label detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation label_annotations = 4;
public AnnotateImageResponse.Builder removeLabelAnnotations(int index)
If present, label detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation label_annotations = 4;
public EntityAnnotation.Builder getLabelAnnotationsBuilder(int index)
If present, label detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation label_annotations = 4;
public EntityAnnotationOrBuilder getLabelAnnotationsOrBuilder(int index)
If present, label detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation label_annotations = 4;
getLabelAnnotationsOrBuilder
in interface AnnotateImageResponseOrBuilder
public java.util.List<? extends EntityAnnotationOrBuilder> getLabelAnnotationsOrBuilderList()
If present, label detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation label_annotations = 4;
getLabelAnnotationsOrBuilderList
in interface AnnotateImageResponseOrBuilder
public EntityAnnotation.Builder addLabelAnnotationsBuilder()
If present, label detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation label_annotations = 4;
public EntityAnnotation.Builder addLabelAnnotationsBuilder(int index)
If present, label detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation label_annotations = 4;
public java.util.List<EntityAnnotation.Builder> getLabelAnnotationsBuilderList()
If present, label detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation label_annotations = 4;
public java.util.List<EntityAnnotation> getTextAnnotationsList()
If present, text (OCR) detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation text_annotations = 5;
getTextAnnotationsList
in interface AnnotateImageResponseOrBuilder
public int getTextAnnotationsCount()
If present, text (OCR) detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation text_annotations = 5;
getTextAnnotationsCount
in interface AnnotateImageResponseOrBuilder
public EntityAnnotation getTextAnnotations(int index)
If present, text (OCR) detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation text_annotations = 5;
getTextAnnotations
in interface AnnotateImageResponseOrBuilder
public AnnotateImageResponse.Builder setTextAnnotations(int index, EntityAnnotation value)
If present, text (OCR) detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation text_annotations = 5;
public AnnotateImageResponse.Builder setTextAnnotations(int index, EntityAnnotation.Builder builderForValue)
If present, text (OCR) detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation text_annotations = 5;
public AnnotateImageResponse.Builder addTextAnnotations(EntityAnnotation value)
If present, text (OCR) detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation text_annotations = 5;
public AnnotateImageResponse.Builder addTextAnnotations(int index, EntityAnnotation value)
If present, text (OCR) detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation text_annotations = 5;
public AnnotateImageResponse.Builder addTextAnnotations(EntityAnnotation.Builder builderForValue)
If present, text (OCR) detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation text_annotations = 5;
public AnnotateImageResponse.Builder addTextAnnotations(int index, EntityAnnotation.Builder builderForValue)
If present, text (OCR) detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation text_annotations = 5;
public AnnotateImageResponse.Builder addAllTextAnnotations(java.lang.Iterable<? extends EntityAnnotation> values)
If present, text (OCR) detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation text_annotations = 5;
public AnnotateImageResponse.Builder clearTextAnnotations()
If present, text (OCR) detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation text_annotations = 5;
public AnnotateImageResponse.Builder removeTextAnnotations(int index)
If present, text (OCR) detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation text_annotations = 5;
public EntityAnnotation.Builder getTextAnnotationsBuilder(int index)
If present, text (OCR) detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation text_annotations = 5;
public EntityAnnotationOrBuilder getTextAnnotationsOrBuilder(int index)
If present, text (OCR) detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation text_annotations = 5;
getTextAnnotationsOrBuilder
in interface AnnotateImageResponseOrBuilder
public java.util.List<? extends EntityAnnotationOrBuilder> getTextAnnotationsOrBuilderList()
If present, text (OCR) detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation text_annotations = 5;
getTextAnnotationsOrBuilderList
in interface AnnotateImageResponseOrBuilder
public EntityAnnotation.Builder addTextAnnotationsBuilder()
If present, text (OCR) detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation text_annotations = 5;
public EntityAnnotation.Builder addTextAnnotationsBuilder(int index)
If present, text (OCR) detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation text_annotations = 5;
public java.util.List<EntityAnnotation.Builder> getTextAnnotationsBuilderList()
If present, text (OCR) detection has completed successfully.
repeated .google.cloud.vision.v1p2beta1.EntityAnnotation text_annotations = 5;
public boolean hasFullTextAnnotation()
If present, text (OCR) detection or document (OCR) text detection has completed successfully. This annotation provides the structural hierarchy for the OCR detected text.
.google.cloud.vision.v1p2beta1.TextAnnotation full_text_annotation = 12;
hasFullTextAnnotation
in interface AnnotateImageResponseOrBuilder
public TextAnnotation getFullTextAnnotation()
If present, text (OCR) detection or document (OCR) text detection has completed successfully. This annotation provides the structural hierarchy for the OCR detected text.
.google.cloud.vision.v1p2beta1.TextAnnotation full_text_annotation = 12;
getFullTextAnnotation
in interface AnnotateImageResponseOrBuilder
public AnnotateImageResponse.Builder setFullTextAnnotation(TextAnnotation value)
If present, text (OCR) detection or document (OCR) text detection has completed successfully. This annotation provides the structural hierarchy for the OCR detected text.
.google.cloud.vision.v1p2beta1.TextAnnotation full_text_annotation = 12;
public AnnotateImageResponse.Builder setFullTextAnnotation(TextAnnotation.Builder builderForValue)
If present, text (OCR) detection or document (OCR) text detection has completed successfully. This annotation provides the structural hierarchy for the OCR detected text.
.google.cloud.vision.v1p2beta1.TextAnnotation full_text_annotation = 12;
public AnnotateImageResponse.Builder mergeFullTextAnnotation(TextAnnotation value)
If present, text (OCR) detection or document (OCR) text detection has completed successfully. This annotation provides the structural hierarchy for the OCR detected text.
.google.cloud.vision.v1p2beta1.TextAnnotation full_text_annotation = 12;
public AnnotateImageResponse.Builder clearFullTextAnnotation()
If present, text (OCR) detection or document (OCR) text detection has completed successfully. This annotation provides the structural hierarchy for the OCR detected text.
.google.cloud.vision.v1p2beta1.TextAnnotation full_text_annotation = 12;
public TextAnnotation.Builder getFullTextAnnotationBuilder()
If present, text (OCR) detection or document (OCR) text detection has completed successfully. This annotation provides the structural hierarchy for the OCR detected text.
.google.cloud.vision.v1p2beta1.TextAnnotation full_text_annotation = 12;
public TextAnnotationOrBuilder getFullTextAnnotationOrBuilder()
If present, text (OCR) detection or document (OCR) text detection has completed successfully. This annotation provides the structural hierarchy for the OCR detected text.
.google.cloud.vision.v1p2beta1.TextAnnotation full_text_annotation = 12;
getFullTextAnnotationOrBuilder
in interface AnnotateImageResponseOrBuilder
public boolean hasSafeSearchAnnotation()
If present, safe-search annotation has completed successfully.
.google.cloud.vision.v1p2beta1.SafeSearchAnnotation safe_search_annotation = 6;
hasSafeSearchAnnotation
in interface AnnotateImageResponseOrBuilder
public SafeSearchAnnotation getSafeSearchAnnotation()
If present, safe-search annotation has completed successfully.
.google.cloud.vision.v1p2beta1.SafeSearchAnnotation safe_search_annotation = 6;
getSafeSearchAnnotation
in interface AnnotateImageResponseOrBuilder
public AnnotateImageResponse.Builder setSafeSearchAnnotation(SafeSearchAnnotation value)
If present, safe-search annotation has completed successfully.
.google.cloud.vision.v1p2beta1.SafeSearchAnnotation safe_search_annotation = 6;
public AnnotateImageResponse.Builder setSafeSearchAnnotation(SafeSearchAnnotation.Builder builderForValue)
If present, safe-search annotation has completed successfully.
.google.cloud.vision.v1p2beta1.SafeSearchAnnotation safe_search_annotation = 6;
public AnnotateImageResponse.Builder mergeSafeSearchAnnotation(SafeSearchAnnotation value)
If present, safe-search annotation has completed successfully.
.google.cloud.vision.v1p2beta1.SafeSearchAnnotation safe_search_annotation = 6;
public AnnotateImageResponse.Builder clearSafeSearchAnnotation()
If present, safe-search annotation has completed successfully.
.google.cloud.vision.v1p2beta1.SafeSearchAnnotation safe_search_annotation = 6;
public SafeSearchAnnotation.Builder getSafeSearchAnnotationBuilder()
If present, safe-search annotation has completed successfully.
.google.cloud.vision.v1p2beta1.SafeSearchAnnotation safe_search_annotation = 6;
public SafeSearchAnnotationOrBuilder getSafeSearchAnnotationOrBuilder()
If present, safe-search annotation has completed successfully.
.google.cloud.vision.v1p2beta1.SafeSearchAnnotation safe_search_annotation = 6;
getSafeSearchAnnotationOrBuilder
in interface AnnotateImageResponseOrBuilder
public boolean hasImagePropertiesAnnotation()
If present, image properties were extracted successfully.
.google.cloud.vision.v1p2beta1.ImageProperties image_properties_annotation = 8;
hasImagePropertiesAnnotation
in interface AnnotateImageResponseOrBuilder
public ImageProperties getImagePropertiesAnnotation()
If present, image properties were extracted successfully.
.google.cloud.vision.v1p2beta1.ImageProperties image_properties_annotation = 8;
getImagePropertiesAnnotation
in interface AnnotateImageResponseOrBuilder
public AnnotateImageResponse.Builder setImagePropertiesAnnotation(ImageProperties value)
If present, image properties were extracted successfully.
.google.cloud.vision.v1p2beta1.ImageProperties image_properties_annotation = 8;
public AnnotateImageResponse.Builder setImagePropertiesAnnotation(ImageProperties.Builder builderForValue)
If present, image properties were extracted successfully.
.google.cloud.vision.v1p2beta1.ImageProperties image_properties_annotation = 8;
public AnnotateImageResponse.Builder mergeImagePropertiesAnnotation(ImageProperties value)
If present, image properties were extracted successfully.
.google.cloud.vision.v1p2beta1.ImageProperties image_properties_annotation = 8;
public AnnotateImageResponse.Builder clearImagePropertiesAnnotation()
If present, image properties were extracted successfully.
.google.cloud.vision.v1p2beta1.ImageProperties image_properties_annotation = 8;
public ImageProperties.Builder getImagePropertiesAnnotationBuilder()
If present, image properties were extracted successfully.
.google.cloud.vision.v1p2beta1.ImageProperties image_properties_annotation = 8;
public ImagePropertiesOrBuilder getImagePropertiesAnnotationOrBuilder()
If present, image properties were extracted successfully.
.google.cloud.vision.v1p2beta1.ImageProperties image_properties_annotation = 8;
getImagePropertiesAnnotationOrBuilder
in interface AnnotateImageResponseOrBuilder
public boolean hasCropHintsAnnotation()
If present, crop hints have completed successfully.
.google.cloud.vision.v1p2beta1.CropHintsAnnotation crop_hints_annotation = 11;
hasCropHintsAnnotation
in interface AnnotateImageResponseOrBuilder
public CropHintsAnnotation getCropHintsAnnotation()
If present, crop hints have completed successfully.
.google.cloud.vision.v1p2beta1.CropHintsAnnotation crop_hints_annotation = 11;
getCropHintsAnnotation
in interface AnnotateImageResponseOrBuilder
public AnnotateImageResponse.Builder setCropHintsAnnotation(CropHintsAnnotation value)
If present, crop hints have completed successfully.
.google.cloud.vision.v1p2beta1.CropHintsAnnotation crop_hints_annotation = 11;
public AnnotateImageResponse.Builder setCropHintsAnnotation(CropHintsAnnotation.Builder builderForValue)
If present, crop hints have completed successfully.
.google.cloud.vision.v1p2beta1.CropHintsAnnotation crop_hints_annotation = 11;
public AnnotateImageResponse.Builder mergeCropHintsAnnotation(CropHintsAnnotation value)
If present, crop hints have completed successfully.
.google.cloud.vision.v1p2beta1.CropHintsAnnotation crop_hints_annotation = 11;
public AnnotateImageResponse.Builder clearCropHintsAnnotation()
If present, crop hints have completed successfully.
.google.cloud.vision.v1p2beta1.CropHintsAnnotation crop_hints_annotation = 11;
public CropHintsAnnotation.Builder getCropHintsAnnotationBuilder()
If present, crop hints have completed successfully.
.google.cloud.vision.v1p2beta1.CropHintsAnnotation crop_hints_annotation = 11;
public CropHintsAnnotationOrBuilder getCropHintsAnnotationOrBuilder()
If present, crop hints have completed successfully.
.google.cloud.vision.v1p2beta1.CropHintsAnnotation crop_hints_annotation = 11;
getCropHintsAnnotationOrBuilder
in interface AnnotateImageResponseOrBuilder
public boolean hasWebDetection()
If present, web detection has completed successfully.
.google.cloud.vision.v1p2beta1.WebDetection web_detection = 13;
hasWebDetection
in interface AnnotateImageResponseOrBuilder
public WebDetection getWebDetection()
If present, web detection has completed successfully.
.google.cloud.vision.v1p2beta1.WebDetection web_detection = 13;
getWebDetection
in interface AnnotateImageResponseOrBuilder
public AnnotateImageResponse.Builder setWebDetection(WebDetection value)
If present, web detection has completed successfully.
.google.cloud.vision.v1p2beta1.WebDetection web_detection = 13;
public AnnotateImageResponse.Builder setWebDetection(WebDetection.Builder builderForValue)
If present, web detection has completed successfully.
.google.cloud.vision.v1p2beta1.WebDetection web_detection = 13;
public AnnotateImageResponse.Builder mergeWebDetection(WebDetection value)
If present, web detection has completed successfully.
.google.cloud.vision.v1p2beta1.WebDetection web_detection = 13;
public AnnotateImageResponse.Builder clearWebDetection()
If present, web detection has completed successfully.
.google.cloud.vision.v1p2beta1.WebDetection web_detection = 13;
public WebDetection.Builder getWebDetectionBuilder()
If present, web detection has completed successfully.
.google.cloud.vision.v1p2beta1.WebDetection web_detection = 13;
public WebDetectionOrBuilder getWebDetectionOrBuilder()
If present, web detection has completed successfully.
.google.cloud.vision.v1p2beta1.WebDetection web_detection = 13;
getWebDetectionOrBuilder
in interface AnnotateImageResponseOrBuilder
public boolean hasError()
If set, represents the error message for the operation. Note that filled-in image annotations are guaranteed to be correct, even when `error` is set.
.google.rpc.Status error = 9;
hasError
in interface AnnotateImageResponseOrBuilder
public Status getError()
If set, represents the error message for the operation. Note that filled-in image annotations are guaranteed to be correct, even when `error` is set.
.google.rpc.Status error = 9;
getError
in interface AnnotateImageResponseOrBuilder
public AnnotateImageResponse.Builder setError(Status value)
If set, represents the error message for the operation. Note that filled-in image annotations are guaranteed to be correct, even when `error` is set.
.google.rpc.Status error = 9;
public AnnotateImageResponse.Builder setError(Status.Builder builderForValue)
If set, represents the error message for the operation. Note that filled-in image annotations are guaranteed to be correct, even when `error` is set.
.google.rpc.Status error = 9;
public AnnotateImageResponse.Builder mergeError(Status value)
If set, represents the error message for the operation. Note that filled-in image annotations are guaranteed to be correct, even when `error` is set.
.google.rpc.Status error = 9;
public AnnotateImageResponse.Builder clearError()
If set, represents the error message for the operation. Note that filled-in image annotations are guaranteed to be correct, even when `error` is set.
.google.rpc.Status error = 9;
public Status.Builder getErrorBuilder()
If set, represents the error message for the operation. Note that filled-in image annotations are guaranteed to be correct, even when `error` is set.
.google.rpc.Status error = 9;
public StatusOrBuilder getErrorOrBuilder()
If set, represents the error message for the operation. Note that filled-in image annotations are guaranteed to be correct, even when `error` is set.
.google.rpc.Status error = 9;
getErrorOrBuilder
in interface AnnotateImageResponseOrBuilder
public boolean hasContext()
If present, contextual information is needed to understand where this image comes from.
.google.cloud.vision.v1p2beta1.ImageAnnotationContext context = 21;
hasContext
in interface AnnotateImageResponseOrBuilder
public ImageAnnotationContext getContext()
If present, contextual information is needed to understand where this image comes from.
.google.cloud.vision.v1p2beta1.ImageAnnotationContext context = 21;
getContext
in interface AnnotateImageResponseOrBuilder
public AnnotateImageResponse.Builder setContext(ImageAnnotationContext value)
If present, contextual information is needed to understand where this image comes from.
.google.cloud.vision.v1p2beta1.ImageAnnotationContext context = 21;
public AnnotateImageResponse.Builder setContext(ImageAnnotationContext.Builder builderForValue)
If present, contextual information is needed to understand where this image comes from.
.google.cloud.vision.v1p2beta1.ImageAnnotationContext context = 21;
public AnnotateImageResponse.Builder mergeContext(ImageAnnotationContext value)
If present, contextual information is needed to understand where this image comes from.
.google.cloud.vision.v1p2beta1.ImageAnnotationContext context = 21;
public AnnotateImageResponse.Builder clearContext()
If present, contextual information is needed to understand where this image comes from.
.google.cloud.vision.v1p2beta1.ImageAnnotationContext context = 21;
public ImageAnnotationContext.Builder getContextBuilder()
If present, contextual information is needed to understand where this image comes from.
.google.cloud.vision.v1p2beta1.ImageAnnotationContext context = 21;
public ImageAnnotationContextOrBuilder getContextOrBuilder()
If present, contextual information is needed to understand where this image comes from.
.google.cloud.vision.v1p2beta1.ImageAnnotationContext context = 21;
getContextOrBuilder
in interface AnnotateImageResponseOrBuilder
public final AnnotateImageResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<AnnotateImageResponse.Builder>
public final AnnotateImageResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<AnnotateImageResponse.Builder>