Interface Document.Page.TokenOrBuilder (2.48.0)

public static interface Document.Page.TokenOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDetectedBreak()

public abstract Document.Page.Token.DetectedBreak getDetectedBreak()

Detected break at the end of a Token.

.google.cloud.documentai.v1beta3.Document.Page.Token.DetectedBreak detected_break = 2;

Returns
Type Description
Document.Page.Token.DetectedBreak

The detectedBreak.

getDetectedBreakOrBuilder()

public abstract Document.Page.Token.DetectedBreakOrBuilder getDetectedBreakOrBuilder()

Detected break at the end of a Token.

.google.cloud.documentai.v1beta3.Document.Page.Token.DetectedBreak detected_break = 2;

Returns
Type Description
Document.Page.Token.DetectedBreakOrBuilder

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 = 3;

Parameter
Name Description
index int
Returns
Type Description
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 = 3;

Returns
Type Description
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 = 3;

Returns
Type Description
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 = 3;

Parameter
Name Description
index int
Returns
Type Description
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 = 3;

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

getLayout()

public abstract Document.Page.Layout getLayout()

Layout for Token.

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

Returns
Type Description
Document.Page.Layout

The layout.

getLayoutOrBuilder()

public abstract Document.Page.LayoutOrBuilder getLayoutOrBuilder()

Layout for Token.

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

Returns
Type Description
Document.Page.LayoutOrBuilder

getProvenance() (deprecated)

public abstract Document.Provenance getProvenance()

Deprecated. google.cloud.documentai.v1beta3.Document.Page.Token.provenance is deprecated. See google/cloud/documentai/v1beta3/document.proto;l=326

The history of this annotation.

.google.cloud.documentai.v1beta3.Document.Provenance provenance = 4 [deprecated = true];

Returns
Type Description
Document.Provenance

The provenance.

getProvenanceOrBuilder() (deprecated)

public abstract Document.ProvenanceOrBuilder getProvenanceOrBuilder()

The history of this annotation.

.google.cloud.documentai.v1beta3.Document.Provenance provenance = 4 [deprecated = true];

Returns
Type Description
Document.ProvenanceOrBuilder

getStyleInfo()

public abstract Document.Page.Token.StyleInfo getStyleInfo()

Text style attributes.

.google.cloud.documentai.v1beta3.Document.Page.Token.StyleInfo style_info = 5;

Returns
Type Description
Document.Page.Token.StyleInfo

The styleInfo.

getStyleInfoOrBuilder()

public abstract Document.Page.Token.StyleInfoOrBuilder getStyleInfoOrBuilder()

Text style attributes.

.google.cloud.documentai.v1beta3.Document.Page.Token.StyleInfo style_info = 5;

Returns
Type Description
Document.Page.Token.StyleInfoOrBuilder

hasDetectedBreak()

public abstract boolean hasDetectedBreak()

Detected break at the end of a Token.

.google.cloud.documentai.v1beta3.Document.Page.Token.DetectedBreak detected_break = 2;

Returns
Type Description
boolean

Whether the detectedBreak field is set.

hasLayout()

public abstract boolean hasLayout()

Layout for Token.

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

Returns
Type Description
boolean

Whether the layout field is set.

hasProvenance() (deprecated)

public abstract boolean hasProvenance()

Deprecated. google.cloud.documentai.v1beta3.Document.Page.Token.provenance is deprecated. See google/cloud/documentai/v1beta3/document.proto;l=326

The history of this annotation.

.google.cloud.documentai.v1beta3.Document.Provenance provenance = 4 [deprecated = true];

Returns
Type Description
boolean

Whether the provenance field is set.

hasStyleInfo()

public abstract boolean hasStyleInfo()

Text style attributes.

.google.cloud.documentai.v1beta3.Document.Page.Token.StyleInfo style_info = 5;

Returns
Type Description
boolean

Whether the styleInfo field is set.