Interface FormExtractionParamsOrBuilder (2.44.0)

public interface FormExtractionParamsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEnabled()

public abstract boolean getEnabled()

Whether to enable form extraction.

bool enabled = 1;

Returns
TypeDescription
boolean

The enabled.

getKeyValuePairHints(int index)

public abstract KeyValuePairHint getKeyValuePairHints(int index)

Reserved for future use.

repeated .google.cloud.documentai.v1beta2.KeyValuePairHint key_value_pair_hints = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
KeyValuePairHint

getKeyValuePairHintsCount()

public abstract int getKeyValuePairHintsCount()

Reserved for future use.

repeated .google.cloud.documentai.v1beta2.KeyValuePairHint key_value_pair_hints = 2;

Returns
TypeDescription
int

getKeyValuePairHintsList()

public abstract List<KeyValuePairHint> getKeyValuePairHintsList()

Reserved for future use.

repeated .google.cloud.documentai.v1beta2.KeyValuePairHint key_value_pair_hints = 2;

Returns
TypeDescription
List<KeyValuePairHint>

getKeyValuePairHintsOrBuilder(int index)

public abstract KeyValuePairHintOrBuilder getKeyValuePairHintsOrBuilder(int index)

Reserved for future use.

repeated .google.cloud.documentai.v1beta2.KeyValuePairHint key_value_pair_hints = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
KeyValuePairHintOrBuilder

getKeyValuePairHintsOrBuilderList()

public abstract List<? extends KeyValuePairHintOrBuilder> getKeyValuePairHintsOrBuilderList()

Reserved for future use.

repeated .google.cloud.documentai.v1beta2.KeyValuePairHint key_value_pair_hints = 2;

Returns
TypeDescription
List<? extends com.google.cloud.documentai.v1beta2.KeyValuePairHintOrBuilder>

getModelVersion()

public abstract String getModelVersion()

Model version of the form extraction system. Default is "builtin/stable". Specify "builtin/latest" for the latest model. For custom form models, specify: "custom/{model_name}". Model name format is "bucket_name/path/to/modeldir" corresponding to "gs://bucket_name/path/to/modeldir" where annotated examples are stored.

string model_version = 3;

Returns
TypeDescription
String

The modelVersion.

getModelVersionBytes()

public abstract ByteString getModelVersionBytes()

Model version of the form extraction system. Default is "builtin/stable". Specify "builtin/latest" for the latest model. For custom form models, specify: "custom/{model_name}". Model name format is "bucket_name/path/to/modeldir" corresponding to "gs://bucket_name/path/to/modeldir" where annotated examples are stored.

string model_version = 3;

Returns
TypeDescription
ByteString

The bytes for modelVersion.