Enum DatasetSplitType (2.28.0)

public enum DatasetSplitType extends Enum<DatasetSplitType> implements ProtocolMessageEnum

Documents belonging to a dataset will be split into different groups referred to as splits: train, test.

Protobuf enum google.cloud.documentai.v1beta3.DatasetSplitType

Implements

ProtocolMessageEnum

Static Fields

NameDescription
DATASET_SPLIT_TEST

Identifies the test documents.

DATASET_SPLIT_TEST = 2;

DATASET_SPLIT_TEST_VALUE

Identifies the test documents.

DATASET_SPLIT_TEST = 2;

DATASET_SPLIT_TRAIN

Identifies the train documents.

DATASET_SPLIT_TRAIN = 1;

DATASET_SPLIT_TRAIN_VALUE

Identifies the train documents.

DATASET_SPLIT_TRAIN = 1;

DATASET_SPLIT_TYPE_UNSPECIFIED

Default value if the enum is not set. go/protodosdonts#do-include-an-unspecified-value-in-an-enum

DATASET_SPLIT_TYPE_UNSPECIFIED = 0;

DATASET_SPLIT_TYPE_UNSPECIFIED_VALUE

Default value if the enum is not set. go/protodosdonts#do-include-an-unspecified-value-in-an-enum

DATASET_SPLIT_TYPE_UNSPECIFIED = 0;

DATASET_SPLIT_UNASSIGNED

Identifies the unassigned documents.

DATASET_SPLIT_UNASSIGNED = 3;

DATASET_SPLIT_UNASSIGNED_VALUE

Identifies the unassigned documents.

DATASET_SPLIT_UNASSIGNED = 3;

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()