Class Document.Page.Token.Builder (2.15.0)

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

A detected token.

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

Static Methods

getDescriptor()

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

Methods

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

public Document.Page.Token.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 = 3;

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

addDetectedLanguages(Document.Page.DetectedLanguage value)

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

A list of detected languages together with confidence.

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

Parameter
NameDescription
value