Package com.google.cloud.vision.v1
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 TypeMethodDescriptiongetPages(int index) List of pages detected by OCR.intList 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.getText()UTF-8 text detected on the pages.com.google.protobuf.ByteStringUTF-8 text detected on the pages.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getPagesList
List of pages detected by OCR.
repeated .google.cloud.vision.v1.Page pages = 1; -
getPages
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
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.
-