Enum TrainProcessorVersionRequest.CustomDocumentExtractionOptions.TrainingMethod (2.33.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.v1.TrainProcessorVersionRequest.CustomDocumentExtractionOptions.TrainingMethod

Implements

ProtocolMessageEnum

Static Fields

NameDescription
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

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

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()