Interface ImportDocumentsRequestOrBuilder (2.52.0)

public interface ImportDocumentsRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBatchDocumentsImportConfigs(int index)

public abstract ImportDocumentsRequest.BatchDocumentsImportConfig getBatchDocumentsImportConfigs(int index)

Required. The Cloud Storage uri containing raw documents that must be imported.

repeated .google.cloud.documentai.v1beta3.ImportDocumentsRequest.BatchDocumentsImportConfig batch_documents_import_configs = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
ImportDocumentsRequest.BatchDocumentsImportConfig

getBatchDocumentsImportConfigsCount()

public abstract int getBatchDocumentsImportConfigsCount()

Required. The Cloud Storage uri containing raw documents that must be imported.

repeated .google.cloud.documentai.v1beta3.ImportDocumentsRequest.BatchDocumentsImportConfig batch_documents_import_configs = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getBatchDocumentsImportConfigsList()

public abstract List<ImportDocumentsRequest.BatchDocumentsImportConfig> getBatchDocumentsImportConfigsList()

Required. The Cloud Storage uri containing raw documents that must be imported.

repeated .google.cloud.documentai.v1beta3.ImportDocumentsRequest.BatchDocumentsImportConfig batch_documents_import_configs = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<BatchDocumentsImportConfig>

getBatchDocumentsImportConfigsOrBuilder(int index)

public abstract ImportDocumentsRequest.BatchDocumentsImportConfigOrBuilder getBatchDocumentsImportConfigsOrBuilder(int index)

Required. The Cloud Storage uri containing raw documents that must be imported.

repeated .google.cloud.documentai.v1beta3.ImportDocumentsRequest.BatchDocumentsImportConfig batch_documents_import_configs = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
ImportDocumentsRequest.BatchDocumentsImportConfigOrBuilder

getBatchDocumentsImportConfigsOrBuilderList()

public abstract List<? extends ImportDocumentsRequest.BatchDocumentsImportConfigOrBuilder> getBatchDocumentsImportConfigsOrBuilderList()

Required. The Cloud Storage uri containing raw documents that must be imported.

repeated .google.cloud.documentai.v1beta3.ImportDocumentsRequest.BatchDocumentsImportConfig batch_documents_import_configs = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.cloud.documentai.v1beta3.ImportDocumentsRequest.BatchDocumentsImportConfigOrBuilder>

getDataset()

public abstract String getDataset()

Required. The dataset resource name. Format: projects/{project}/locations/{location}/processors/{processor}/dataset

string dataset = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The dataset.

getDatasetBytes()

public abstract ByteString getDatasetBytes()

Required. The dataset resource name. Format: projects/{project}/locations/{location}/processors/{processor}/dataset

string dataset = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for dataset.