Interface Document.Page.ParagraphOrBuilder (2.6.2)

Stay organized with collections Save and categorize content based on your preferences.
public static interface Document.Page.ParagraphOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDetectedLanguages(int index)

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

A list of detected languages together with confidence.

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

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.v1.Document.Page.DetectedLanguage detected_languages = 2;

Returns
TypeDescription
int

getDetectedLanguagesList()

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

A list of detected languages together with confidence.

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

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.v1.Document.Page.DetectedLanguage detected_languages = 2;

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.v1.Document.Page.DetectedLanguage detected_languages = 2;

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

getLayout()

public abstract Document.Page.Layout getLayout()

Layout for Paragraph.

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

Returns
TypeDescription
Document.Page.Layout

The layout.

getLayoutOrBuilder()

public abstract Document.Page.LayoutOrBuilder getLayoutOrBuilder()

Layout for Paragraph.

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

Returns
TypeDescription
Document.Page.LayoutOrBuilder

getProvenance()

public abstract Document.Provenance getProvenance()

The history of this annotation.

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

Returns
TypeDescription
Document.Provenance

The provenance.

getProvenanceOrBuilder()

public abstract Document.ProvenanceOrBuilder getProvenanceOrBuilder()

The history of this annotation.

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

Returns
TypeDescription
Document.ProvenanceOrBuilder

hasLayout()

public abstract boolean hasLayout()

Layout for Paragraph.

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

Returns
TypeDescription
boolean

Whether the layout field is set.

hasProvenance()

public abstract boolean hasProvenance()

The history of this annotation.

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

Returns
TypeDescription
boolean

Whether the provenance field is set.