Class AnnotateImageResponse

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.vision.v1.AnnotateImageResponse
All Implemented Interfaces:
AnnotateImageResponseOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class AnnotateImageResponse extends com.google.protobuf.GeneratedMessage implements AnnotateImageResponseOrBuilder
 Response to an image annotation request.
 
Protobuf type google.cloud.vision.v1.AnnotateImageResponse
See Also:
  • Field Details

    • FACE_ANNOTATIONS_FIELD_NUMBER

      public static final int FACE_ANNOTATIONS_FIELD_NUMBER
      See Also:
    • LANDMARK_ANNOTATIONS_FIELD_NUMBER

      public static final int LANDMARK_ANNOTATIONS_FIELD_NUMBER
      See Also:
    • LOGO_ANNOTATIONS_FIELD_NUMBER

      public static final int LOGO_ANNOTATIONS_FIELD_NUMBER
      See Also:
    • LABEL_ANNOTATIONS_FIELD_NUMBER

      public static final int LABEL_ANNOTATIONS_FIELD_NUMBER
      See Also:
    • LOCALIZED_OBJECT_ANNOTATIONS_FIELD_NUMBER

      public static final int LOCALIZED_OBJECT_ANNOTATIONS_FIELD_NUMBER
      See Also:
    • TEXT_ANNOTATIONS_FIELD_NUMBER

      public static final int TEXT_ANNOTATIONS_FIELD_NUMBER
      See Also:
    • FULL_TEXT_ANNOTATION_FIELD_NUMBER

      public static final int FULL_TEXT_ANNOTATION_FIELD_NUMBER
      See Also:
    • SAFE_SEARCH_ANNOTATION_FIELD_NUMBER

      public static final int SAFE_SEARCH_ANNOTATION_FIELD_NUMBER
      See Also:
    • IMAGE_PROPERTIES_ANNOTATION_FIELD_NUMBER

      public static final int IMAGE_PROPERTIES_ANNOTATION_FIELD_NUMBER
      See Also:
    • CROP_HINTS_ANNOTATION_FIELD_NUMBER

      public static final int CROP_HINTS_ANNOTATION_FIELD_NUMBER
      See Also:
    • WEB_DETECTION_FIELD_NUMBER

      public static final int WEB_DETECTION_FIELD_NUMBER
      See Also:
    • PRODUCT_SEARCH_RESULTS_FIELD_NUMBER

      public static final int PRODUCT_SEARCH_RESULTS_FIELD_NUMBER
      See Also:
    • ERROR_FIELD_NUMBER

      public static final int ERROR_FIELD_NUMBER
      See Also:
    • CONTEXT_FIELD_NUMBER

      public static final int CONTEXT_FIELD_NUMBER
      See Also:
  • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static AnnotateImageResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AnnotateImageResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AnnotateImageResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AnnotateImageResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AnnotateImageResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AnnotateImageResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AnnotateImageResponse parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static AnnotateImageResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static AnnotateImageResponse parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static AnnotateImageResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static AnnotateImageResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static AnnotateImageResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static AnnotateImageResponse.Builder newBuilder()
    • newBuilder

      public static AnnotateImageResponse.Builder newBuilder(AnnotateImageResponse prototype)
    • toBuilder

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

      protected AnnotateImageResponse.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static AnnotateImageResponse getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<AnnotateImageResponse> parser()
    • getParserForType

      public com.google.protobuf.Parser<AnnotateImageResponse> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

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