Interface TextAnnotationOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
TextAnnotation, TextAnnotation.Builder

@Generated public interface TextAnnotationOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    getPages(int index)
    List of pages detected by OCR.
    int
    List of pages detected by OCR.
    List of pages detected by OCR.
    getPagesOrBuilder(int index)
    List of pages detected by OCR.
    List<? extends PageOrBuilder>
    List of pages detected by OCR.
    UTF-8 text detected on the pages.
    com.google.protobuf.ByteString
    UTF-8 text detected on the pages.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getPagesList

      List<Page> getPagesList()
       List of pages detected by OCR.
       
      repeated .google.cloud.vision.v1.Page pages = 1;
    • getPages

      Page getPages(int index)
       List of pages detected by OCR.
       
      repeated .google.cloud.vision.v1.Page pages = 1;
    • getPagesCount

      int getPagesCount()
       List of pages detected by OCR.
       
      repeated .google.cloud.vision.v1.Page pages = 1;
    • getPagesOrBuilderList

      List<? extends PageOrBuilder> getPagesOrBuilderList()
       List of pages detected by OCR.
       
      repeated .google.cloud.vision.v1.Page pages = 1;
    • getPagesOrBuilder

      PageOrBuilder getPagesOrBuilder(int index)
       List of pages detected by OCR.
       
      repeated .google.cloud.vision.v1.Page pages = 1;
    • getText

      String getText()
       UTF-8 text detected on the pages.
       
      string text = 2;
      Returns:
      The text.
    • getTextBytes

      com.google.protobuf.ByteString getTextBytes()
       UTF-8 text detected on the pages.
       
      string text = 2;
      Returns:
      The bytes for text.