public enum DatasetSplitType extends Enum<DatasetSplitType> implements com.google.protobuf.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| Enum Constant and Description |
|---|
DATASET_SPLIT_TEST
Identifies the test documents.
|
DATASET_SPLIT_TRAIN
Identifies the train documents.
|
DATASET_SPLIT_TYPE_UNSPECIFIED
Default value if the enum is not set.
|
DATASET_SPLIT_UNASSIGNED
Identifies the unassigned documents.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
DATASET_SPLIT_TEST_VALUE
Identifies the test documents.
|
static int |
DATASET_SPLIT_TRAIN_VALUE
Identifies the train documents.
|
static int |
DATASET_SPLIT_TYPE_UNSPECIFIED_VALUE
Default value if the enum is not set.
|
static int |
DATASET_SPLIT_UNASSIGNED_VALUE
Identifies the unassigned documents.
|
| Modifier and Type | Method and Description |
|---|---|
static DatasetSplitType |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<DatasetSplitType> |
internalGetValueMap() |
static DatasetSplitType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static DatasetSplitType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static DatasetSplitType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DatasetSplitType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DatasetSplitType DATASET_SPLIT_TYPE_UNSPECIFIED
Default value if the enum is not set.
DATASET_SPLIT_TYPE_UNSPECIFIED = 0;public static final DatasetSplitType DATASET_SPLIT_TRAIN
Identifies the train documents.
DATASET_SPLIT_TRAIN = 1;public static final DatasetSplitType DATASET_SPLIT_TEST
Identifies the test documents.
DATASET_SPLIT_TEST = 2;public static final DatasetSplitType DATASET_SPLIT_UNASSIGNED
Identifies the unassigned documents.
DATASET_SPLIT_UNASSIGNED = 3;public static final DatasetSplitType UNRECOGNIZED
public static final int DATASET_SPLIT_TYPE_UNSPECIFIED_VALUE
Default value if the enum is not set.
DATASET_SPLIT_TYPE_UNSPECIFIED = 0;public static final int DATASET_SPLIT_TRAIN_VALUE
Identifies the train documents.
DATASET_SPLIT_TRAIN = 1;public static final int DATASET_SPLIT_TEST_VALUE
Identifies the test documents.
DATASET_SPLIT_TEST = 2;public static final int DATASET_SPLIT_UNASSIGNED_VALUE
Identifies the unassigned documents.
DATASET_SPLIT_UNASSIGNED = 3;public static DatasetSplitType[] values()
for (DatasetSplitType c : DatasetSplitType.values()) System.out.println(c);
public static DatasetSplitType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static DatasetSplitType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static DatasetSplitType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<DatasetSplitType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static DatasetSplitType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.