Class GcsIngestWithDocAiProcessorsPipeline.Builder (0.44.0)

public static final class GcsIngestWithDocAiProcessorsPipeline.Builder extends GeneratedMessageV3.Builder<GcsIngestWithDocAiProcessorsPipeline.Builder> implements GcsIngestWithDocAiProcessorsPipelineOrBuilder

The configuration of the Cloud Storage Ingestion with DocAI Processors pipeline.

Protobuf type google.cloud.contentwarehouse.v1.GcsIngestWithDocAiProcessorsPipeline

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllExtractProcessorInfos(Iterable<? extends ProcessorInfo> values)

public GcsIngestWithDocAiProcessorsPipeline.Builder addAllExtractProcessorInfos(Iterable<? extends ProcessorInfo> values)

The extract processors information. One matched extract processor will be used to process documents based on the classify processor result. If no classify processor is specified, the first extract processor will be used.

repeated .google.cloud.contentwarehouse.v1.ProcessorInfo extract_processor_infos = 3;

Parameter
Name Description
values Iterable<? extends com.google.cloud.contentwarehouse.v1.ProcessorInfo>
Returns
Type Description
GcsIngestWithDocAiProcessorsPipeline.Builder

addExtractProcessorInfos(ProcessorInfo value)

public GcsIngestWithDocAiProcessorsPipeline.Builder addExtractProcessorInfos(ProcessorInfo value)

The extract processors information. One matched extract processor will be used to process documents based on the classify processor result. If no classify processor is specified, the first extract processor will be used.

repeated .google.cloud.contentwarehouse.v1.ProcessorInfo extract_processor_infos = 3;

Parameter
Name Description
value ProcessorInfo
Returns
Type Description
GcsIngestWithDocAiProcessorsPipeline.Builder

addExtractProcessorInfos(ProcessorInfo.Builder builderForValue)

public GcsIngestWithDocAiProcessorsPipeline.Builder addExtractProcessorInfos(ProcessorInfo.Builder builderForValue)

The extract processors information. One matched extract processor will be used to process documents based on the classify processor result. If no classify processor is specified, the first extract processor will be used.

repeated .google.cloud.contentwarehouse.v1.ProcessorInfo extract_processor_infos = 3;

Parameter
Name Description
builderForValue ProcessorInfo.Builder
Returns
Type Description
GcsIngestWithDocAiProcessorsPipeline.Builder

addExtractProcessorInfos(int index, ProcessorInfo value)

public GcsIngestWithDocAiProcessorsPipeline.Builder addExtractProcessorInfos(int index, ProcessorInfo value)

The extract processors information. One matched extract processor will be used to process documents based on the classify processor result. If no classify processor is specified, the first extract processor will be used.

repeated .google.cloud.contentwarehouse.v1.ProcessorInfo extract_processor_infos = 3;

Parameters
Name Description
index int
value ProcessorInfo
Returns
Type Description
GcsIngestWithDocAiProcessorsPipeline.Builder

addExtractProcessorInfos(int index, ProcessorInfo.Builder builderForValue)

public GcsIngestWithDocAiProcessorsPipeline.Builder addExtractProcessorInfos(int index, ProcessorInfo.Builder builderForValue)

The extract processors information. One matched extract processor will be used to process documents based on the classify processor result. If no classify processor is specified, the first extract processor will be used.

repeated .google.cloud.contentwarehouse.v1.ProcessorInfo extract_processor_infos = 3;

Parameters
Name Description
index int
builderForValue ProcessorInfo.Builder
Returns
Type Description
GcsIngestWithDocAiProcessorsPipeline.Builder

addExtractProcessorInfosBuilder()

public ProcessorInfo.Builder addExtractProcessorInfosBuilder()

The extract processors information. One matched extract processor will be used to process documents based on the classify processor result. If no classify processor is specified, the first extract processor will be used.

repeated .google.cloud.contentwarehouse.v1.ProcessorInfo extract_processor_infos = 3;

Returns
Type Description
ProcessorInfo.Builder

addExtractProcessorInfosBuilder(int index)

public ProcessorInfo.Builder addExtractProcessorInfosBuilder(int index)

The extract processors information. One matched extract processor will be used to process documents based on the classify processor result. If no classify processor is specified, the first extract processor will be used.

repeated .google.cloud.contentwarehouse.v1.ProcessorInfo extract_processor_infos = 3;

Parameter
Name Description
index int
Returns
Type Description
ProcessorInfo.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GcsIngestWithDocAiProcessorsPipeline.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GcsIngestWithDocAiProcessorsPipeline.Builder
Overrides

build()

public GcsIngestWithDocAiProcessorsPipeline build()
Returns
Type Description
GcsIngestWithDocAiProcessorsPipeline

buildPartial()

public GcsIngestWithDocAiProcessorsPipeline buildPartial()
Returns
Type Description
GcsIngestWithDocAiProcessorsPipeline

clear()

public GcsIngestWithDocAiProcessorsPipeline.Builder clear()
Returns
Type Description
GcsIngestWithDocAiProcessorsPipeline.Builder
Overrides

clearExtractProcessorInfos()

public GcsIngestWithDocAiProcessorsPipeline.Builder clearExtractProcessorInfos()

The extract processors information. One matched extract processor will be used to process documents based on the classify processor result. If no classify processor is specified, the first extract processor will be used.

repeated .google.cloud.contentwarehouse.v1.ProcessorInfo extract_processor_infos = 3;

Returns
Type Description
GcsIngestWithDocAiProcessorsPipeline.Builder

clearField(Descriptors.FieldDescriptor field)

public GcsIngestWithDocAiProcessorsPipeline.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
GcsIngestWithDocAiProcessorsPipeline.Builder
Overrides

clearInputPath()

public GcsIngestWithDocAiProcessorsPipeline.Builder clearInputPath()

The input Cloud Storage folder. All files under this folder will be imported to Document Warehouse. Format: gs://<bucket-name>/<folder-name>.

string input_path = 1;

Returns
Type Description
GcsIngestWithDocAiProcessorsPipeline.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public GcsIngestWithDocAiProcessorsPipeline.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
GcsIngestWithDocAiProcessorsPipeline.Builder
Overrides

clearPipelineConfig()

public GcsIngestWithDocAiProcessorsPipeline.Builder clearPipelineConfig()

Optional. The config for the Cloud Storage Ingestion with DocAI Processors pipeline. It provides additional customization options to run the pipeline and can be skipped if it is not applicable.

.google.cloud.contentwarehouse.v1.IngestPipelineConfig pipeline_config = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GcsIngestWithDocAiProcessorsPipeline.Builder

clearProcessorResultsFolderPath()

public GcsIngestWithDocAiProcessorsPipeline.Builder clearProcessorResultsFolderPath()

The Cloud Storage folder path used to store the raw results from processors. Format: gs://<bucket-name>/<folder-name>.

string processor_results_folder_path = 4;

Returns
Type Description
GcsIngestWithDocAiProcessorsPipeline.Builder

This builder for chaining.

clearSkipIngestedDocuments()

public GcsIngestWithDocAiProcessorsPipeline.Builder clearSkipIngestedDocuments()

The flag whether to skip ingested documents. If it is set to true, documents in Cloud Storage contains key "status" with value "status=ingested" in custom metadata will be skipped to ingest.

bool skip_ingested_documents = 5;

Returns
Type Description
GcsIngestWithDocAiProcessorsPipeline.Builder

This builder for chaining.

clearSplitClassifyProcessorInfo()

public GcsIngestWithDocAiProcessorsPipeline.Builder clearSplitClassifyProcessorInfo()

The split and classify processor information. The split and classify result will be used to find a matched extract processor.

.google.cloud.contentwarehouse.v1.ProcessorInfo split_classify_processor_info = 2;

Returns
Type Description
GcsIngestWithDocAiProcessorsPipeline.Builder

clone()

public GcsIngestWithDocAiProcessorsPipeline.Builder clone()
Returns
Type Description
GcsIngestWithDocAiProcessorsPipeline.Builder
Overrides

getDefaultInstanceForType()

public GcsIngestWithDocAiProcessorsPipeline getDefaultInstanceForType()
Returns
Type Description
GcsIngestWithDocAiProcessorsPipeline

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getExtractProcessorInfos(int index)

public ProcessorInfo getExtractProcessorInfos(int index)

The extract processors information. One matched extract processor will be used to process documents based on the classify processor result. If no classify processor is specified, the first extract processor will be used.

repeated .google.cloud.contentwarehouse.v1.ProcessorInfo extract_processor_infos = 3;

Parameter
Name Description
index int
Returns
Type Description
ProcessorInfo

getExtractProcessorInfosBuilder(int index)

public ProcessorInfo.Builder getExtractProcessorInfosBuilder(int index)

The extract processors information. One matched extract processor will be used to process documents based on the classify processor result. If no classify processor is specified, the first extract processor will be used.

repeated .google.cloud.contentwarehouse.v1.ProcessorInfo extract_processor_infos = 3;

Parameter
Name Description
index int
Returns
Type Description
ProcessorInfo.Builder

getExtractProcessorInfosBuilderList()

public List<ProcessorInfo.Builder> getExtractProcessorInfosBuilderList()

The extract processors information. One matched extract processor will be used to process documents based on the classify processor result. If no classify processor is specified, the first extract processor will be used.

repeated .google.cloud.contentwarehouse.v1.ProcessorInfo extract_processor_infos = 3;

Returns
Type Description
List<Builder>

getExtractProcessorInfosCount()

public int getExtractProcessorInfosCount()

The extract processors information. One matched extract processor will be used to process documents based on the classify processor result. If no classify processor is specified, the first extract processor will be used.

repeated .google.cloud.contentwarehouse.v1.ProcessorInfo extract_processor_infos = 3;

Returns
Type Description
int

getExtractProcessorInfosList()

public List<ProcessorInfo> getExtractProcessorInfosList()

The extract processors information. One matched extract processor will be used to process documents based on the classify processor result. If no classify processor is specified, the first extract processor will be used.

repeated .google.cloud.contentwarehouse.v1.ProcessorInfo extract_processor_infos = 3;

Returns
Type Description
List<ProcessorInfo>

getExtractProcessorInfosOrBuilder(int index)

public ProcessorInfoOrBuilder getExtractProcessorInfosOrBuilder(int index)

The extract processors information. One matched extract processor will be used to process documents based on the classify processor result. If no classify processor is specified, the first extract processor will be used.

repeated .google.cloud.contentwarehouse.v1.ProcessorInfo extract_processor_infos = 3;

Parameter
Name Description
index int
Returns
Type Description
ProcessorInfoOrBuilder

getExtractProcessorInfosOrBuilderList()

public List<? extends ProcessorInfoOrBuilder> getExtractProcessorInfosOrBuilderList()

The extract processors information. One matched extract processor will be used to process documents based on the classify processor result. If no classify processor is specified, the first extract processor will be used.

repeated .google.cloud.contentwarehouse.v1.ProcessorInfo extract_processor_infos = 3;

Returns
Type Description
List<? extends com.google.cloud.contentwarehouse.v1.ProcessorInfoOrBuilder>

getInputPath()

public String getInputPath()

The input Cloud Storage folder. All files under this folder will be imported to Document Warehouse. Format: gs://<bucket-name>/<folder-name>.

string input_path = 1;

Returns
Type Description
String

The inputPath.

getInputPathBytes()

public ByteString getInputPathBytes()

The input Cloud Storage folder. All files under this folder will be imported to Document Warehouse. Format: gs://<bucket-name>/<folder-name>.

string input_path = 1;

Returns
Type Description
ByteString

The bytes for inputPath.

getPipelineConfig()

public IngestPipelineConfig getPipelineConfig()

Optional. The config for the Cloud Storage Ingestion with DocAI Processors pipeline. It provides additional customization options to run the pipeline and can be skipped if it is not applicable.

.google.cloud.contentwarehouse.v1.IngestPipelineConfig pipeline_config = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IngestPipelineConfig

The pipelineConfig.

getPipelineConfigBuilder()

public IngestPipelineConfig.Builder getPipelineConfigBuilder()

Optional. The config for the Cloud Storage Ingestion with DocAI Processors pipeline. It provides additional customization options to run the pipeline and can be skipped if it is not applicable.

.google.cloud.contentwarehouse.v1.IngestPipelineConfig pipeline_config = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IngestPipelineConfig.Builder

getPipelineConfigOrBuilder()

public IngestPipelineConfigOrBuilder getPipelineConfigOrBuilder()

Optional. The config for the Cloud Storage Ingestion with DocAI Processors pipeline. It provides additional customization options to run the pipeline and can be skipped if it is not applicable.

.google.cloud.contentwarehouse.v1.IngestPipelineConfig pipeline_config = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IngestPipelineConfigOrBuilder

getProcessorResultsFolderPath()

public String getProcessorResultsFolderPath()

The Cloud Storage folder path used to store the raw results from processors. Format: gs://<bucket-name>/<folder-name>.

string processor_results_folder_path = 4;

Returns
Type Description
String

The processorResultsFolderPath.

getProcessorResultsFolderPathBytes()

public ByteString getProcessorResultsFolderPathBytes()

The Cloud Storage folder path used to store the raw results from processors. Format: gs://<bucket-name>/<folder-name>.

string processor_results_folder_path = 4;

Returns
Type Description
ByteString

The bytes for processorResultsFolderPath.

getSkipIngestedDocuments()

public boolean getSkipIngestedDocuments()

The flag whether to skip ingested documents. If it is set to true, documents in Cloud Storage contains key "status" with value "status=ingested" in custom metadata will be skipped to ingest.

bool skip_ingested_documents = 5;

Returns
Type Description
boolean

The skipIngestedDocuments.

getSplitClassifyProcessorInfo()

public ProcessorInfo getSplitClassifyProcessorInfo()

The split and classify processor information. The split and classify result will be used to find a matched extract processor.

.google.cloud.contentwarehouse.v1.ProcessorInfo split_classify_processor_info = 2;

Returns
Type Description
ProcessorInfo

The splitClassifyProcessorInfo.

getSplitClassifyProcessorInfoBuilder()

public ProcessorInfo.Builder getSplitClassifyProcessorInfoBuilder()

The split and classify processor information. The split and classify result will be used to find a matched extract processor.

.google.cloud.contentwarehouse.v1.ProcessorInfo split_classify_processor_info = 2;

Returns
Type Description
ProcessorInfo.Builder

getSplitClassifyProcessorInfoOrBuilder()

public ProcessorInfoOrBuilder getSplitClassifyProcessorInfoOrBuilder()

The split and classify processor information. The split and classify result will be used to find a matched extract processor.

.google.cloud.contentwarehouse.v1.ProcessorInfo split_classify_processor_info = 2;

Returns
Type Description
ProcessorInfoOrBuilder

hasPipelineConfig()

public boolean hasPipelineConfig()

Optional. The config for the Cloud Storage Ingestion with DocAI Processors pipeline. It provides additional customization options to run the pipeline and can be skipped if it is not applicable.

.google.cloud.contentwarehouse.v1.IngestPipelineConfig pipeline_config = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the pipelineConfig field is set.

hasSplitClassifyProcessorInfo()

public boolean hasSplitClassifyProcessorInfo()

The split and classify processor information. The split and classify result will be used to find a matched extract processor.

.google.cloud.contentwarehouse.v1.ProcessorInfo split_classify_processor_info = 2;

Returns
Type Description
boolean

Whether the splitClassifyProcessorInfo field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GcsIngestWithDocAiProcessorsPipeline other)

public GcsIngestWithDocAiProcessorsPipeline.Builder mergeFrom(GcsIngestWithDocAiProcessorsPipeline other)
Parameter
Name Description
other GcsIngestWithDocAiProcessorsPipeline
Returns
Type Description
GcsIngestWithDocAiProcessorsPipeline.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GcsIngestWithDocAiProcessorsPipeline.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GcsIngestWithDocAiProcessorsPipeline.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public GcsIngestWithDocAiProcessorsPipeline.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
GcsIngestWithDocAiProcessorsPipeline.Builder
Overrides

mergePipelineConfig(IngestPipelineConfig value)

public GcsIngestWithDocAiProcessorsPipeline.Builder mergePipelineConfig(IngestPipelineConfig value)

Optional. The config for the Cloud Storage Ingestion with DocAI Processors pipeline. It provides additional customization options to run the pipeline and can be skipped if it is not applicable.

.google.cloud.contentwarehouse.v1.IngestPipelineConfig pipeline_config = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value IngestPipelineConfig
Returns
Type Description
GcsIngestWithDocAiProcessorsPipeline.Builder

mergeSplitClassifyProcessorInfo(ProcessorInfo value)

public GcsIngestWithDocAiProcessorsPipeline.Builder mergeSplitClassifyProcessorInfo(ProcessorInfo value)

The split and classify processor information. The split and classify result will be used to find a matched extract processor.

.google.cloud.contentwarehouse.v1.ProcessorInfo split_classify_processor_info = 2;

Parameter
Name Description
value ProcessorInfo
Returns
Type Description
GcsIngestWithDocAiProcessorsPipeline.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GcsIngestWithDocAiProcessorsPipeline.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GcsIngestWithDocAiProcessorsPipeline.Builder
Overrides

removeExtractProcessorInfos(int index)

public GcsIngestWithDocAiProcessorsPipeline.Builder removeExtractProcessorInfos(int index)

The extract processors information. One matched extract processor will be used to process documents based on the classify processor result. If no classify processor is specified, the first extract processor will be used.

repeated .google.cloud.contentwarehouse.v1.ProcessorInfo extract_processor_infos = 3;

Parameter
Name Description
index int
Returns
Type Description
GcsIngestWithDocAiProcessorsPipeline.Builder

setExtractProcessorInfos(int index, ProcessorInfo value)

public GcsIngestWithDocAiProcessorsPipeline.Builder setExtractProcessorInfos(int index, ProcessorInfo value)

The extract processors information. One matched extract processor will be used to process documents based on the classify processor result. If no classify processor is specified, the first extract processor will be used.

repeated .google.cloud.contentwarehouse.v1.ProcessorInfo extract_processor_infos = 3;

Parameters
Name Description
index int
value ProcessorInfo
Returns
Type Description
GcsIngestWithDocAiProcessorsPipeline.Builder

setExtractProcessorInfos(int index, ProcessorInfo.Builder builderForValue)

public GcsIngestWithDocAiProcessorsPipeline.Builder setExtractProcessorInfos(int index, ProcessorInfo.Builder builderForValue)

The extract processors information. One matched extract processor will be used to process documents based on the classify processor result. If no classify processor is specified, the first extract processor will be used.

repeated .google.cloud.contentwarehouse.v1.ProcessorInfo extract_processor_infos = 3;

Parameters
Name Description
index int
builderForValue ProcessorInfo.Builder
Returns
Type Description
GcsIngestWithDocAiProcessorsPipeline.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public GcsIngestWithDocAiProcessorsPipeline.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GcsIngestWithDocAiProcessorsPipeline.Builder
Overrides

setInputPath(String value)

public GcsIngestWithDocAiProcessorsPipeline.Builder setInputPath(String value)

The input Cloud Storage folder. All files under this folder will be imported to Document Warehouse. Format: gs://<bucket-name>/<folder-name>.

string input_path = 1;

Parameter
Name Description
value String

The inputPath to set.

Returns
Type Description
GcsIngestWithDocAiProcessorsPipeline.Builder

This builder for chaining.

setInputPathBytes(ByteString value)

public GcsIngestWithDocAiProcessorsPipeline.Builder setInputPathBytes(ByteString value)

The input Cloud Storage folder. All files under this folder will be imported to Document Warehouse. Format: gs://<bucket-name>/<folder-name>.

string input_path = 1;

Parameter
Name Description
value ByteString

The bytes for inputPath to set.

Returns
Type Description
GcsIngestWithDocAiProcessorsPipeline.Builder

This builder for chaining.

setPipelineConfig(IngestPipelineConfig value)

public GcsIngestWithDocAiProcessorsPipeline.Builder setPipelineConfig(IngestPipelineConfig value)

Optional. The config for the Cloud Storage Ingestion with DocAI Processors pipeline. It provides additional customization options to run the pipeline and can be skipped if it is not applicable.

.google.cloud.contentwarehouse.v1.IngestPipelineConfig pipeline_config = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value IngestPipelineConfig
Returns
Type Description
GcsIngestWithDocAiProcessorsPipeline.Builder

setPipelineConfig(IngestPipelineConfig.Builder builderForValue)

public GcsIngestWithDocAiProcessorsPipeline.Builder setPipelineConfig(IngestPipelineConfig.Builder builderForValue)

Optional. The config for the Cloud Storage Ingestion with DocAI Processors pipeline. It provides additional customization options to run the pipeline and can be skipped if it is not applicable.

.google.cloud.contentwarehouse.v1.IngestPipelineConfig pipeline_config = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue IngestPipelineConfig.Builder
Returns
Type Description
GcsIngestWithDocAiProcessorsPipeline.Builder

setProcessorResultsFolderPath(String value)

public GcsIngestWithDocAiProcessorsPipeline.Builder setProcessorResultsFolderPath(String value)

The Cloud Storage folder path used to store the raw results from processors. Format: gs://<bucket-name>/<folder-name>.

string processor_results_folder_path = 4;

Parameter
Name Description
value String

The processorResultsFolderPath to set.

Returns
Type Description
GcsIngestWithDocAiProcessorsPipeline.Builder

This builder for chaining.

setProcessorResultsFolderPathBytes(ByteString value)

public GcsIngestWithDocAiProcessorsPipeline.Builder setProcessorResultsFolderPathBytes(ByteString value)

The Cloud Storage folder path used to store the raw results from processors. Format: gs://<bucket-name>/<folder-name>.

string processor_results_folder_path = 4;

Parameter
Name Description
value ByteString

The bytes for processorResultsFolderPath to set.

Returns
Type Description
GcsIngestWithDocAiProcessorsPipeline.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public GcsIngestWithDocAiProcessorsPipeline.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
GcsIngestWithDocAiProcessorsPipeline.Builder
Overrides

setSkipIngestedDocuments(boolean value)

public GcsIngestWithDocAiProcessorsPipeline.Builder setSkipIngestedDocuments(boolean value)

The flag whether to skip ingested documents. If it is set to true, documents in Cloud Storage contains key "status" with value "status=ingested" in custom metadata will be skipped to ingest.

bool skip_ingested_documents = 5;

Parameter
Name Description
value boolean

The skipIngestedDocuments to set.

Returns
Type Description
GcsIngestWithDocAiProcessorsPipeline.Builder

This builder for chaining.

setSplitClassifyProcessorInfo(ProcessorInfo value)

public GcsIngestWithDocAiProcessorsPipeline.Builder setSplitClassifyProcessorInfo(ProcessorInfo value)

The split and classify processor information. The split and classify result will be used to find a matched extract processor.

.google.cloud.contentwarehouse.v1.ProcessorInfo split_classify_processor_info = 2;

Parameter
Name Description
value ProcessorInfo
Returns
Type Description
GcsIngestWithDocAiProcessorsPipeline.Builder

setSplitClassifyProcessorInfo(ProcessorInfo.Builder builderForValue)

public GcsIngestWithDocAiProcessorsPipeline.Builder setSplitClassifyProcessorInfo(ProcessorInfo.Builder builderForValue)

The split and classify processor information. The split and classify result will be used to find a matched extract processor.

.google.cloud.contentwarehouse.v1.ProcessorInfo split_classify_processor_info = 2;

Parameter
Name Description
builderForValue ProcessorInfo.Builder
Returns
Type Description
GcsIngestWithDocAiProcessorsPipeline.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final GcsIngestWithDocAiProcessorsPipeline.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GcsIngestWithDocAiProcessorsPipeline.Builder
Overrides