Interface Document.PageOrBuilder (2.12.0)

public static interface Document.PageOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBlocks(int index)

public abstract Document.Page.Block getBlocks(int index)

A list of visually detected text blocks on the page. A block has a set of lines (collected into paragraphs) that have a common line-spacing and orientation.

repeated .google.cloud.documentai.v1beta3.Document.Page.Block blocks = 5;

Parameter
NameDescription
indexint
Returns
TypeDescription
Document.Page.Block

getBlocksCount()

public abstract int getBlocksCount()

A list of visually detected text blocks on the page. A block has a set of lines (collected into paragraphs) that have a common line-spacing and orientation.

repeated .google.cloud.documentai.v1beta3.Document.Page.Block blocks = 5;

Returns
TypeDescription
int

getBlocksList()

public abstract List<Document.Page.Block> getBlocksList()

A list of visually detected text blocks on the page. A block has a set of lines (collected into paragraphs) that have a common line-spacing and orientation.

repeated .google.cloud.documentai.v1beta3.Document.Page.Block blocks = 5;

Returns
TypeDescription
List<Block>

getBlocksOrBuilder(int index)

public abstract Document.Page.BlockOrBuilder getBlocksOrBuilder(int index)

A list of visually detected text blocks on the page. A block has a set of lines (collected into paragraphs) that have a common line-spacing and orientation.

repeated .google.cloud.documentai.v1beta3.Document.Page.Block blocks = 5;

Parameter
NameDescription
indexint
Returns
TypeDescription
Document.Page.BlockOrBuilder

getBlocksOrBuilderList()

public abstract List<? extends Document.Page.BlockOrBuilder> getBlocksOrBuilderList()

A list of visually detected text blocks on the page. A block has a set of lines (collected into paragraphs) that have a common line-spacing and orientation.

repeated .google.cloud.documentai.v1beta3.Document.Page.Block blocks = 5;

Returns
TypeDescription
List<? extends com.google.cloud.documentai.v1beta3.Document.Page.BlockOrBuilder>

getDetectedBarcodes(int index)

public abstract Document.Page.DetectedBarcode getDetectedBarcodes(int index)

A list of detected barcodes.

repeated .google.cloud.documentai.v1beta3.Document.Page.DetectedBarcode detected_barcodes = 15;

Parameter
NameDescription
indexint
Returns
TypeDescription
Document.Page.DetectedBarcode

getDetectedBarcodesCount()

public abstract int getDetectedBarcodesCount()

A list of detected barcodes.

repeated .google.cloud.documentai.v1beta3.Document.Page.DetectedBarcode detected_barcodes = 15;

Returns
TypeDescription
int

getDetectedBarcodesList()

public abstract List<Document.Page.DetectedBarcode> getDetectedBarcodesList()

A list of detected barcodes.

repeated .google.cloud.documentai.v1beta3.Document.Page.DetectedBarcode detected_barcodes = 15;

Returns
TypeDescription
List<DetectedBarcode>

getDetectedBarcodesOrBuilder(int index)

public abstract Document.Page.DetectedBarcodeOrBuilder getDetectedBarcodesOrBuilder(int index)

A list of detected barcodes.

repeated .google.cloud.documentai.v1beta3.Document.Page.DetectedBarcode detected_barcodes = 15;

Parameter
NameDescription
indexint
Returns
TypeDescription
Document.Page.DetectedBarcodeOrBuilder

getDetectedBarcodesOrBuilderList()

public abstract List<? extends Document.Page.DetectedBarcodeOrBuilder> getDetectedBarcodesOrBuilderList()

A list of detected barcodes.

repeated .google.cloud.documentai.v1beta3.Document.Page.DetectedBarcode detected_barcodes = 15;

Returns
TypeDescription
List<? extends com.google.cloud.documentai.v1beta3.Document.Page.DetectedBarcodeOrBuilder>

getDetectedLanguages(int index)

public abstract Document.Page.DetectedLanguage getDetectedLanguages(int index)

A list of detected languages together with confidence.

repeated .google.cloud.documentai.v1beta3.Document.Page.DetectedLanguage detected_languages = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
Document.Page.DetectedLanguage

getDetectedLanguagesCount()

public abstract int getDetectedLanguagesCount()

A list of detected languages together with confidence.

repeated .google.cloud.documentai.v1beta3.Document.Page.DetectedLanguage detected_languages = 4;

Returns
TypeDescription
int

getDetectedLanguagesList()

public abstract List<Document.Page.DetectedLanguage> getDetectedLanguagesList()

A list of detected languages together with confidence.

repeated .google.cloud.documentai.v1beta3.Document.Page.DetectedLanguage detected_languages = 4;

Returns
TypeDescription
List<DetectedLanguage>

getDetectedLanguagesOrBuilder(int index)

public abstract Document.Page.DetectedLanguageOrBuilder getDetectedLanguagesOrBuilder(int index)

A list of detected languages together with confidence.

repeated .google.cloud.documentai.v1beta3.Document.Page.DetectedLanguage detected_languages = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
Document.Page.DetectedLanguageOrBuilder

getDetectedLanguagesOrBuilderList()

public abstract List<? extends Document.Page.DetectedLanguageOrBuilder> getDetectedLanguagesOrBuilderList()

A list of detected languages together with confidence.

repeated .google.cloud.documentai.v1beta3.Document.Page.DetectedLanguage detected_languages = 4;

Returns
TypeDescription
List<? extends com.google.cloud.documentai.v1beta3.Document.Page.DetectedLanguageOrBuilder>

getDimension()

public abstract Document.Page.Dimension getDimension()

Physical dimension of the page.

.google.cloud.documentai.v1beta3.Document.Page.Dimension dimension = 2;

Returns
TypeDescription
Document.Page.Dimension

The dimension.

getDimensionOrBuilder()

public abstract Document.Page.DimensionOrBuilder getDimensionOrBuilder()

Physical dimension of the page.

.google.cloud.documentai.v1beta3.Document.Page.Dimension dimension = 2;

Returns
TypeDescription
Document.Page.DimensionOrBuilder

getFormFields(int index)

public abstract Document.Page.FormField getFormFields(int index)

A list of visually detected form fields on the page.

repeated .google.cloud.documentai.v1beta3.Document.Page.FormField form_fields = 11;

Parameter
NameDescription
indexint
Returns
TypeDescription
Document.Page.FormField

getFormFieldsCount()

public abstract int getFormFieldsCount()

A list of visually detected form fields on the page.

repeated .google.cloud.documentai.v1beta3.Document.Page.FormField form_fields = 11;

Returns
TypeDescription
int

getFormFieldsList()

public abstract List<Document.Page.FormField> getFormFieldsList()

A list of visually detected form fields on the page.

repeated .google.cloud.documentai.v1beta3.Document.Page.FormField form_fields = 11;

Returns
TypeDescription
List<FormField>

getFormFieldsOrBuilder(int index)

public abstract Document.Page.FormFieldOrBuilder getFormFieldsOrBuilder(int index)

A list of visually detected form fields on the page.

repeated .google.cloud.documentai.v1beta3.Document.Page.FormField form_fields = 11;

Parameter
NameDescription
indexint
Returns
TypeDescription
Document.Page.FormFieldOrBuilder

getFormFieldsOrBuilderList()

public abstract List<? extends Document.Page.FormFieldOrBuilder> getFormFieldsOrBuilderList()

A list of visually detected form fields on the page.

repeated .google.cloud.documentai.v1beta3.Document.Page.FormField form_fields = 11;

Returns
TypeDescription
List<? extends com.google.cloud.documentai.v1beta3.Document.Page.FormFieldOrBuilder>

getImage()

public abstract Document.Page.Image getImage()

Rendered image for this page. This image is preprocessed to remove any skew, rotation, and distorti