Interface ImportDocumentsRequest.BatchDocumentsImportConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ImportDocumentsRequest.BatchDocumentsImportConfig,ImportDocumentsRequest.BatchDocumentsImportConfig.Builder
- Enclosing class:
- ImportDocumentsRequest
public static interface ImportDocumentsRequest.BatchDocumentsImportConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionIf set, documents will be automatically split into training and test split category with the specified ratio.If set, documents will be automatically split into training and test split category with the specified ratio.The common config to specify a set of documents used as input.The common config to specify a set of documents used as input.Target dataset split where the documents must be stored.intTarget dataset split where the documents must be stored.Optional.com.google.protobuf.ByteStringOptional.booleanIf set, documents will be automatically split into training and test split category with the specified ratio.booleanThe common config to specify a set of documents used as input.booleanTarget dataset split where the documents must be stored.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasDatasetSplit
boolean hasDatasetSplit()Target dataset split where the documents must be stored.
.google.cloud.documentai.v1beta3.DatasetSplitType dataset_split = 2;- Returns:
- Whether the datasetSplit field is set.
-
getDatasetSplitValue
int getDatasetSplitValue()Target dataset split where the documents must be stored.
.google.cloud.documentai.v1beta3.DatasetSplitType dataset_split = 2;- Returns:
- The enum numeric value on the wire for datasetSplit.
-
getDatasetSplit
DatasetSplitType getDatasetSplit()Target dataset split where the documents must be stored.
.google.cloud.documentai.v1beta3.DatasetSplitType dataset_split = 2;- Returns:
- The datasetSplit.
-
hasAutoSplitConfig
boolean hasAutoSplitConfig()If set, documents will be automatically split into training and test split category with the specified ratio.
.google.cloud.documentai.v1beta3.ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig auto_split_config = 3;- Returns:
- Whether the autoSplitConfig field is set.
-
getAutoSplitConfig
ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig getAutoSplitConfig()If set, documents will be automatically split into training and test split category with the specified ratio.
.google.cloud.documentai.v1beta3.ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig auto_split_config = 3;- Returns:
- The autoSplitConfig.
-
getAutoSplitConfigOrBuilder
ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfigOrBuilder getAutoSplitConfigOrBuilder()If set, documents will be automatically split into training and test split category with the specified ratio.
.google.cloud.documentai.v1beta3.ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig auto_split_config = 3; -
hasBatchInputConfig
boolean hasBatchInputConfig()The common config to specify a set of documents used as input.
.google.cloud.documentai.v1beta3.BatchDocumentsInputConfig batch_input_config = 1;- Returns:
- Whether the batchInputConfig field is set.
-
getBatchInputConfig
BatchDocumentsInputConfig getBatchInputConfig()The common config to specify a set of documents used as input.
.google.cloud.documentai.v1beta3.BatchDocumentsInputConfig batch_input_config = 1;- Returns:
- The batchInputConfig.
-
getBatchInputConfigOrBuilder
BatchDocumentsInputConfigOrBuilder getBatchInputConfigOrBuilder()The common config to specify a set of documents used as input.
.google.cloud.documentai.v1beta3.BatchDocumentsInputConfig batch_input_config = 1; -
getDocumentType
String getDocumentType()Optional. If set, determines the type of the documents to be imported in this batch. It can be used to auto-label the documents with a single entity of the provided type. This field can only be used with a classifier or splitter processor. Providing this field is mutually exclusive with `entities` and `auto_labeling_config`.
string document_type = 6 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The documentType.
-
getDocumentTypeBytes
com.google.protobuf.ByteString getDocumentTypeBytes()Optional. If set, determines the type of the documents to be imported in this batch. It can be used to auto-label the documents with a single entity of the provided type. This field can only be used with a classifier or splitter processor. Providing this field is mutually exclusive with `entities` and `auto_labeling_config`.
string document_type = 6 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for documentType.
-
getSplitTypeConfigCase
ImportDocumentsRequest.BatchDocumentsImportConfig.SplitTypeConfigCase getSplitTypeConfigCase()
-