Interface TextAnnotationOrBuilder (3.43.0)

public interface TextAnnotationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPages(int index)

public abstract Page getPages(int index)

List of pages detected by OCR.

repeated .google.cloud.vision.v1p3beta1.Page pages = 1;

Parameter
Name Description
index int
Returns
Type Description
Page

getPagesCount()

public abstract int getPagesCount()

List of pages detected by OCR.

repeated .google.cloud.vision.v1p3beta1.Page pages = 1;

Returns
Type Description
int

getPagesList()

public abstract List<Page> getPagesList()

List of pages detected by OCR.

repeated .google.cloud.vision.v1p3beta1.Page pages = 1;

Returns
Type Description
List<Page>

getPagesOrBuilder(int index)

public abstract PageOrBuilder getPagesOrBuilder(int index)

List of pages detected by OCR.

repeated .google.cloud.vision.v1p3beta1.Page pages = 1;

Parameter
Name Description
index int
Returns
Type Description
PageOrBuilder

getPagesOrBuilderList()

public abstract List<? extends PageOrBuilder> getPagesOrBuilderList()

List of pages detected by OCR.

repeated .google.cloud.vision.v1p3beta1.Page pages = 1;

Returns
Type Description
List<? extends com.google.cloud.vision.v1p3beta1.PageOrBuilder>

getText()

public abstract String getText()

UTF-8 text detected on the pages.

string text = 2;

Returns
Type Description
String

The text.

getTextBytes()

public abstract ByteString getTextBytes()

UTF-8 text detected on the pages.

string text = 2;

Returns
Type Description
ByteString

The bytes for text.