Class AnnotateImageResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<AnnotateImageResponse.Builder>
com.google.cloud.vision.v1.AnnotateImageResponse.Builder
All Implemented Interfaces:
AnnotateImageResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
AnnotateImageResponse

public static final class AnnotateImageResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<AnnotateImageResponse.Builder> implements AnnotateImageResponseOrBuilder
 Response to an image annotation request.
 
Protobuf type google.cloud.vision.v1.AnnotateImageResponse
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<AnnotateImageResponse.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<AnnotateImageResponse.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<AnnotateImageResponse.Builder>
    • getDefaultInstanceForType

      public AnnotateImageResponse getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public AnnotateImageResponse build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public AnnotateImageResponse buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public AnnotateImageResponse.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<AnnotateImageResponse.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<AnnotateImageResponse.Builder>
    • mergeFrom

      public AnnotateImageResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<AnnotateImageResponse.Builder>
      Throws:
      IOException
    • getFaceAnnotationsList

      public List<FaceAnnotation> getFaceAnnotationsList()
       If present, face detection has completed successfully.
       
      repeated .google.cloud.vision.v1.FaceAnnotation face_annotations = 1;
      Specified by:
      getFaceAnnotationsList in interface AnnotateImageResponseOrBuilder
    • getFaceAnnotationsCount

      public int getFaceAnnotationsCount()
       If present, face detection has completed successfully.
       
      repeated .google.cloud.vision.v1.FaceAnnotation face_annotations = 1;
      Specified by:
      getFaceAnnotationsCount in interface AnnotateImageResponseOrBuilder
    • getFaceAnnotations

      public FaceAnnotation getFaceAnnotations(int index)
       If present, face detection has completed successfully.
       
      repeated .google.cloud.vision.v1.FaceAnnotation face_annotations = 1;
      Specified by:
      getFaceAnnotations in interface AnnotateImageResponseOrBuilder
    • setFaceAnnotations

      public AnnotateImageResponse.Builder setFaceAnnotations(int index, FaceAnnotation value)
       If present, face detection has completed successfully.
       
      repeated .google.cloud.vision.v1.FaceAnnotation face_annotations = 1;
    • setFaceAnnotations

      public AnnotateImageResponse.Builder setFaceAnnotations(int index, FaceAnnotation.Builder builderForValue)
       If present, face detection has completed successfully.
       
      repeated .google.cloud.vision.v1.FaceAnnotation face_annotations = 1;
    • addFaceAnnotations

      public AnnotateImageResponse.Builder addFaceAnnotations(FaceAnnotation value)
       If present, face detection has completed successfully.
       
      repeated .google.cloud.vision.v1.FaceAnnotation face_annotations = 1;
    • addFaceAnnotations

      public AnnotateImageResponse.Builder addFaceAnnotations(int index, FaceAnnotation value)
       If present, face detection has completed successfully.
       
      repeated .google.cloud.vision.v1.FaceAnnotation face_annotations = 1;
    • addFaceAnnotations

      public AnnotateImageResponse.Builder addFaceAnnotations(FaceAnnotation.Builder builderForValue)
       If present, face detection has completed successfully.
       
      repeated .google.cloud.vision.v1.FaceAnnotation face_annotations = 1;
    • addFaceAnnotations

      public AnnotateImageResponse.Builder addFaceAnnotations(int index, FaceAnnotation.Builder builderForValue)
       If present, face detection has completed successfully.
       
      repeated .google.cloud.vision.v1.FaceAnnotation face_annotations = 1;
    • addAllFaceAnnotations

      public AnnotateImageResponse.Builder addAllFaceAnnotations(Iterable<? extends FaceAnnotation> values)
       If present, face detection has completed successfully.
       
      repeated .google.cloud.vision.v1.FaceAnnotation face_annotations = 1;
    • clearFaceAnnotations

      public AnnotateImageResponse.Builder clearFaceAnnotations()
       If present, face detection has completed successfully.
       
      repeated .google.cloud.vision.v1.FaceAnnotation face_annotations = 1;
    • removeFaceAnnotations

      public AnnotateImageResponse.Builder removeFaceAnnotations(int index)
       If present, face detection has completed successfully.
       
      repeated .google.cloud.vision.v1.FaceAnnotation face_annotations = 1;
    • getFaceAnnotationsBuilder

      public FaceAnnotation.Builder getFaceAnnotationsBuilder(int index)
       If present, face detection has completed successfully.
       
      repeated .google.cloud.vision.v1.FaceAnnotation face_annotations = 1;
    • getFaceAnnotationsOrBuilder

      public FaceAnnotationOrBuilder getFaceAnnotationsOrBuilder(int index)
       If present, face detection has completed successfully.
       
      repeated .google.cloud.vision.v1.FaceAnnotation face_annotations = 1;
      Specified by:
      getFaceAnnotationsOrBuilder in interface AnnotateImageResponseOrBuilder
    • getFaceAnnotationsOrBuilderList

      public List<? extends FaceAnnotationOrBuilder> getFaceAnnotationsOrBuilderList()
       If present, face detection has completed successfully.
       
      repeated .google.cloud.vision.v1.FaceAnnotation face_annotations = 1;
      Specified by:
      getFaceAnnotationsOrBuilderList in interface AnnotateImageResponseOrBuilder
    • addFaceAnnotationsBuilder

      public FaceAnnotation.Builder addFaceAnnotationsBuilder()
       If present, face detection has completed successfully.
       
      repeated .google.cloud.vision.v1.FaceAnnotation face_annotations = 1;
    • addFaceAnnotationsBuilder

      public FaceAnnotation.Builder addFaceAnnotationsBuilder(int index)
       If present, face detection has completed successfully.
       
      repeated .google.cloud.vision.v1.FaceAnnotation face_annotations = 1;
    • getFaceAnnotationsBuilderList

      public List<FaceAnnotation.Builder> getFaceAnnotationsBuilderList()
       If present, face detection has completed successfully.
       
      repeated .google.cloud.vision.v1.FaceAnnotation face_annotations = 1;
    • getLandmarkAnnotationsList

      public List<EntityAnnotation> getLandmarkAnnotationsList()
       If present, landmark detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation landmark_annotations = 2;
      Specified by:
      getLandmarkAnnotationsList in interface AnnotateImageResponseOrBuilder
    • getLandmarkAnnotationsCount

      public int getLandmarkAnnotationsCount()
       If present, landmark detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation landmark_annotations = 2;
      Specified by:
      getLandmarkAnnotationsCount in interface AnnotateImageResponseOrBuilder
    • getLandmarkAnnotations

      public EntityAnnotation getLandmarkAnnotations(int index)
       If present, landmark detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation landmark_annotations = 2;
      Specified by:
      getLandmarkAnnotations in interface AnnotateImageResponseOrBuilder
    • setLandmarkAnnotations

      public AnnotateImageResponse.Builder setLandmarkAnnotations(int index, EntityAnnotation value)
       If present, landmark detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation landmark_annotations = 2;
    • setLandmarkAnnotations

      public AnnotateImageResponse.Builder setLandmarkAnnotations(int index, EntityAnnotation.Builder builderForValue)
       If present, landmark detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation landmark_annotations = 2;
    • addLandmarkAnnotations

      public AnnotateImageResponse.Builder addLandmarkAnnotations(EntityAnnotation value)
       If present, landmark detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation landmark_annotations = 2;
    • addLandmarkAnnotations

      public AnnotateImageResponse.Builder addLandmarkAnnotations(int index, EntityAnnotation value)
       If present, landmark detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation landmark_annotations = 2;
    • addLandmarkAnnotations

      public AnnotateImageResponse.Builder addLandmarkAnnotations(EntityAnnotation.Builder builderForValue)
       If present, landmark detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation landmark_annotations = 2;
    • addLandmarkAnnotations

      public AnnotateImageResponse.Builder addLandmarkAnnotations(int index, EntityAnnotation.Builder builderForValue)
       If present, landmark detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation landmark_annotations = 2;
    • addAllLandmarkAnnotations

      public AnnotateImageResponse.Builder addAllLandmarkAnnotations(Iterable<? extends EntityAnnotation> values)
       If present, landmark detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation landmark_annotations = 2;
    • clearLandmarkAnnotations

      public AnnotateImageResponse.Builder clearLandmarkAnnotations()
       If present, landmark detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation landmark_annotations = 2;
    • removeLandmarkAnnotations

      public AnnotateImageResponse.Builder removeLandmarkAnnotations(int index)
       If present, landmark detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation landmark_annotations = 2;
    • getLandmarkAnnotationsBuilder

      public EntityAnnotation.Builder getLandmarkAnnotationsBuilder(int index)
       If present, landmark detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation landmark_annotations = 2;
    • getLandmarkAnnotationsOrBuilder

      public EntityAnnotationOrBuilder getLandmarkAnnotationsOrBuilder(int index)
       If present, landmark detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation landmark_annotations = 2;
      Specified by:
      getLandmarkAnnotationsOrBuilder in interface AnnotateImageResponseOrBuilder
    • getLandmarkAnnotationsOrBuilderList

      public List<? extends EntityAnnotationOrBuilder> getLandmarkAnnotationsOrBuilderList()
       If present, landmark detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation landmark_annotations = 2;
      Specified by:
      getLandmarkAnnotationsOrBuilderList in interface AnnotateImageResponseOrBuilder
    • addLandmarkAnnotationsBuilder

      public EntityAnnotation.Builder addLandmarkAnnotationsBuilder()
       If present, landmark detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation landmark_annotations = 2;
    • addLandmarkAnnotationsBuilder

      public EntityAnnotation.Builder addLandmarkAnnotationsBuilder(int index)
       If present, landmark detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation landmark_annotations = 2;
    • getLandmarkAnnotationsBuilderList

      public List<EntityAnnotation.Builder> getLandmarkAnnotationsBuilderList()
       If present, landmark detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation landmark_annotations = 2;
    • getLogoAnnotationsList

      public List<EntityAnnotation> getLogoAnnotationsList()
       If present, logo detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation logo_annotations = 3;
      Specified by:
      getLogoAnnotationsList in interface AnnotateImageResponseOrBuilder
    • getLogoAnnotationsCount

      public int getLogoAnnotationsCount()
       If present, logo detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation logo_annotations = 3;
      Specified by:
      getLogoAnnotationsCount in interface AnnotateImageResponseOrBuilder
    • getLogoAnnotations

      public EntityAnnotation getLogoAnnotations(int index)
       If present, logo detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation logo_annotations = 3;
      Specified by:
      getLogoAnnotations in interface AnnotateImageResponseOrBuilder
    • setLogoAnnotations

      public AnnotateImageResponse.Builder setLogoAnnotations(int index, EntityAnnotation value)
       If present, logo detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation logo_annotations = 3;
    • setLogoAnnotations

      public AnnotateImageResponse.Builder setLogoAnnotations(int index, EntityAnnotation.Builder builderForValue)
       If present, logo detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation logo_annotations = 3;
    • addLogoAnnotations

      public AnnotateImageResponse.Builder addLogoAnnotations(EntityAnnotation value)
       If present, logo detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation logo_annotations = 3;
    • addLogoAnnotations

      public AnnotateImageResponse.Builder addLogoAnnotations(int index, EntityAnnotation value)
       If present, logo detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation logo_annotations = 3;
    • addLogoAnnotations

      public AnnotateImageResponse.Builder addLogoAnnotations(EntityAnnotation.Builder builderForValue)
       If present, logo detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation logo_annotations = 3;
    • addLogoAnnotations

      public AnnotateImageResponse.Builder addLogoAnnotations(int index, EntityAnnotation.Builder builderForValue)
       If present, logo detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation logo_annotations = 3;
    • addAllLogoAnnotations

      public AnnotateImageResponse.Builder addAllLogoAnnotations(Iterable<? extends EntityAnnotation> values)
       If present, logo detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation logo_annotations = 3;
    • clearLogoAnnotations

      public AnnotateImageResponse.Builder clearLogoAnnotations()
       If present, logo detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation logo_annotations = 3;
    • removeLogoAnnotations

      public AnnotateImageResponse.Builder removeLogoAnnotations(int index)
       If present, logo detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation logo_annotations = 3;
    • getLogoAnnotationsBuilder

      public EntityAnnotation.Builder getLogoAnnotationsBuilder(int index)
       If present, logo detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation logo_annotations = 3;
    • getLogoAnnotationsOrBuilder

      public EntityAnnotationOrBuilder getLogoAnnotationsOrBuilder(int index)
       If present, logo detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation logo_annotations = 3;
      Specified by:
      getLogoAnnotationsOrBuilder in interface AnnotateImageResponseOrBuilder
    • getLogoAnnotationsOrBuilderList

      public List<? extends EntityAnnotationOrBuilder> getLogoAnnotationsOrBuilderList()
       If present, logo detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation logo_annotations = 3;
      Specified by:
      getLogoAnnotationsOrBuilderList in interface AnnotateImageResponseOrBuilder
    • addLogoAnnotationsBuilder

      public EntityAnnotation.Builder addLogoAnnotationsBuilder()
       If present, logo detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation logo_annotations = 3;
    • addLogoAnnotationsBuilder

      public EntityAnnotation.Builder addLogoAnnotationsBuilder(int index)
       If present, logo detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation logo_annotations = 3;
    • getLogoAnnotationsBuilderList

      public List<EntityAnnotation.Builder> getLogoAnnotationsBuilderList()
       If present, logo detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation logo_annotations = 3;
    • getLabelAnnotationsList

      public List<EntityAnnotation> getLabelAnnotationsList()
       If present, label detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation label_annotations = 4;
      Specified by:
      getLabelAnnotationsList in interface AnnotateImageResponseOrBuilder
    • getLabelAnnotationsCount

      public int getLabelAnnotationsCount()
       If present, label detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation label_annotations = 4;
      Specified by:
      getLabelAnnotationsCount in interface AnnotateImageResponseOrBuilder
    • getLabelAnnotations

      public EntityAnnotation getLabelAnnotations(int index)
       If present, label detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation label_annotations = 4;
      Specified by:
      getLabelAnnotations in interface AnnotateImageResponseOrBuilder
    • setLabelAnnotations

      public AnnotateImageResponse.Builder setLabelAnnotations(int index, EntityAnnotation value)
       If present, label detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation label_annotations = 4;
    • setLabelAnnotations

      public AnnotateImageResponse.Builder setLabelAnnotations(int index, EntityAnnotation.Builder builderForValue)
       If present, label detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation label_annotations = 4;
    • addLabelAnnotations

      public AnnotateImageResponse.Builder addLabelAnnotations(EntityAnnotation value)
       If present, label detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation label_annotations = 4;
    • addLabelAnnotations

      public AnnotateImageResponse.Builder addLabelAnnotations(int index, EntityAnnotation value)
       If present, label detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation label_annotations = 4;
    • addLabelAnnotations

      public AnnotateImageResponse.Builder addLabelAnnotations(EntityAnnotation.Builder builderForValue)
       If present, label detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation label_annotations = 4;
    • addLabelAnnotations

      public AnnotateImageResponse.Builder addLabelAnnotations(int index, EntityAnnotation.Builder builderForValue)
       If present, label detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation label_annotations = 4;
    • addAllLabelAnnotations

      public AnnotateImageResponse.Builder addAllLabelAnnotations(Iterable<? extends EntityAnnotation> values)
       If present, label detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation label_annotations = 4;
    • clearLabelAnnotations

      public AnnotateImageResponse.Builder clearLabelAnnotations()
       If present, label detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation label_annotations = 4;
    • removeLabelAnnotations

      public AnnotateImageResponse.Builder removeLabelAnnotations(int index)
       If present, label detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation label_annotations = 4;
    • getLabelAnnotationsBuilder

      public EntityAnnotation.Builder getLabelAnnotationsBuilder(int index)
       If present, label detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation label_annotations = 4;
    • getLabelAnnotationsOrBuilder

      public EntityAnnotationOrBuilder getLabelAnnotationsOrBuilder(int index)
       If present, label detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation label_annotations = 4;
      Specified by:
      getLabelAnnotationsOrBuilder in interface AnnotateImageResponseOrBuilder
    • getLabelAnnotationsOrBuilderList

      public List<? extends EntityAnnotationOrBuilder> getLabelAnnotationsOrBuilderList()
       If present, label detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation label_annotations = 4;
      Specified by:
      getLabelAnnotationsOrBuilderList in interface AnnotateImageResponseOrBuilder
    • addLabelAnnotationsBuilder

      public EntityAnnotation.Builder addLabelAnnotationsBuilder()
       If present, label detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation label_annotations = 4;
    • addLabelAnnotationsBuilder

      public EntityAnnotation.Builder addLabelAnnotationsBuilder(int index)
       If present, label detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation label_annotations = 4;
    • getLabelAnnotationsBuilderList

      public List<EntityAnnotation.Builder> getLabelAnnotationsBuilderList()
       If present, label detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation label_annotations = 4;
    • getLocalizedObjectAnnotationsList

      public List<LocalizedObjectAnnotation> getLocalizedObjectAnnotationsList()
       If present, localized object detection has completed successfully.
       This will be sorted descending by confidence score.
       
      repeated .google.cloud.vision.v1.LocalizedObjectAnnotation localized_object_annotations = 22;
      Specified by:
      getLocalizedObjectAnnotationsList in interface AnnotateImageResponseOrBuilder
    • getLocalizedObjectAnnotationsCount

      public int getLocalizedObjectAnnotationsCount()
       If present, localized object detection has completed successfully.
       This will be sorted descending by confidence score.
       
      repeated .google.cloud.vision.v1.LocalizedObjectAnnotation localized_object_annotations = 22;
      Specified by:
      getLocalizedObjectAnnotationsCount in interface AnnotateImageResponseOrBuilder
    • getLocalizedObjectAnnotations

      public LocalizedObjectAnnotation getLocalizedObjectAnnotations(int index)
       If present, localized object detection has completed successfully.
       This will be sorted descending by confidence score.
       
      repeated .google.cloud.vision.v1.LocalizedObjectAnnotation localized_object_annotations = 22;
      Specified by:
      getLocalizedObjectAnnotations in interface AnnotateImageResponseOrBuilder
    • setLocalizedObjectAnnotations

      public AnnotateImageResponse.Builder setLocalizedObjectAnnotations(int index, LocalizedObjectAnnotation value)
       If present, localized object detection has completed successfully.
       This will be sorted descending by confidence score.
       
      repeated .google.cloud.vision.v1.LocalizedObjectAnnotation localized_object_annotations = 22;
    • setLocalizedObjectAnnotations

      public AnnotateImageResponse.Builder setLocalizedObjectAnnotations(int index, LocalizedObjectAnnotation.Builder builderForValue)
       If present, localized object detection has completed successfully.
       This will be sorted descending by confidence score.
       
      repeated .google.cloud.vision.v1.LocalizedObjectAnnotation localized_object_annotations = 22;
    • addLocalizedObjectAnnotations

      public AnnotateImageResponse.Builder addLocalizedObjectAnnotations(LocalizedObjectAnnotation value)
       If present, localized object detection has completed successfully.
       This will be sorted descending by confidence score.
       
      repeated .google.cloud.vision.v1.LocalizedObjectAnnotation localized_object_annotations = 22;
    • addLocalizedObjectAnnotations

      public AnnotateImageResponse.Builder addLocalizedObjectAnnotations(int index, LocalizedObjectAnnotation value)
       If present, localized object detection has completed successfully.
       This will be sorted descending by confidence score.
       
      repeated .google.cloud.vision.v1.LocalizedObjectAnnotation localized_object_annotations = 22;
    • addLocalizedObjectAnnotations

      public AnnotateImageResponse.Builder addLocalizedObjectAnnotations(LocalizedObjectAnnotation.Builder builderForValue)
       If present, localized object detection has completed successfully.
       This will be sorted descending by confidence score.
       
      repeated .google.cloud.vision.v1.LocalizedObjectAnnotation localized_object_annotations = 22;
    • addLocalizedObjectAnnotations

      public AnnotateImageResponse.Builder addLocalizedObjectAnnotations(int index, LocalizedObjectAnnotation.Builder builderForValue)
       If present, localized object detection has completed successfully.
       This will be sorted descending by confidence score.
       
      repeated .google.cloud.vision.v1.LocalizedObjectAnnotation localized_object_annotations = 22;
    • addAllLocalizedObjectAnnotations

      public AnnotateImageResponse.Builder addAllLocalizedObjectAnnotations(Iterable<? extends LocalizedObjectAnnotation> values)
       If present, localized object detection has completed successfully.
       This will be sorted descending by confidence score.
       
      repeated .google.cloud.vision.v1.LocalizedObjectAnnotation localized_object_annotations = 22;
    • clearLocalizedObjectAnnotations

      public AnnotateImageResponse.Builder clearLocalizedObjectAnnotations()
       If present, localized object detection has completed successfully.
       This will be sorted descending by confidence score.
       
      repeated .google.cloud.vision.v1.LocalizedObjectAnnotation localized_object_annotations = 22;
    • removeLocalizedObjectAnnotations

      public AnnotateImageResponse.Builder removeLocalizedObjectAnnotations(int index)
       If present, localized object detection has completed successfully.
       This will be sorted descending by confidence score.
       
      repeated .google.cloud.vision.v1.LocalizedObjectAnnotation localized_object_annotations = 22;
    • getLocalizedObjectAnnotationsBuilder

      public LocalizedObjectAnnotation.Builder getLocalizedObjectAnnotationsBuilder(int index)
       If present, localized object detection has completed successfully.
       This will be sorted descending by confidence score.
       
      repeated .google.cloud.vision.v1.LocalizedObjectAnnotation localized_object_annotations = 22;
    • getLocalizedObjectAnnotationsOrBuilder

      public LocalizedObjectAnnotationOrBuilder getLocalizedObjectAnnotationsOrBuilder(int index)
       If present, localized object detection has completed successfully.
       This will be sorted descending by confidence score.
       
      repeated .google.cloud.vision.v1.LocalizedObjectAnnotation localized_object_annotations = 22;
      Specified by:
      getLocalizedObjectAnnotationsOrBuilder in interface AnnotateImageResponseOrBuilder
    • getLocalizedObjectAnnotationsOrBuilderList

      public List<? extends LocalizedObjectAnnotationOrBuilder> getLocalizedObjectAnnotationsOrBuilderList()
       If present, localized object detection has completed successfully.
       This will be sorted descending by confidence score.
       
      repeated .google.cloud.vision.v1.LocalizedObjectAnnotation localized_object_annotations = 22;
      Specified by:
      getLocalizedObjectAnnotationsOrBuilderList in interface AnnotateImageResponseOrBuilder
    • addLocalizedObjectAnnotationsBuilder

      public LocalizedObjectAnnotation.Builder addLocalizedObjectAnnotationsBuilder()
       If present, localized object detection has completed successfully.
       This will be sorted descending by confidence score.
       
      repeated .google.cloud.vision.v1.LocalizedObjectAnnotation localized_object_annotations = 22;
    • addLocalizedObjectAnnotationsBuilder

      public LocalizedObjectAnnotation.Builder addLocalizedObjectAnnotationsBuilder(int index)
       If present, localized object detection has completed successfully.
       This will be sorted descending by confidence score.
       
      repeated .google.cloud.vision.v1.LocalizedObjectAnnotation localized_object_annotations = 22;
    • getLocalizedObjectAnnotationsBuilderList

      public List<LocalizedObjectAnnotation.Builder> getLocalizedObjectAnnotationsBuilderList()
       If present, localized object detection has completed successfully.
       This will be sorted descending by confidence score.
       
      repeated .google.cloud.vision.v1.LocalizedObjectAnnotation localized_object_annotations = 22;
    • getTextAnnotationsList

      public List<EntityAnnotation> getTextAnnotationsList()
       If present, text (OCR) detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation text_annotations = 5;
      Specified by:
      getTextAnnotationsList in interface AnnotateImageResponseOrBuilder
    • getTextAnnotationsCount

      public int getTextAnnotationsCount()
       If present, text (OCR) detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation text_annotations = 5;
      Specified by:
      getTextAnnotationsCount in interface AnnotateImageResponseOrBuilder
    • getTextAnnotations

      public EntityAnnotation getTextAnnotations(int index)
       If present, text (OCR) detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation text_annotations = 5;
      Specified by:
      getTextAnnotations in interface AnnotateImageResponseOrBuilder
    • setTextAnnotations

      public AnnotateImageResponse.Builder setTextAnnotations(int index, EntityAnnotation value)
       If present, text (OCR) detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation text_annotations = 5;
    • setTextAnnotations

      public AnnotateImageResponse.Builder setTextAnnotations(int index, EntityAnnotation.Builder builderForValue)
       If present, text (OCR) detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation text_annotations = 5;
    • addTextAnnotations

      public AnnotateImageResponse.Builder addTextAnnotations(EntityAnnotation value)
       If present, text (OCR) detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation text_annotations = 5;
    • addTextAnnotations

      public AnnotateImageResponse.Builder addTextAnnotations(int index, EntityAnnotation value)
       If present, text (OCR) detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation text_annotations = 5;
    • addTextAnnotations

      public AnnotateImageResponse.Builder addTextAnnotations(EntityAnnotation.Builder builderForValue)
       If present, text (OCR) detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation text_annotations = 5;
    • addTextAnnotations

      public AnnotateImageResponse.Builder addTextAnnotations(int index, EntityAnnotation.Builder builderForValue)
       If present, text (OCR) detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation text_annotations = 5;
    • addAllTextAnnotations

      public AnnotateImageResponse.Builder addAllTextAnnotations(Iterable<? extends EntityAnnotation> values)
       If present, text (OCR) detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation text_annotations = 5;
    • clearTextAnnotations

      public AnnotateImageResponse.Builder clearTextAnnotations()
       If present, text (OCR) detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation text_annotations = 5;
    • removeTextAnnotations

      public AnnotateImageResponse.Builder removeTextAnnotations(int index)
       If present, text (OCR) detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation text_annotations = 5;
    • getTextAnnotationsBuilder

      public EntityAnnotation.Builder getTextAnnotationsBuilder(int index)
       If present, text (OCR) detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation text_annotations = 5;
    • getTextAnnotationsOrBuilder

      public EntityAnnotationOrBuilder getTextAnnotationsOrBuilder(int index)
       If present, text (OCR) detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation text_annotations = 5;
      Specified by:
      getTextAnnotationsOrBuilder in interface AnnotateImageResponseOrBuilder
    • getTextAnnotationsOrBuilderList

      public List<? extends EntityAnnotationOrBuilder> getTextAnnotationsOrBuilderList()
       If present, text (OCR) detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation text_annotations = 5;
      Specified by:
      getTextAnnotationsOrBuilderList in interface AnnotateImageResponseOrBuilder
    • addTextAnnotationsBuilder

      public EntityAnnotation.Builder addTextAnnotationsBuilder()
       If present, text (OCR) detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation text_annotations = 5;
    • addTextAnnotationsBuilder

      public EntityAnnotation.Builder addTextAnnotationsBuilder(int index)
       If present, text (OCR) detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation text_annotations = 5;
    • getTextAnnotationsBuilderList

      public List<EntityAnnotation.Builder> getTextAnnotationsBuilderList()
       If present, text (OCR) detection has completed successfully.
       
      repeated .google.cloud.vision.v1.EntityAnnotation text_annotations = 5;
    • hasFullTextAnnotation

      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.v1.TextAnnotation full_text_annotation = 12;
      Specified by:
      hasFullTextAnnotation in interface AnnotateImageResponseOrBuilder
      Returns:
      Whether the fullTextAnnotation field is set.
    • getFullTextAnnotation

      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.v1.TextAnnotation full_text_annotation = 12;
      Specified by:
      getFullTextAnnotation in interface AnnotateImageResponseOrBuilder
      Returns:
      The fullTextAnnotation.
    • setFullTextAnnotation

      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.v1.TextAnnotation full_text_annotation = 12;
    • setFullTextAnnotation

      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.v1.TextAnnotation full_text_annotation = 12;
    • mergeFullTextAnnotation

      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.v1.TextAnnotation full_text_annotation = 12;
    • clearFullTextAnnotation

      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.v1.TextAnnotation full_text_annotation = 12;
    • getFullTextAnnotationBuilder

      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.v1.TextAnnotation full_text_annotation = 12;
    • getFullTextAnnotationOrBuilder

      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.v1.TextAnnotation full_text_annotation = 12;
      Specified by:
      getFullTextAnnotationOrBuilder in interface AnnotateImageResponseOrBuilder
    • hasSafeSearchAnnotation

      public boolean hasSafeSearchAnnotation()
       If present, safe-search annotation has completed successfully.
       
      .google.cloud.vision.v1.SafeSearchAnnotation safe_search_annotation = 6;
      Specified by:
      hasSafeSearchAnnotation in interface AnnotateImageResponseOrBuilder
      Returns:
      Whether the safeSearchAnnotation field is set.
    • getSafeSearchAnnotation

      public SafeSearchAnnotation getSafeSearchAnnotation()
       If present, safe-search annotation has completed successfully.
       
      .google.cloud.vision.v1.SafeSearchAnnotation safe_search_annotation = 6;
      Specified by:
      getSafeSearchAnnotation in interface AnnotateImageResponseOrBuilder
      Returns:
      The safeSearchAnnotation.
    • setSafeSearchAnnotation

      public AnnotateImageResponse.Builder setSafeSearchAnnotation(SafeSearchAnnotation value)
       If present, safe-search annotation has completed successfully.
       
      .google.cloud.vision.v1.SafeSearchAnnotation safe_search_annotation = 6;
    • setSafeSearchAnnotation

      public AnnotateImageResponse.Builder setSafeSearchAnnotation(SafeSearchAnnotation.Builder builderForValue)
       If present, safe-search annotation has completed successfully.
       
      .google.cloud.vision.v1.SafeSearchAnnotation safe_search_annotation = 6;
    • mergeSafeSearchAnnotation

      public AnnotateImageResponse.Builder mergeSafeSearchAnnotation(SafeSearchAnnotation value)
       If present, safe-search annotation has completed successfully.
       
      .google.cloud.vision.v1.SafeSearchAnnotation safe_search_annotation = 6;
    • clearSafeSearchAnnotation

      public AnnotateImageResponse.Builder clearSafeSearchAnnotation()
       If present, safe-search annotation has completed successfully.
       
      .google.cloud.vision.v1.SafeSearchAnnotation safe_search_annotation = 6;
    • getSafeSearchAnnotationBuilder

      public SafeSearchAnnotation.Builder getSafeSearchAnnotationBuilder()
       If present, safe-search annotation has completed successfully.
       
      .google.cloud.vision.v1.SafeSearchAnnotation safe_search_annotation = 6;
    • getSafeSearchAnnotationOrBuilder

      public SafeSearchAnnotationOrBuilder getSafeSearchAnnotationOrBuilder()
       If present, safe-search annotation has completed successfully.
       
      .google.cloud.vision.v1.SafeSearchAnnotation safe_search_annotation = 6;
      Specified by:
      getSafeSearchAnnotationOrBuilder in interface AnnotateImageResponseOrBuilder
    • hasImagePropertiesAnnotation

      public boolean hasImagePropertiesAnnotation()
       If present, image properties were extracted successfully.
       
      .google.cloud.vision.v1.ImageProperties image_properties_annotation = 8;
      Specified by:
      hasImagePropertiesAnnotation in interface AnnotateImageResponseOrBuilder
      Returns:
      Whether the imagePropertiesAnnotation field is set.
    • getImagePropertiesAnnotation

      public ImageProperties getImagePropertiesAnnotation()
       If present, image properties were extracted successfully.
       
      .google.cloud.vision.v1.ImageProperties image_properties_annotation = 8;
      Specified by:
      getImagePropertiesAnnotation in interface AnnotateImageResponseOrBuilder
      Returns:
      The imagePropertiesAnnotation.
    • setImagePropertiesAnnotation

      public AnnotateImageResponse.Builder setImagePropertiesAnnotation(ImageProperties value)
       If present, image properties were extracted successfully.
       
      .google.cloud.vision.v1.ImageProperties image_properties_annotation = 8;
    • setImagePropertiesAnnotation

      public AnnotateImageResponse.Builder setImagePropertiesAnnotation(ImageProperties.Builder builderForValue)
       If present, image properties were extracted successfully.
       
      .google.cloud.vision.v1.ImageProperties image_properties_annotation = 8;
    • mergeImagePropertiesAnnotation

      public AnnotateImageResponse.Builder mergeImagePropertiesAnnotation(ImageProperties value)
       If present, image properties were extracted successfully.
       
      .google.cloud.vision.v1.ImageProperties image_properties_annotation = 8;
    • clearImagePropertiesAnnotation

      public AnnotateImageResponse.Builder clearImagePropertiesAnnotation()
       If present, image properties were extracted successfully.
       
      .google.cloud.vision.v1.ImageProperties image_properties_annotation = 8;
    • getImagePropertiesAnnotationBuilder

      public ImageProperties.Builder getImagePropertiesAnnotationBuilder()
       If present, image properties were extracted successfully.
       
      .google.cloud.vision.v1.ImageProperties image_properties_annotation = 8;
    • getImagePropertiesAnnotationOrBuilder

      public ImagePropertiesOrBuilder getImagePropertiesAnnotationOrBuilder()
       If present, image properties were extracted successfully.
       
      .google.cloud.vision.v1.ImageProperties image_properties_annotation = 8;
      Specified by:
      getImagePropertiesAnnotationOrBuilder in interface AnnotateImageResponseOrBuilder
    • hasCropHintsAnnotation

      public boolean hasCropHintsAnnotation()
       If present, crop hints have completed successfully.
       
      .google.cloud.vision.v1.CropHintsAnnotation crop_hints_annotation = 11;
      Specified by:
      hasCropHintsAnnotation in interface AnnotateImageResponseOrBuilder
      Returns:
      Whether the cropHintsAnnotation field is set.
    • getCropHintsAnnotation

      public CropHintsAnnotation getCropHintsAnnotation()
       If present, crop hints have completed successfully.
       
      .google.cloud.vision.v1.CropHintsAnnotation crop_hints_annotation = 11;
      Specified by:
      getCropHintsAnnotation in interface AnnotateImageResponseOrBuilder
      Returns:
      The cropHintsAnnotation.
    • setCropHintsAnnotation

      public AnnotateImageResponse.Builder setCropHintsAnnotation(CropHintsAnnotation value)
       If present, crop hints have completed successfully.
       
      .google.cloud.vision.v1.CropHintsAnnotation crop_hints_annotation = 11;
    • setCropHintsAnnotation

      public AnnotateImageResponse.Builder setCropHintsAnnotation(CropHintsAnnotation.Builder builderForValue)
       If present, crop hints have completed successfully.
       
      .google.cloud.vision.v1.CropHintsAnnotation crop_hints_annotation = 11;
    • mergeCropHintsAnnotation

      public AnnotateImageResponse.Builder mergeCropHintsAnnotation(CropHintsAnnotation value)
       If present, crop hints have completed successfully.
       
      .google.cloud.vision.v1.CropHintsAnnotation crop_hints_annotation = 11;
    • clearCropHintsAnnotation

      public AnnotateImageResponse.Builder clearCropHintsAnnotation()
       If present, crop hints have completed successfully.
       
      .google.cloud.vision.v1.CropHintsAnnotation crop_hints_annotation = 11;
    • getCropHintsAnnotationBuilder

      public CropHintsAnnotation.Builder getCropHintsAnnotationBuilder()
       If present, crop hints have completed successfully.
       
      .google.cloud.vision.v1.CropHintsAnnotation crop_hints_annotation = 11;
    • getCropHintsAnnotationOrBuilder

      public CropHintsAnnotationOrBuilder getCropHintsAnnotationOrBuilder()
       If present, crop hints have completed successfully.
       
      .google.cloud.vision.v1.CropHintsAnnotation crop_hints_annotation = 11;
      Specified by:
      getCropHintsAnnotationOrBuilder in interface AnnotateImageResponseOrBuilder
    • hasWebDetection

      public boolean hasWebDetection()
       If present, web detection has completed successfully.
       
      .google.cloud.vision.v1.WebDetection web_detection = 13;
      Specified by:
      hasWebDetection in interface AnnotateImageResponseOrBuilder
      Returns:
      Whether the webDetection field is set.
    • getWebDetection

      public WebDetection getWebDetection()
       If present, web detection has completed successfully.
       
      .google.cloud.vision.v1.WebDetection web_detection = 13;
      Specified by:
      getWebDetection in interface AnnotateImageResponseOrBuilder
      Returns:
      The webDetection.
    • setWebDetection

      public AnnotateImageResponse.Builder setWebDetection(WebDetection value)
       If present, web detection has completed successfully.
       
      .google.cloud.vision.v1.WebDetection web_detection = 13;
    • setWebDetection

      public AnnotateImageResponse.Builder setWebDetection(WebDetection.Builder builderForValue)
       If present, web detection has completed successfully.
       
      .google.cloud.vision.v1.WebDetection web_detection = 13;
    • mergeWebDetection

      public AnnotateImageResponse.Builder mergeWebDetection(WebDetection value)
       If present, web detection has completed successfully.
       
      .google.cloud.vision.v1.WebDetection web_detection = 13;
    • clearWebDetection

      public AnnotateImageResponse.Builder clearWebDetection()
       If present, web detection has completed successfully.
       
      .google.cloud.vision.v1.WebDetection web_detection = 13;
    • getWebDetectionBuilder

      public WebDetection.Builder getWebDetectionBuilder()
       If present, web detection has completed successfully.
       
      .google.cloud.vision.v1.WebDetection web_detection = 13;
    • getWebDetectionOrBuilder

      public WebDetectionOrBuilder getWebDetectionOrBuilder()
       If present, web detection has completed successfully.
       
      .google.cloud.vision.v1.WebDetection web_detection = 13;
      Specified by:
      getWebDetectionOrBuilder in interface AnnotateImageResponseOrBuilder
    • hasProductSearchResults

      public boolean hasProductSearchResults()
       If present, product search has completed successfully.
       
      .google.cloud.vision.v1.ProductSearchResults product_search_results = 14;
      Specified by:
      hasProductSearchResults in interface AnnotateImageResponseOrBuilder
      Returns:
      Whether the productSearchResults field is set.
    • getProductSearchResults

      public ProductSearchResults getProductSearchResults()
       If present, product search has completed successfully.
       
      .google.cloud.vision.v1.ProductSearchResults product_search_results = 14;
      Specified by:
      getProductSearchResults in interface AnnotateImageResponseOrBuilder
      Returns:
      The productSearchResults.
    • setProductSearchResults

      public AnnotateImageResponse.Builder setProductSearchResults(ProductSearchResults value)
       If present, product search has completed successfully.
       
      .google.cloud.vision.v1.ProductSearchResults product_search_results = 14;
    • setProductSearchResults

      public AnnotateImageResponse.Builder setProductSearchResults(ProductSearchResults.Builder builderForValue)
       If present, product search has completed successfully.
       
      .google.cloud.vision.v1.ProductSearchResults product_search_results = 14;
    • mergeProductSearchResults

      public AnnotateImageResponse.Builder mergeProductSearchResults(ProductSearchResults value)
       If present, product search has completed successfully.
       
      .google.cloud.vision.v1.ProductSearchResults product_search_results = 14;
    • clearProductSearchResults

      public AnnotateImageResponse.Builder clearProductSearchResults()
       If present, product search has completed successfully.
       
      .google.cloud.vision.v1.ProductSearchResults product_search_results = 14;
    • getProductSearchResultsBuilder

      public ProductSearchResults.Builder getProductSearchResultsBuilder()
       If present, product search has completed successfully.
       
      .google.cloud.vision.v1.ProductSearchResults product_search_results = 14;
    • getProductSearchResultsOrBuilder

      public ProductSearchResultsOrBuilder getProductSearchResultsOrBuilder()
       If present, product search has completed successfully.
       
      .google.cloud.vision.v1.ProductSearchResults product_search_results = 14;
      Specified by:
      getProductSearchResultsOrBuilder in interface AnnotateImageResponseOrBuilder
    • hasError

      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;
      Specified by:
      hasError in interface AnnotateImageResponseOrBuilder
      Returns:
      Whether the error field is set.
    • getError

      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;
      Specified by:
      getError in interface AnnotateImageResponseOrBuilder
      Returns:
      The error.
    • setError

      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;
    • setError

      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;
    • mergeError

      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;
    • clearError

      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;
    • getErrorBuilder

      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;
    • getErrorOrBuilder

      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;
      Specified by:
      getErrorOrBuilder in interface AnnotateImageResponseOrBuilder
    • hasContext

      public boolean hasContext()
       If present, contextual information is needed to understand where this image
       comes from.
       
      .google.cloud.vision.v1.ImageAnnotationContext context = 21;
      Specified by:
      hasContext in interface AnnotateImageResponseOrBuilder
      Returns:
      Whether the context field is set.
    • getContext

      public ImageAnnotationContext getContext()
       If present, contextual information is needed to understand where this image
       comes from.
       
      .google.cloud.vision.v1.ImageAnnotationContext context = 21;
      Specified by:
      getContext in interface AnnotateImageResponseOrBuilder
      Returns:
      The context.
    • setContext

       If present, contextual information is needed to understand where this image
       comes from.
       
      .google.cloud.vision.v1.ImageAnnotationContext context = 21;
    • setContext

       If present, contextual information is needed to understand where this image
       comes from.
       
      .google.cloud.vision.v1.ImageAnnotationContext context = 21;
    • mergeContext

       If present, contextual information is needed to understand where this image
       comes from.
       
      .google.cloud.vision.v1.ImageAnnotationContext context = 21;
    • clearContext

      public AnnotateImageResponse.Builder clearContext()
       If present, contextual information is needed to understand where this image
       comes from.
       
      .google.cloud.vision.v1.ImageAnnotationContext context = 21;
    • getContextBuilder

      public ImageAnnotationContext.Builder getContextBuilder()
       If present, contextual information is needed to understand where this image
       comes from.
       
      .google.cloud.vision.v1.ImageAnnotationContext context = 21;
    • getContextOrBuilder

      public ImageAnnotationContextOrBuilder getContextOrBuilder()
       If present, contextual information is needed to understand where this image
       comes from.
       
      .google.cloud.vision.v1.ImageAnnotationContext context = 21;
      Specified by:
      getContextOrBuilder in interface AnnotateImageResponseOrBuilder