Enum TrainProcessorVersionRequest.CustomDocumentExtractionOptions.TrainingMethod (2.57.0)

public enum TrainProcessorVersionRequest.CustomDocumentExtractionOptions.TrainingMethod extends Enum<TrainProcessorVersionRequest.CustomDocumentExtractionOptions.TrainingMethod> implements ProtocolMessageEnum

Training Method for CDE. TRAINING_METHOD_UNSPECIFIED will fall back to MODEL_BASED.

Protobuf enum google.cloud.documentai.v1beta3.TrainProcessorVersionRequest.CustomDocumentExtractionOptions.TrainingMethod

Implements

ProtocolMessageEnum

Static Fields

Name Description
MODEL_BASED

MODEL_BASED = 1;

MODEL_BASED_VALUE

MODEL_BASED = 1;

TEMPLATE_BASED

TEMPLATE_BASED = 2;

TEMPLATE_BASED_VALUE

TEMPLATE_BASED = 2;

TRAINING_METHOD_UNSPECIFIED

TRAINING_METHOD_UNSPECIFIED = 0;

TRAINING_METHOD_UNSPECIFIED_VALUE

TRAINING_METHOD_UNSPECIFIED = 0;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()