Class Document.Page.Builder (2.5.1)

public static final class Document.Page.Builder extends GeneratedMessageV3.Builder<Document.Page.Builder> implements Document.PageOrBuilder

A page in a Document.

Protobuf type google.cloud.documentai.v1.Document.Page

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllBlocks(Iterable<? extends Document.Page.Block> values)

public Document.Page.Builder addAllBlocks(Iterable<? extends Document.Page.Block> values)

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.v1.Document.Page.Block blocks = 5;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.documentai.v1.Document.Page.Block>
Returns
TypeDescription
Document.Page.Builder

addAllDetectedLanguages(Iterable<? extends Document.Page.DetectedLanguage> values)

public Document.Page.Builder addAllDetectedLanguages(Iterable<? extends Document.Page.DetectedLanguage> values)

A list of detected languages together with confidence.

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

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.documentai.v1.Document.Page.DetectedLanguage>
Returns
TypeDescription
Document.Page.Builder

addAllFormFields(Iterable<? extends Document.Page.FormField> values)

public Document.Page.Builder addAllFormFields(Iterable<? extends Document.Page.FormField> values)

A list of visually detected form fields on the page.

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

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.documentai.v1.Document.Page.FormField>
Returns
TypeDescription
Document.Page.Builder

addAllLines(Iterable<? extends Document.Page.Line> values)

public Document.Page.Builder addAllLines(Iterable<? extends Document.Page.Line> values)

A list of visually detected text lines on the page. A collection of tokens that a human would perceive as a line.

repeated .google.cloud.documentai.v1.Document.Page.Line lines = 7;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.documentai.v1.Document.Page.Line>
Returns
TypeDescription
Document.Page.Builder

addAllParagraphs(Iterable<? extends Document.Page.Paragraph> values)

public Document.Page.Builder addAllParagraphs(Iterable<? extends Document.Page.Paragraph> values)

A list of visually detected text paragraphs on the page. A collection of lines that a human would perceive as a paragraph.

repeated .google.cloud.documentai.v1.Document.Page.Paragraph paragraphs = 6;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.documentai.v1.Document.Page.Paragraph>
Returns
TypeDescription
Document.Page.Builder

addAllSymbols(Iterable<? extends Document.Page.Symbol> values)

public Document.Page.Builder addAllSymbols(Iterable<? extends Document.Page.Symbol> values)

A list of visually detected symbols on the page.

repeated .google.cloud.documentai.v1.Document.Page.Symbol symbols = 12;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.documentai.v1.Document.Page.Symbol>
Returns
TypeDescription
Document.Page.Builder

addAllTables(Iterable<? extends Document.Page.Table> values)

public Document.Page.Builder addAllTables(Iterable<? extends Document.Page.Table> values)

A list of visually detected tables on the page.

repeated .google.cloud.documentai.v1.Document.Page.Table tables = 10;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.documentai.v1.Document.Page.Table>
Returns
TypeDescription
Document.Page.Builder

addAllTokens(Iterable<? extends Document.Page.Token> values)

public Document.Page.Builder addAllTokens(Iterable<? extends Document.Page.Token> values)

A list of visually detected tokens on the page.

repeated .google.cloud.documentai.v1.Document.Page.Token tokens = 8;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.documentai.v1.Document.Page.Token>
Returns
TypeDescription
Document.Page.Builder

addAllTransforms(Iterable<? extends Document.Page.Matrix> values)

public Document.Page.Builder addAllTransforms(Iterable<? extends Document.Page.Matrix> values)

Transformation matrices that were applied to the original document image to produce Page.image.

repeated .google.cloud.documentai.v1.Document.Page.Matrix transforms = 14;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.documentai.v1.Document.Page.Matrix>
Returns
TypeDescription
Document.Page.Builder

addAllVisualElements(Iterable<? extends Document.Page.VisualElement> values)

public Document.Page.Builder addAllVisualElements(Iterable<? extends Document.Page.VisualElement> values)

A list of detected non-text visual elements e.g. checkbox, signature etc. on the page.

repeated .google.cloud.documentai.v1.Document.Page.VisualElement visual_elements = 9;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.documentai.v1.Document.Page.VisualElement>
Returns
TypeDescription
Document.Page.Builder

addBlocks(Document.Page.Block value)

public Document.Page.Builder addBlocks(Document.Page.Block value)

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.v1.Document.Page.Block blocks = 5;

Parameter
NameDescription
valueDocument.Page.Block
Returns
TypeDescription
Document.Page.Builder

addBlocks(Document.Page.Block.Builder builderForValue)

public Document.Page.Builder addBlocks(Document.Page.Block.Builder builderForValue)

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.v1.Document.Page.Block blocks = 5;

Parameter
NameDescription
builderForValueDocument.Page.Block.Builder
Returns
TypeDescription
Document.Page.Builder

addBlocks(int index, Document.Page.Block value)

public Document.Page.Builder addBlocks(int index, Document.Page.Block value)

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.v1.Document.Page.Block blocks = 5;

Parameters
NameDescription
indexint
valueDocument.Page.Block
Returns
TypeDescription
Document.Page.Builder

addBlocks(int index, Document.Page.Block.Builder builderForValue)

public Document.Page.Builder addBlocks(int index, Document.Page.Block.Builder builderForValue)

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.v1.Document.Page.Block blocks = 5;

Parameters
NameDescription
indexint
builderForValueDocument.Page.Block.Builder
Returns
TypeDescription
Document.Page.Builder

addBlocksBuilder()

public Document.Page.Block.Builder addBlocksBuilder()

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.v1.Document.Page.Block blocks = 5;

Returns
TypeDescription
Document.Page.Block.Builder

addBlocksBuilder(int index)

public Document.Page.Block.Builder addBlocksBuilder(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.v1.Document.Page.Block blocks = 5;

Parameter
NameDescription
indexint
Returns
TypeDescription
Document.Page.Block.Builder

addDetectedLanguages(Document.Page.DetectedLanguage value)

public Document.Page.Builder addDetectedLanguages(Document.Page.DetectedLanguage value)

A list of detected languages together with confidence.

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

Parameter
NameDescription
valueDocument.Page.DetectedLanguage
Returns
TypeDescription
Document.Page.Builder

addDetectedLanguages(Document.Page.DetectedLanguage.Builder builderForValue)

public Document.Page.Builder addDetectedLanguages(Document.Page.DetectedLanguage.Builder builderForValue)

A list of detected languages together with confidence.

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

Parameter
NameDescription
builderForValueDocument.Page.DetectedLanguage.Builder
Returns
TypeDescription
Document.Page.Builder

addDetectedLanguages(int index, Document.Page.DetectedLanguage value)

public Document.Page.Builder addDetectedLanguages(int index, Document.Page.DetectedLanguage value)

A list of detected languages together with confidence.

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

Parameters
NameDescription
indexint
valueDocument.Page.DetectedLanguage
Returns
TypeDescription
Document.Page.Builder

addDetectedLanguages(int index, Document.Page.DetectedLanguage.Builder builderForValue)

public Document.Page.Builder addDetectedLanguages(int index, Document.Page.DetectedLanguage.Builder builderForValue)

A list of detected languages together with confidence.

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

Parameters
NameDescription
indexint
builderForValueDocument.Page.DetectedLanguage.Builder
Returns
TypeDescription
Document.Page.Builder

addDetectedLanguagesBuilder()

public Document.Page.DetectedLanguage.Builder addDetectedLanguagesBuilder()

A list of detected languages together with confidence.

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

Returns
TypeDescription
Document.Page.DetectedLanguage.Builder

addDetectedLanguagesBuilder(int index)

public Document.Page.DetectedLanguage.Builder addDetectedLanguagesBuilder(int index)

A list of detected languages together with confidence.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Document.Page.DetectedLanguage.Builder

addFormFields(Document.Page.FormField value)

public Document.Page.Builder addFormFields(Document.Page.FormField value)

A list of visually detected form fields on the page.

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

Parameter
NameDescription
valueDocument.Page.FormField
Returns
TypeDescription
Document.Page.Builder

addFormFields(Document.Page.FormField.Builder builderForValue)

public Document.Page.Builder addFormFields(Document.Page.FormField.Builder builderForValue)

A list of visually detected form fields on the page.

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

Parameter
NameDescription
builderForValueDocument.Page.FormField.Builder
Returns
TypeDescription
Document.Page.Builder

addFormFields(int index, Document.Page.FormField value)

public Document.Page.Builder addFormFields(int index, Document.Page.FormField value)

A list of visually detected form fields on the page.

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

Parameters
NameDescription
indexint
valueDocument.Page.FormField
Returns
TypeDescription
Document.Page.Builder

addFormFields(int index, Document.Page.FormField.Builder builderForValue)

public Document.Page.Builder addFormFields(int index, Document.Page.FormField.Builder builderForValue)

A list of visually detected form fields on the page.

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

Parameters
NameDescription
indexint
builderForValueDocument.Page.FormField.Builder
Returns
TypeDescription
Document.Page.Builder

addFormFieldsBuilder()

public Document.Page.FormField.Builder addFormFieldsBuilder()

A list of visually detected form fields on the page.

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

Returns
TypeDescription
Document.Page.FormField.Builder

addFormFieldsBuilder(int index)

public Document.Page.FormField.Builder addFormFieldsBuilder(int index)

A list of visually detected form fields on the page.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Document.Page.FormField.Builder

addLines(Document.Page.Line value)

public Document.Page.Builder addLines(Document.Page.Line value)

A list of visually detected text lines on the page. A collection of tokens that a human would perceive as a line.

repeated .google.cloud.documentai.v1.Document.Page.Line lines = 7;

Parameter
NameDescription
valueDocument.Page.Line
Returns
TypeDescription
Document.Page.Builder

addLines(Document.Page.Line.Builder builderForValue)

public Document.Page.Builder addLines(Document.Page.Line.Builder builderForValue)

A list of visually detected text lines on the page. A collection of tokens that a human would perceive as a line.

repeated .google.cloud.documentai.v1.Document.Page.Line lines = 7;

Parameter
NameDescription
builderForValueDocument.Page.Line.Builder
Returns
TypeDescription
Document.Page.Builder

addLines(int index, Document.Page.Line value)

public Document.Page.Builder addLines(int index, Document.Page.Line value)

A list of visually detected text lines on the page. A collection of tokens that a human would perceive as a line.

repeated .google.cloud.documentai.v1.Document.Page.Line lines = 7;

Parameters
NameDescription
indexint
valueDocument.Page.Line
Returns
TypeDescription
Document.Page.Builder

addLines(int index, Document.Page.Line.Builder builderForValue)

public Document.Page.Builder addLines(int index, Document.Page.Line.Builder builderForValue)

A list of visually detected text lines on the page. A collection of tokens that a human would perceive as a line.

repeated .google.cloud.documentai.v1.Document.Page.Line lines = 7;

Parameters
NameDescription
indexint
builderForValueDocument.Page.Line.Builder
Returns
TypeDescription
Document.Page.Builder

addLinesBuilder()

public Document.Page.Line.Builder addLinesBuilder()

A list of visually detected text lines on the page. A collection of tokens that a human would perceive as a line.

repeated .google.cloud.documentai.v1.Document.Page.Line lines = 7;

Returns
TypeDescription
Document.Page.Line.Builder

addLinesBuilder(int index)

public Document.Page.Line.Builder addLinesBuilder(int index)

A list of visually detected text lines on the page. A collection of tokens that a human would perceive as a line.

repeated .google.cloud.documentai.v1.Document.Page.Line lines = 7;

Parameter
NameDescription
indexint
Returns
TypeDescription
Document.Page.Line.Builder

addParagraphs(Document.Page.Paragraph value)

public Document.Page.Builder addParagraphs(Document.Page.Paragraph value)

A list of visually detected text paragraphs on the page. A collection of lines that a human would perceive as a paragraph.

repeated .google.cloud.documentai.v1.Document.Page.Paragraph paragraphs = 6;

Parameter
NameDescription
valueDocument.Page.Paragraph
Returns
TypeDescription
Document.Page.Builder

addParagraphs(Document.Page.Paragraph.Builder builderForValue)

public Document.Page.Builder addParagraphs(Document.Page.Paragraph.Builder builderForValue)

A list of visually detected text paragraphs on the page. A collection of lines that a human would perceive as a paragraph.

repeated .google.cloud.documentai.v1.Document.Page.Paragraph paragraphs = 6;

Parameter
NameDescription
builderForValueDocument.Page.Paragraph.Builder
Returns
TypeDescription
Document.Page.Builder

addParagraphs(int index, Document.Page.Paragraph value)

public Document.Page.Builder addParagraphs(int index, Document.Page.Paragraph value)

A list of visually detected text paragraphs on the page. A collection of lines that a human would perceive as a paragraph.

repeated .google.cloud.documentai.v1.Document.Page.Paragraph paragraphs = 6;

Parameters
NameDescription
indexint
valueDocument.Page.Paragraph
Returns
TypeDescription
Document.Page.Builder

addParagraphs(int index, Document.Page.Paragraph.Builder builderForValue)

public Document.Page.Builder addParagraphs(int index, Document.Page.Paragraph.Builder builderForValue)

A list of visually detected text paragraphs on the page. A collection of lines that a human would perceive as a paragraph.

repeated .google.cloud.documentai.v1.Document.Page.Paragraph paragraphs = 6;

Parameters
NameDescription
indexint
builderForValueDocument.Page.Paragraph.Builder
Returns
TypeDescription
Document.Page.Builder

addParagraphsBuilder()

public Document.Page.Paragraph.Builder addParagraphsBuilder()

A list of visually detected text paragraphs on the page. A collection of lines that a human would perceive as a paragraph.

repeated .google.cloud.documentai.v1.Document.Page.Paragraph paragraphs = 6;

Returns
TypeDescription
Document.Page.Paragraph.Builder

addParagraphsBuilder(int index)

public Document.Page.Paragraph.Builder addParagraphsBuilder(int index)

A list of visually detected text paragraphs on the page. A collection of lines that a human would perceive as a paragraph.

repeated .google.cloud.documentai.v1.Document.Page.Paragraph paragraphs = 6;

Parameter
NameDescription
indexint
Returns
TypeDescription
Document.Page.Paragraph.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Document.Page.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Document.Page.Builder
Overrides

addSymbols(Document.Page.Symbol value)

public Document.Page.Builder addSymbols(Document.Page.Symbol value)

A list of visually detected symbols on the page.

repeated .google.cloud.documentai.v1.Document.Page.Symbol symbols = 12;

Parameter
NameDescription
valueDocument.Page.Symbol
Returns
TypeDescription
Document.Page.Builder

addSymbols(Document.Page.Symbol.Builder builderForValue)

public Document.Page.Builder addSymbols(Document.Page.Symbol.Builder builderForValue)

A list of visually detected symbols on the page.

repeated .google.cloud.documentai.v1.Document.Page.Symbol symbols = 12;

Parameter
NameDescription
builderForValueDocument.Page.Symbol.Builder
Returns
TypeDescription
Document.Page.Builder

addSymbols(int index, Document.Page.Symbol value)

public Document.Page.Builder addSymbols(int index, Document.Page.Symbol value)

A list of visually detected symbols on the page.

repeated .google.cloud.documentai.v1.Document.Page.Symbol symbols = 12;

Parameters
NameDescription
indexint
valueDocument.Page.Symbol
Returns
TypeDescription
Document.Page.Builder

addSymbols(int index, Document.Page.Symbol.Builder builderForValue)

public Document.Page.Builder addSymbols(int index, Document.Page.Symbol.Builder builderForValue)

A list of visually detected symbols on the page.

repeated .google.cloud.documentai.v1.Document.Page.Symbol symbols = 12;

Parameters
NameDescription
indexint
builderForValueDocument.Page.Symbol.Builder
Returns
TypeDescription
Document.Page.Builder

addSymbolsBuilder()

public Document.Page.Symbol.Builder addSymbolsBuilder()

A list of visually detected symbols on the page.

repeated .google.cloud.documentai.v1.Document.Page.Symbol symbols = 12;

Returns
TypeDescription
Document.Page.Symbol.Builder

addSymbolsBuilder(int index)

public Document.Page.Symbol.Builder addSymbolsBuilder(int index)

A list of visually detected symbols on the page.

repeated .google.cloud.documentai.v1.Document.Page.Symbol symbols = 12;

Parameter
NameDescription
indexint
Returns
TypeDescription
Document.Page.Symbol.Builder

addTables(Document.Page.Table value)

public Document.Page.Builder addTables(Document.Page.Table value)

A list of visually detected tables on the page.

repeated .google.cloud.documentai.v1.Document.Page.Table tables = 10;

Parameter
NameDescription
valueDocument.Page.Table
Returns
TypeDescription
Document.Page.Builder

addTables(Document.Page.Table.Builder builderForValue)

public Document.Page.Builder addTables(Document.Page.Table.Builder builderForValue)

A list of visually detected tables on the page.

repeated .google.cloud.documentai.v1.Document.Page.Table tables = 10;

Parameter
NameDescription
builderForValueDocument.Page.Table.Builder
Returns
TypeDescription
Document.Page.Builder

addTables(int index, Document.Page.Table value)

public Document.Page.Builder addTables(int index, Document.Page.Table value)

A list of visually detected tables on the page.

repeated .google.cloud.documentai.v1.Document.Page.Table tables = 10;

Parameters
NameDescription
indexint
valueDocument.Page.Table
Returns
TypeDescription
Document.Page.Builder

addTables(int index, Document.Page.Table.Builder builderForValue)

public Document.Page.Builder addTables(int index, Document.Page.Table.Builder builderForValue)

A list of visually detected tables on the page.

repeated .google.cloud.documentai.v1.Document.Page.Table tables = 10;

Parameters
NameDescription
indexint
builderForValueDocument.Page.Table.Builder
Returns
TypeDescription
Document.Page.Builder

addTablesBuilder()

public Document.Page.Table.Builder addTablesBuilder()

A list of visually detected tables on the page.

repeated .google.cloud.documentai.v1.Document.Page.Table tables = 10;

Returns
TypeDescription
Document.Page.Table.Builder

addTablesBuilder(int index)

public Document.Page.Table.Builder addTablesBuilder(int index)

A list of visually detected tables on the page.

repeated .google.cloud.documentai.v1.Document.Page.Table tables = 10;

Parameter
NameDescription
indexint
Returns
TypeDescription
Document.Page.Table.Builder

addTokens(Document.Page.Token value)

public Document.Page.Builder addTokens(Document.Page.Token value)

A list of visually detected tokens on the page.

repeated .google.cloud.documentai.v1.Document.Page.Token tokens = 8;

Parameter
NameDescription
valueDocument.Page.Token
Returns
TypeDescription
Document.Page.Builder

addTokens(Document.Page.Token.Builder builderForValue)

public Document.Page.Builder addTokens(Document.Page.Token.Builder builderForValue)

A list of visually detected tokens on the page.

repeated .google.cloud.documentai.v1.Document.Page.Token tokens = 8;

Parameter
NameDescription
builderForValueDocument.Page.Token.Builder
Returns
TypeDescription
Document.Page.Builder

addTokens(int index, Document.Page.Token value)

public Document.Page.Builder addTokens(int index, Document.Page.Token value)

A list of visually detected tokens on the page.

repeated .google.cloud.documentai.v1.Document.Page.Token tokens = 8;

Parameters
NameDescription
indexint
valueDocument.Page.Token
Returns
TypeDescription
Document.Page.Builder

addTokens(int index, Document.Page.Token.Builder builderForValue)

public Document.Page.Builder addTokens(int index, Document.Page.Token.Builder builderForValue)

A list of visually detected tokens on the page.

repeated .google.cloud.documentai.v1.Document.Page.Token tokens = 8;

Parameters
NameDescription
indexint
builderForValueDocument.Page.Token.Builder
Returns
TypeDescription
Document.Page.Builder

addTokensBuilder()

public Document.Page.Token.Builder addTokensBuilder()

A list of visually detected tokens on the page.

repeated .google.cloud.documentai.v1.Document.Page.Token tokens = 8;

Returns
TypeDescription
Document.Page.Token.Builder

addTokensBuilder(int index)

public Document.Page.Token.Builder addTokensBuilder(int index)

A list of visually detected tokens on the page.

repeated .google.cloud.documentai.v1.Document.Page.Token tokens = 8;

Parameter
NameDescription
indexint
Returns
TypeDescription
Document.Page.Token.Builder

addTransforms(Document.Page.Matrix value)

public Document.Page.Builder addTransforms(Document.Page.Matrix value)

Transformation matrices that were applied to the original document image to produce Page.image.

repeated .google.cloud.documentai.v1.Document.Page.Matrix transforms = 14;

Parameter
NameDescription
valueDocument.Page.Matrix
Returns
TypeDescription
Document.Page.Builder

addTransforms(Document.Page.Matrix.Builder builderForValue)

public Document.Page.Builder addTransforms(Document.Page.Matrix.Builder builderForValue)

Transformation matrices that were applied to the original document image to produce Page.image.

repeated .google.cloud.documentai.v1.Document.Page.Matrix transforms = 14;

Parameter
NameDescription
builderForValueDocument.Page.Matrix.Builder
Returns
TypeDescription
Document.Page.Builder

addTransforms(int index, Document.Page.Matrix value)

public Document.Page.Builder addTransforms(int index, Document.Page.Matrix value)

Transformation matrices that were applied to the original document image to produce Page.image.

repeated .google.cloud.documentai.v1.Document.Page.Matrix transforms = 14;

Parameters
NameDescription
indexint
valueDocument.Page.Matrix
Returns
TypeDescription
Document.Page.Builder

addTransforms(int index, Document.Page.Matrix.Builder builderForValue)

public Document.Page.Builder addTransforms(int index, Document.Page.Matrix.Builder builderForValue)

Transformation matrices that were applied to the original document image to produce Page.image.

repeated .google.cloud.documentai.v1.Document.Page.Matrix transforms = 14;

Parameters
NameDescription
indexint
builderForValueDocument.Page.Matrix.Builder
Returns
TypeDescription
Document.Page.Builder

addTransformsBuilder()

public Document.Page.Matrix.Builder addTransformsBuilder()

Transformation matrices that were applied to the original document image to produce Page.image.

repeated .google.cloud.documentai.v1.Document.Page.Matrix transforms = 14;

Returns
TypeDescription
Document.Page.Matrix.Builder

addTransformsBuilder(int index)

public Document.Page.Matrix.Builder addTransformsBuilder(int index)

Transformation matrices that were applied to the original document image to produce Page.image.

repeated .google.cloud.documentai.v1.Document.Page.Matrix transforms = 14;

Parameter
NameDescription
indexint
Returns
TypeDescription
Document.Page.Matrix.Builder

addVisualElements(Document.Page.VisualElement value)

public Document.Page.Builder addVisualElements(Document.Page.VisualElement value)

A list of detected non-text visual elements e.g. checkbox, signature etc. on the page.

repeated .google.cloud.documentai.v1.Document.Page.VisualElement visual_elements = 9;

Parameter
NameDescription
valueDocument.Page.VisualElement
Returns
TypeDescription
Document.Page.Builder

addVisualElements(Document.Page.VisualElement.Builder builderForValue)

public Document.Page.Builder addVisualElements(Document.Page.VisualElement.Builder builderForValue)

A list of detected non-text visual elements e.g. checkbox, signature etc. on the page.

repeated .google.cloud.documentai.v1.Document.Page.VisualElement visual_elements = 9;

Parameter
NameDescription
builderForValueDocument.Page.VisualElement.Builder
Returns
TypeDescription
Document.Page.Builder

addVisualElements(int index, Document.Page.VisualElement value)

public Document.Page.Builder addVisualElements(int index, Document.Page.VisualElement value)

A list of detected non-text visual elements e.g. checkbox, signature etc. on the page.

repeated .google.cloud.documentai.v1.Document.Page.VisualElement visual_elements = 9;

Parameters
NameDescription
indexint
valueDocument.Page.VisualElement
Returns
TypeDescription
Document.Page.Builder

addVisualElements(int index, Document.Page.VisualElement.Builder builderForValue)

public Document.Page.Builder addVisualElements(int index, Document.Page.VisualElement.Builder builderForValue)

A list of detected non-text visual elements e.g. checkbox, signature etc. on the page.

repeated .google.cloud.documentai.v1.Document.Page.VisualElement visual_elements = 9;

Parameters
NameDescription
indexint
builderForValueDocument.Page.VisualElement.Builder
Returns
TypeDescription
Document.Page.Builder

addVisualElementsBuilder()

public Document.Page.VisualElement.Builder addVisualElementsBuilder()

A list of detected non-text visual elements e.g. checkbox, signature etc. on the page.

repeated .google.cloud.documentai.v1.Document.Page.VisualElement visual_elements = 9;

Returns
TypeDescription
Document.Page.VisualElement.Builder

addVisualElementsBuilder(int index)

public Document.Page.VisualElement.Builder addVisualElementsBuilder(int index)

A list of detected non-text visual elements e.g. checkbox, signature etc. on the page.

repeated .google.cloud.documentai.v1.Document.Page.VisualElement visual_elements = 9;

Parameter
NameDescription
indexint
Returns
TypeDescription
Document.Page.VisualElement.Builder

build()

public Document.Page build()
Returns
TypeDescription
Document.Page

buildPartial()

public Document.Page buildPartial()
Returns
TypeDescription
Document.Page

clear()

public Document.Page.Builder clear()
Returns
TypeDescription
Document.Page.Builder
Overrides

clearBlocks()

public Document.Page.Builder clearBlocks()

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.v1.Document.Page.Block blocks = 5;

Returns
TypeDescription
Document.Page.Builder

clearDetectedLanguages()

public Document.Page.Builder clearDetectedLanguages()

A list of detected languages together with confidence.

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

Returns
TypeDescription
Document.Page.Builder

clearDimension()

public Document.Page.Builder clearDimension()

Physical dimension of the page.

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

Returns
TypeDescription
Document.Page.Builder

clearField(Descriptors.FieldDescriptor field)

public Document.Page.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Document.Page.Builder
Overrides

clearFormFields()

public Document.Page.Builder clearFormFields()

A list of visually detected form fields on the page.

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

Returns
TypeDescription
Document.Page.Builder

clearImage()

public Document.Page.Builder clearImage()

Rendered image for this page. This image is preprocessed to remove any skew, rotation, and distortions such that the annotation bounding boxes can be upright and axis-aligned.

.google.cloud.documentai.v1.Document.Page.Image image = 13;

Returns
TypeDescription
Document.Page.Builder

clearLayout()

public Document.Page.Builder clearLayout()

Layout for the page.

.google.cloud.documentai.v1.Document.Page.Layout layout = 3;

Returns
TypeDescription
Document.Page.Builder

clearLines()

public Document.Page.Builder clearLines()

A list of visually detected text lines on the page. A collection of tokens that a human would perceive as a line.

repeated .google.cloud.documentai.v1.Document.Page.Line lines = 7;

Returns
TypeDescription
Document.Page.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public Document.Page.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Document.Page.Builder
Overrides

clearPageNumber()

public Document.Page.Builder clearPageNumber()

1-based index for current Page in a parent Document. Useful when a page is taken out of a Document for individual processing.

int32 page_number = 1;

Returns
TypeDescription
Document.Page.Builder

This builder for chaining.

clearParagraphs()

public Document.Page.Builder clearParagraphs()

A list of visually detected text paragraphs on the page. A collection of lines that a human would perceive as a paragraph.

repeated .google.cloud.documentai.v1.Document.Page.Paragraph paragraphs = 6;

Returns
TypeDescription
Document.Page.Builder

clearProvenance()

public Document.Page.Builder clearProvenance()

The history of this page.

.google.cloud.documentai.v1.Document.Provenance provenance = 16;

Returns
TypeDescription
Document.Page.Builder

clearSymbols()

public Document.Page.Builder clearSymbols()

A list of visually detected symbols on the page.

repeated .google.cloud.documentai.v1.Document.Page.Symbol symbols = 12;

Returns
TypeDescription
Document.Page.Builder

clearTables()

public Document.Page.Builder clearTables()

A list of visually detected tables on the page.

repeated .google.cloud.documentai.v1.Document.Page.Table tables = 10;

Returns
TypeDescription
Document.Page.Builder

clearTokens()

public Document.Page.Builder clearTokens()

A list of visually detected tokens on the page.

repeated .google.cloud.documentai.v1.Document.Page.Token tokens = 8;

Returns
TypeDescription
Document.Page.Builder

clearTransforms()

public Document.Page.Builder clearTransforms()

Transformation matrices that were applied to the original document image to produce Page.image.

repeated .google.cloud.documentai.v1.Document.Page.Matrix transforms = 14;

Returns
TypeDescription
Document.Page.Builder

clearVisualElements()

public Document.Page.Builder clearVisualElements()

A list of detected non-text visual elements e.g. checkbox, signature etc. on the page.

repeated .google.cloud.documentai.v1.Document.Page.VisualElement visual_elements = 9;

Returns
TypeDescription
Document.Page.Builder

clone()

public Document.Page.Builder clone()
Returns
TypeDescription
Document.Page.Builder
Overrides

getBlocks(int index)

public 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.v1.Document.Page.Block blocks = 5;

Parameter
NameDescription
indexint
Returns
TypeDescription
Document.Page.Block

getBlocksBuilder(int index)

public Document.Page.Block.Builder getBlocksBuilder(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.v1.Document.Page.Block blocks = 5;

Parameter
NameDescription
indexint
Returns
TypeDescription
Document.Page.Block.Builder

getBlocksBuilderList()

public List<Document.Page.Block.Builder> getBlocksBuilderList()

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.v1.Document.Page.Block blocks = 5;

Returns
TypeDescription
List<Builder>

getBlocksCount()

public 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.v1.Document.Page.Block blocks = 5;

Returns
TypeDescription
int

getBlocksList()

public 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.v1.Document.Page.Block blocks = 5;

Returns
TypeDescription
List<Block>

getBlocksOrBuilder(int index)

public 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.v1.Document.Page.Block blocks = 5;

Parameter
NameDescription
indexint
Returns
TypeDescription
Document.Page.BlockOrBuilder

getBlocksOrBuilderList()

public 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.v1.Document.Page.Block blocks = 5;

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

getDefaultInstanceForType()

public Document.Page getDefaultInstanceForType()
Returns
TypeDescription
Document.Page

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides