Class FormExtractionParams.Builder (2.12.0)

public static final class FormExtractionParams.Builder extends GeneratedMessageV3.Builder<FormExtractionParams.Builder> implements FormExtractionParamsOrBuilder

Parameters to control form extraction behavior.

Protobuf type google.cloud.documentai.v1beta1.FormExtractionParams

Static Methods

getDescriptor()

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

Methods

addAllKeyValuePairHints(Iterable<? extends KeyValuePairHint> values)

public FormExtractionParams.Builder addAllKeyValuePairHints(Iterable<? extends KeyValuePairHint> values)

User can provide pairs of (key text, value type) to improve the parsing result. For example, if a document has a field called "Date" that h