Class ProcessWithDocAiPipeline.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<ProcessWithDocAiPipeline.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<ProcessWithDocAiPipeline.Builder>
      • getDefaultInstanceForType

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

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

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

        public ProcessWithDocAiPipeline.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                 int index,
                                                                 Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ProcessWithDocAiPipeline.Builder>
      • addRepeatedField

        public ProcessWithDocAiPipeline.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                 Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ProcessWithDocAiPipeline.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ProcessWithDocAiPipeline.Builder>
      • mergeFrom

        public ProcessWithDocAiPipeline.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                   throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ProcessWithDocAiPipeline.Builder>
        Throws:
        IOException
      • getDocumentsList

        public com.google.protobuf.ProtocolStringList getDocumentsList()
         The list of all the resource names of the documents to be processed.
         Format:
         projects/{project_number}/locations/{location}/documents/{document_id}.
         
        repeated string documents = 1;
        Specified by:
        getDocumentsList in interface ProcessWithDocAiPipelineOrBuilder
        Returns:
        A list containing the documents.
      • getDocumentsCount

        public int getDocumentsCount()
         The list of all the resource names of the documents to be processed.
         Format:
         projects/{project_number}/locations/{location}/documents/{document_id}.
         
        repeated string documents = 1;
        Specified by:
        getDocumentsCount in interface ProcessWithDocAiPipelineOrBuilder
        Returns:
        The count of documents.
      • getDocuments

        public String getDocuments​(int index)
         The list of all the resource names of the documents to be processed.
         Format:
         projects/{project_number}/locations/{location}/documents/{document_id}.
         
        repeated string documents = 1;
        Specified by:
        getDocuments in interface ProcessWithDocAiPipelineOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The documents at the given index.
      • getDocumentsBytes

        public com.google.protobuf.ByteString getDocumentsBytes​(int index)
         The list of all the resource names of the documents to be processed.
         Format:
         projects/{project_number}/locations/{location}/documents/{document_id}.
         
        repeated string documents = 1;
        Specified by:
        getDocumentsBytes in interface ProcessWithDocAiPipelineOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the documents at the given index.
      • setDocuments

        public ProcessWithDocAiPipeline.Builder setDocuments​(int index,
                                                             String value)
         The list of all the resource names of the documents to be processed.
         Format:
         projects/{project_number}/locations/{location}/documents/{document_id}.
         
        repeated string documents = 1;
        Parameters:
        index - The index to set the value at.
        value - The documents to set.
        Returns:
        This builder for chaining.
      • addDocuments

        public ProcessWithDocAiPipeline.Builder addDocuments​(String value)
         The list of all the resource names of the documents to be processed.
         Format:
         projects/{project_number}/locations/{location}/documents/{document_id}.
         
        repeated string documents = 1;
        Parameters:
        value - The documents to add.
        Returns:
        This builder for chaining.
      • addAllDocuments

        public ProcessWithDocAiPipeline.Builder addAllDocuments​(Iterable<String> values)
         The list of all the resource names of the documents to be processed.
         Format:
         projects/{project_number}/locations/{location}/documents/{document_id}.
         
        repeated string documents = 1;
        Parameters:
        values - The documents to add.
        Returns:
        This builder for chaining.
      • clearDocuments

        public ProcessWithDocAiPipeline.Builder clearDocuments()
         The list of all the resource names of the documents to be processed.
         Format:
         projects/{project_number}/locations/{location}/documents/{document_id}.
         
        repeated string documents = 1;
        Returns:
        This builder for chaining.
      • addDocumentsBytes

        public ProcessWithDocAiPipeline.Builder addDocumentsBytes​(com.google.protobuf.ByteString value)
         The list of all the resource names of the documents to be processed.
         Format:
         projects/{project_number}/locations/{location}/documents/{document_id}.
         
        repeated string documents = 1;
        Parameters:
        value - The bytes of the documents to add.
        Returns:
        This builder for chaining.
      • getExportFolderPath

        public String getExportFolderPath()
         The Cloud Storage folder path used to store the exported documents before
         being sent to CDW.
         Format: `gs://<bucket-name>/<folder-name>`.
         
        string export_folder_path = 2;
        Specified by:
        getExportFolderPath in interface ProcessWithDocAiPipelineOrBuilder
        Returns:
        The exportFolderPath.
      • getExportFolderPathBytes

        public com.google.protobuf.ByteString getExportFolderPathBytes()
         The Cloud Storage folder path used to store the exported documents before
         being sent to CDW.
         Format: `gs://<bucket-name>/<folder-name>`.
         
        string export_folder_path = 2;
        Specified by:
        getExportFolderPathBytes in interface ProcessWithDocAiPipelineOrBuilder
        Returns:
        The bytes for exportFolderPath.
      • setExportFolderPath

        public ProcessWithDocAiPipeline.Builder setExportFolderPath​(String value)
         The Cloud Storage folder path used to store the exported documents before
         being sent to CDW.
         Format: `gs://<bucket-name>/<folder-name>`.
         
        string export_folder_path = 2;
        Parameters:
        value - The exportFolderPath to set.
        Returns:
        This builder for chaining.
      • clearExportFolderPath

        public ProcessWithDocAiPipeline.Builder clearExportFolderPath()
         The Cloud Storage folder path used to store the exported documents before
         being sent to CDW.
         Format: `gs://<bucket-name>/<folder-name>`.
         
        string export_folder_path = 2;
        Returns:
        This builder for chaining.
      • setExportFolderPathBytes

        public ProcessWithDocAiPipeline.Builder setExportFolderPathBytes​(com.google.protobuf.ByteString value)
         The Cloud Storage folder path used to store the exported documents before
         being sent to CDW.
         Format: `gs://<bucket-name>/<folder-name>`.
         
        string export_folder_path = 2;
        Parameters:
        value - The bytes for exportFolderPath to set.
        Returns:
        This builder for chaining.
      • hasProcessorInfo

        public boolean hasProcessorInfo()
         The CDW processor information.
         
        .google.cloud.contentwarehouse.v1.ProcessorInfo processor_info = 3;
        Specified by:
        hasProcessorInfo in interface ProcessWithDocAiPipelineOrBuilder
        Returns:
        Whether the processorInfo field is set.
      • clearProcessorInfo

        public ProcessWithDocAiPipeline.Builder clearProcessorInfo()
         The CDW processor information.
         
        .google.cloud.contentwarehouse.v1.ProcessorInfo processor_info = 3;
      • getProcessorInfoBuilder

        public ProcessorInfo.Builder getProcessorInfoBuilder()
         The CDW processor information.
         
        .google.cloud.contentwarehouse.v1.ProcessorInfo processor_info = 3;
      • 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;
        Specified by:
        getProcessorResultsFolderPath in interface ProcessWithDocAiPipelineOrBuilder
        Returns:
        The processorResultsFolderPath.
      • 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 ProcessWithDocAiPipelineOrBuilder
        Returns:
        The bytes for processorResultsFolderPath.
      • setProcessorResultsFolderPath

        public ProcessWithDocAiPipeline.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 ProcessWithDocAiPipeline.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 ProcessWithDocAiPipeline.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.
      • setUnknownFields

        public final ProcessWithDocAiPipeline.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ProcessWithDocAiPipeline.Builder>
      • mergeUnknownFields

        public final ProcessWithDocAiPipeline.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ProcessWithDocAiPipeline.Builder>