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
public interface TextAnnotationOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Page
getPages(int index)
List of pages detected by OCR.int
getPagesCount()
List of pages detected by OCR.List<Page>
getPagesList()
List of pages detected by OCR.PageOrBuilder
getPagesOrBuilder(int index)
List of pages detected by OCR.List<? extends PageOrBuilder>
getPagesOrBuilderList()
List of pages detected by OCR.String
getText()
UTF-8 text detected on the pages.com.google.protobuf.ByteString
getTextBytes()
UTF-8 text detected on the pages.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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.
-
-