public static interface ImportDocumentsRequest.BatchDocumentsImportConfigOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getAutoSplitConfig()
public abstract 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 | |
|---|---|
| Type | Description |
ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig |
The autoSplitConfig. |
getAutoSplitConfigOrBuilder()
public abstract 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;
| Returns | |
|---|---|
| Type | Description |
ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfigOrBuilder |
|
getBatchInputConfig()
public abstract BatchDocumentsInputConfig getBatchInputConfig()The common config to specify a set of documents used as input.
.google.cloud.documentai.v1beta3.BatchDocumentsInputConfig batch_input_config = 1;
| Returns | |
|---|---|
| Type | Description |
BatchDocumentsInputConfig |
The batchInputConfig. |
getBatchInputConfigOrBuilder()
public abstract BatchDocumentsInputConfigOrBuilder getBatchInputConfigOrBuilder()The common config to specify a set of documents used as input.
.google.cloud.documentai.v1beta3.BatchDocumentsInputConfig batch_input_config = 1;
| Returns | |
|---|---|
| Type | Description |
BatchDocumentsInputConfigOrBuilder |
|
getDatasetSplit()
public abstract DatasetSplitType getDatasetSplit()Target dataset split where the documents must be stored.
.google.cloud.documentai.v1beta3.DatasetSplitType dataset_split = 2;
| Returns | |
|---|---|
| Type | Description |
DatasetSplitType |
The datasetSplit. |
getDatasetSplitValue()
public abstract int getDatasetSplitValue()Target dataset split where the documents must be stored.
.google.cloud.documentai.v1beta3.DatasetSplitType dataset_split = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for datasetSplit. |
getDocumentType()
public abstract 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 | |
|---|---|
| Type | Description |
String |
The documentType. |
getDocumentTypeBytes()
public abstract 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 | |
|---|---|
| Type | Description |
ByteString |
The bytes for documentType. |
getSplitTypeConfigCase()
public abstract ImportDocumentsRequest.BatchDocumentsImportConfig.SplitTypeConfigCase getSplitTypeConfigCase()| Returns | |
|---|---|
| Type | Description |
ImportDocumentsRequest.BatchDocumentsImportConfig.SplitTypeConfigCase |
|
hasAutoSplitConfig()
public abstract 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 | |
|---|---|
| Type | Description |
boolean |
Whether the autoSplitConfig field is set. |
hasBatchInputConfig()
public abstract boolean hasBatchInputConfig()The common config to specify a set of documents used as input.
.google.cloud.documentai.v1beta3.BatchDocumentsInputConfig batch_input_config = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the batchInputConfig field is set. |
hasDatasetSplit()
public abstract boolean hasDatasetSplit()Target dataset split where the documents must be stored.
.google.cloud.documentai.v1beta3.DatasetSplitType dataset_split = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the datasetSplit field is set. |