Class GcsIngestWithDocAiProcessorsPipeline.Builder (0.29.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.contentwarehouse.v1.ProcessorInfo>
Returns
TypeDescription
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
NameDescription
valueProcessorInfo
Returns
TypeDescription
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
NameDescription
builderForValueProcessorInfo.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueProcessorInfo
Returns
TypeDescription
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
NameDescription
indexint
builderForValueProcessorInfo.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ProcessorInfo.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GcsIngestWithDocAiProcessorsPipeline.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GcsIngestWithDocAiProcessorsPipeline.Builder
Overrides

build()

public GcsIngestWithDocAiProcessorsPipeline build()
Returns
TypeDescription
GcsIngestWithDocAiProcessorsPipeline

buildPartial()

public GcsIngestWithDocAiProcessorsPipeline buildPartial()
Returns
TypeDescription
GcsIngestWithDocAiProcessorsPipeline

clear()

public GcsIngestWithDocAiProcessorsPipeline.Builder clear()
Returns
TypeDescription
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
TypeDescription
GcsIngestWithDocAiProcessorsPipeline.Builder

clearField(Descriptors.FieldDescriptor field)

public GcsIngestWithDocAiProcessorsPipeline.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
GcsIngestWithDocAiProcessorsPipeline.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public GcsIngestWithDocAiProcessorsPipeline.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
GcsIngestWithDocAiProcessorsPipeline.Builder

clone()

public GcsIngestWithDocAiProcessorsPipeline.Builder clone()
Returns
TypeDescription
GcsIngestWithDocAiProcessorsPipeline.Builder
Overrides

getDefaultInstanceForType()

public GcsIngestWithDocAiProcessorsPipeline getDefaultInstanceForType()
Returns
TypeDescription
GcsIngestWithDocAiProcessorsPipeline

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the splitClassifyProcessorInfo field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GcsIngestWithDocAiProcessorsPipeline other)

public GcsIngestWithDocAiProcessorsPipeline.Builder mergeFrom(GcsIngestWithDocAiProcessorsPipeline other)
Parameter
NameDescription
otherGcsIngestWithDocAiProcessorsPipeline
Returns
TypeDescription
GcsIngestWithDocAiProcessorsPipeline.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GcsIngestWithDocAiProcessorsPipeline.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GcsIngestWithDocAiProcessorsPipeline.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public GcsIngestWithDocAiProcessorsPipeline.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueIngestPipelineConfig
Returns
TypeDescription
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
NameDescription
valueProcessorInfo
Returns
TypeDescription
GcsIngestWithDocAiProcessorsPipeline.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GcsIngestWithDocAiProcessorsPipeline.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueProcessorInfo
Returns
TypeDescription
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
NameDescription
indexint
builderForValueProcessorInfo.Builder
Returns
TypeDescription
GcsIngestWithDocAiProcessorsPipeline.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public GcsIngestWithDocAiProcessorsPipeline.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The inputPath to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for inputPath to set.

Returns
TypeDescription
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
NameDescription
valueIngestPipelineConfig
Returns
TypeDescription
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
NameDescription
builderForValueIngestPipelineConfig.Builder
Returns
TypeDescription
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
NameDescription
valueString

The processorResultsFolderPath to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for processorResultsFolderPath to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueboolean

The skipIngestedDocuments to set.

Returns
TypeDescription
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
NameDescription
valueProcessorInfo
Returns
TypeDescription
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
NameDescription
builderForValueProcessorInfo.Builder
Returns
TypeDescription
GcsIngestWithDocAiProcessorsPipeline.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final GcsIngestWithDocAiProcessorsPipeline.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GcsIngestWithDocAiProcessorsPipeline.Builder
Overrides