Class Document.Page.VisualElement.Builder (2.12.0)

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

Detected non-text visual elements e.g. checkbox, signature etc. on the page.

Protobuf type google.cloud.documentai.v1beta3.Document.Page.VisualElement

Static Methods

getDescriptor()

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

Methods

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

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

A list of detected languages together with confidence.

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

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

addDetectedLanguages(Document.Page.DetectedLanguage value)

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

A list of detected languages together with confidence.

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

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

addDetectedLanguages(Document.Page.DetectedLanguage.Builder builderForValue)

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

A list of detected languages together with confidence.

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

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

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

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

A list of detected languages toget