Class GcsIngestWithDocAiProcessorsPipeline.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<GcsIngestWithDocAiProcessorsPipeline.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<GcsIngestWithDocAiProcessorsPipeline.Builder>
      • getDefaultInstanceForType

        public GcsIngestWithDocAiProcessorsPipeline getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public GcsIngestWithDocAiProcessorsPipeline build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public GcsIngestWithDocAiProcessorsPipeline buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<GcsIngestWithDocAiProcessorsPipeline.Builder>
      • 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;
        Specified by:
        getInputPath in interface GcsIngestWithDocAiProcessorsPipelineOrBuilder
        Returns:
        The inputPath.
      • getInputPathBytes

        public com.google.protobuf.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;
        Specified by:
        getInputPathBytes in interface GcsIngestWithDocAiProcessorsPipelineOrBuilder
        Returns:
        The bytes for inputPath.
      • setInputPath

        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;
        Parameters:
        value - The inputPath to set.
        Returns:
        This builder for chaining.
      • 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:
        This builder for chaining.
      • setInputPathBytes

        public GcsIngestWithDocAiProcessorsPipeline.Builder setInputPathBytes​(com.google.protobuf.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;
        Parameters:
        value - The bytes for inputPath to set.
        Returns:
        This builder for chaining.
      • 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;
        Specified by:
        hasSplitClassifyProcessorInfo in interface GcsIngestWithDocAiProcessorsPipelineOrBuilder
        Returns:
        Whether the splitClassifyProcessorInfo field is set.
      • 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;
        Specified by:
        getSplitClassifyProcessorInfo in interface GcsIngestWithDocAiProcessorsPipelineOrBuilder
        Returns:
        The splitClassifyProcessorInfo.
      • setSplitClassifyProcessorInfo

        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;
      • setSplitClassifyProcessorInfo

        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;
      • mergeSplitClassifyProcessorInfo

        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;
      • 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;
      • 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;
      • 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;
        Specified by:
        getExtractProcessorInfosList in interface GcsIngestWithDocAiProcessorsPipelineOrBuilder
      • 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;
        Specified by:
        getExtractProcessorInfosCount in interface GcsIngestWithDocAiProcessorsPipelineOrBuilder
      • getExtractProcessorInfos

        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;
        Specified by:
        getExtractProcessorInfos in interface GcsIngestWithDocAiProcessorsPipelineOrBuilder
      • setExtractProcessorInfos

        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;
      • setExtractProcessorInfos

        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;
      • addExtractProcessorInfos

        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;
      • addExtractProcessorInfos

        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;
      • addExtractProcessorInfos

        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;
      • addExtractProcessorInfos

        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;
      • addAllExtractProcessorInfos

        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;
      • 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;
      • removeExtractProcessorInfos

        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;
      • getExtractProcessorInfosBuilder

        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;
      • getExtractProcessorInfosOrBuilder

        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;
        Specified by:
        getExtractProcessorInfosOrBuilder in interface GcsIngestWithDocAiProcessorsPipelineOrBuilder
      • 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;
        Specified by:
        getExtractProcessorInfosOrBuilderList in interface GcsIngestWithDocAiProcessorsPipelineOrBuilder
      • 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;
      • addExtractProcessorInfosBuilder

        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;
      • 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;
      • getProcessorResultsFolderPathBytes

        public com.google.protobuf.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;
        Specified by:
        getProcessorResultsFolderPathBytes in interface GcsIngestWithDocAiProcessorsPipelineOrBuilder
        Returns:
        The bytes for processorResultsFolderPath.
      • setProcessorResultsFolderPath

        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;
        Parameters:
        value - The processorResultsFolderPath to set.
        Returns:
        This builder for chaining.
      • 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:
        This builder for chaining.
      • setProcessorResultsFolderPathBytes

        public GcsIngestWithDocAiProcessorsPipeline.Builder setProcessorResultsFolderPathBytes​(com.google.protobuf.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;
        Parameters:
        value - The bytes for processorResultsFolderPath to set.
        Returns:
        This builder for chaining.
      • 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;
        Specified by:
        getSkipIngestedDocuments in interface GcsIngestWithDocAiProcessorsPipelineOrBuilder
        Returns:
        The skipIngestedDocuments.
      • setSkipIngestedDocuments

        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;
        Parameters:
        value - The skipIngestedDocuments to set.
        Returns:
        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:
        This builder for chaining.
      • 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];
        Specified by:
        hasPipelineConfig in interface GcsIngestWithDocAiProcessorsPipelineOrBuilder
        Returns:
        Whether the pipelineConfig field is set.
      • 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];
        Specified by:
        getPipelineConfig in interface GcsIngestWithDocAiProcessorsPipelineOrBuilder
        Returns:
        The pipelineConfig.
      • setPipelineConfig

        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];
      • setPipelineConfig

        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];
      • mergePipelineConfig

        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];
      • 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];
      • 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];
      • 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];
        Specified by:
        getPipelineConfigOrBuilder in interface GcsIngestWithDocAiProcessorsPipelineOrBuilder