public interface TextAnnotationOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
Page |
getPages(int index)
List of pages detected by OCR.
|
int |
getPagesCount()
List of pages detected by OCR.
|
java.util.List<Page> |
getPagesList()
List of pages detected by OCR.
|
PageOrBuilder |
getPagesOrBuilder(int index)
List of pages detected by OCR.
|
java.util.List<? extends PageOrBuilder> |
getPagesOrBuilderList()
List of pages detected by OCR.
|
java.lang.String |
getText()
UTF-8 text detected on the pages.
|
ByteString |
getTextBytes()
UTF-8 text detected on the pages.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
java.util.List<Page> getPagesList()
List of pages detected by OCR.
repeated .google.cloud.vision.v1.Page pages = 1;
Page getPages(int index)
List of pages detected by OCR.
repeated .google.cloud.vision.v1.Page pages = 1;
int getPagesCount()
List of pages detected by OCR.
repeated .google.cloud.vision.v1.Page pages = 1;
java.util.List<? extends PageOrBuilder> getPagesOrBuilderList()
List of pages detected by OCR.
repeated .google.cloud.vision.v1.Page pages = 1;
PageOrBuilder getPagesOrBuilder(int index)
List of pages detected by OCR.
repeated .google.cloud.vision.v1.Page pages = 1;
java.lang.String getText()
UTF-8 text detected on the pages.
string text = 2;
ByteString getTextBytes()
UTF-8 text detected on the pages.
string text = 2;