Class RunPipelineRequest.Builder

  • All Implemented Interfaces:
    RunPipelineRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    RunPipelineRequest

    public static final class RunPipelineRequest.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<RunPipelineRequest.Builder>
    implements RunPipelineRequestOrBuilder
     Request message for DocumentService.RunPipeline.
     
    Protobuf type google.cloud.contentwarehouse.v1.RunPipelineRequest
    • 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<RunPipelineRequest.Builder>
      • clear

        public RunPipelineRequest.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<RunPipelineRequest.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<RunPipelineRequest.Builder>
      • getDefaultInstanceForType

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

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

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

        public RunPipelineRequest.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<RunPipelineRequest.Builder>
      • setField

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

        public RunPipelineRequest.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<RunPipelineRequest.Builder>
      • clearOneof

        public RunPipelineRequest.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<RunPipelineRequest.Builder>
      • setRepeatedField

        public RunPipelineRequest.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<RunPipelineRequest.Builder>
      • addRepeatedField

        public RunPipelineRequest.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<RunPipelineRequest.Builder>
      • mergeFrom

        public RunPipelineRequest.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RunPipelineRequest.Builder>
      • isInitialized

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

        public RunPipelineRequest.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<RunPipelineRequest.Builder>
        Throws:
        IOException
      • getName

        public String getName()
         Required. The resource name which owns the resources of the pipeline.
         Format: projects/{project_number}/locations/{location}.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getName in interface RunPipelineRequestOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Required. The resource name which owns the resources of the pipeline.
         Format: projects/{project_number}/locations/{location}.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getNameBytes in interface RunPipelineRequestOrBuilder
        Returns:
        The bytes for name.
      • setName

        public RunPipelineRequest.Builder setName​(String value)
         Required. The resource name which owns the resources of the pipeline.
         Format: projects/{project_number}/locations/{location}.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public RunPipelineRequest.Builder clearName()
         Required. The resource name which owns the resources of the pipeline.
         Format: projects/{project_number}/locations/{location}.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setNameBytes

        public RunPipelineRequest.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Required. The resource name which owns the resources of the pipeline.
         Format: projects/{project_number}/locations/{location}.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • hasGcsIngestPipeline

        public boolean hasGcsIngestPipeline()
         Cloud Storage ingestion pipeline.
         
        .google.cloud.contentwarehouse.v1.GcsIngestPipeline gcs_ingest_pipeline = 2;
        Specified by:
        hasGcsIngestPipeline in interface RunPipelineRequestOrBuilder
        Returns:
        Whether the gcsIngestPipeline field is set.
      • setGcsIngestPipeline

        public RunPipelineRequest.Builder setGcsIngestPipeline​(GcsIngestPipeline value)
         Cloud Storage ingestion pipeline.
         
        .google.cloud.contentwarehouse.v1.GcsIngestPipeline gcs_ingest_pipeline = 2;
      • mergeGcsIngestPipeline

        public RunPipelineRequest.Builder mergeGcsIngestPipeline​(GcsIngestPipeline value)
         Cloud Storage ingestion pipeline.
         
        .google.cloud.contentwarehouse.v1.GcsIngestPipeline gcs_ingest_pipeline = 2;
      • clearGcsIngestPipeline

        public RunPipelineRequest.Builder clearGcsIngestPipeline()
         Cloud Storage ingestion pipeline.
         
        .google.cloud.contentwarehouse.v1.GcsIngestPipeline gcs_ingest_pipeline = 2;
      • getGcsIngestPipelineBuilder

        public GcsIngestPipeline.Builder getGcsIngestPipelineBuilder()
         Cloud Storage ingestion pipeline.
         
        .google.cloud.contentwarehouse.v1.GcsIngestPipeline gcs_ingest_pipeline = 2;
      • hasGcsIngestWithDocAiProcessorsPipeline

        public boolean hasGcsIngestWithDocAiProcessorsPipeline()
         Use DocAI processors to process documents in Cloud Storage and ingest
         them to Document Warehouse.
         
        .google.cloud.contentwarehouse.v1.GcsIngestWithDocAiProcessorsPipeline gcs_ingest_with_doc_ai_processors_pipeline = 3;
        Specified by:
        hasGcsIngestWithDocAiProcessorsPipeline in interface RunPipelineRequestOrBuilder
        Returns:
        Whether the gcsIngestWithDocAiProcessorsPipeline field is set.
      • setGcsIngestWithDocAiProcessorsPipeline

        public RunPipelineRequest.Builder setGcsIngestWithDocAiProcessorsPipeline​(GcsIngestWithDocAiProcessorsPipeline value)
         Use DocAI processors to process documents in Cloud Storage and ingest
         them to Document Warehouse.
         
        .google.cloud.contentwarehouse.v1.GcsIngestWithDocAiProcessorsPipeline gcs_ingest_with_doc_ai_processors_pipeline = 3;
      • setGcsIngestWithDocAiProcessorsPipeline

        public RunPipelineRequest.Builder setGcsIngestWithDocAiProcessorsPipeline​(GcsIngestWithDocAiProcessorsPipeline.Builder builderForValue)
         Use DocAI processors to process documents in Cloud Storage and ingest
         them to Document Warehouse.
         
        .google.cloud.contentwarehouse.v1.GcsIngestWithDocAiProcessorsPipeline gcs_ingest_with_doc_ai_processors_pipeline = 3;
      • mergeGcsIngestWithDocAiProcessorsPipeline

        public RunPipelineRequest.Builder mergeGcsIngestWithDocAiProcessorsPipeline​(GcsIngestWithDocAiProcessorsPipeline value)
         Use DocAI processors to process documents in Cloud Storage and ingest
         them to Document Warehouse.
         
        .google.cloud.contentwarehouse.v1.GcsIngestWithDocAiProcessorsPipeline gcs_ingest_with_doc_ai_processors_pipeline = 3;
      • clearGcsIngestWithDocAiProcessorsPipeline

        public RunPipelineRequest.Builder clearGcsIngestWithDocAiProcessorsPipeline()
         Use DocAI processors to process documents in Cloud Storage and ingest
         them to Document Warehouse.
         
        .google.cloud.contentwarehouse.v1.GcsIngestWithDocAiProcessorsPipeline gcs_ingest_with_doc_ai_processors_pipeline = 3;
      • getGcsIngestWithDocAiProcessorsPipelineBuilder

        public GcsIngestWithDocAiProcessorsPipeline.Builder getGcsIngestWithDocAiProcessorsPipelineBuilder()
         Use DocAI processors to process documents in Cloud Storage and ingest
         them to Document Warehouse.
         
        .google.cloud.contentwarehouse.v1.GcsIngestWithDocAiProcessorsPipeline gcs_ingest_with_doc_ai_processors_pipeline = 3;
      • hasExportCdwPipeline

        public boolean hasExportCdwPipeline()
         Export docuemnts from Document Warehouse to CDW for training purpose.
         
        .google.cloud.contentwarehouse.v1.ExportToCdwPipeline export_cdw_pipeline = 4;
        Specified by:
        hasExportCdwPipeline in interface RunPipelineRequestOrBuilder
        Returns:
        Whether the exportCdwPipeline field is set.
      • getExportCdwPipeline

        public ExportToCdwPipeline getExportCdwPipeline()
         Export docuemnts from Document Warehouse to CDW for training purpose.
         
        .google.cloud.contentwarehouse.v1.ExportToCdwPipeline export_cdw_pipeline = 4;
        Specified by:
        getExportCdwPipeline in interface RunPipelineRequestOrBuilder
        Returns:
        The exportCdwPipeline.
      • setExportCdwPipeline

        public RunPipelineRequest.Builder setExportCdwPipeline​(ExportToCdwPipeline value)
         Export docuemnts from Document Warehouse to CDW for training purpose.
         
        .google.cloud.contentwarehouse.v1.ExportToCdwPipeline export_cdw_pipeline = 4;
      • setExportCdwPipeline

        public RunPipelineRequest.Builder setExportCdwPipeline​(ExportToCdwPipeline.Builder builderForValue)
         Export docuemnts from Document Warehouse to CDW for training purpose.
         
        .google.cloud.contentwarehouse.v1.ExportToCdwPipeline export_cdw_pipeline = 4;
      • mergeExportCdwPipeline

        public RunPipelineRequest.Builder mergeExportCdwPipeline​(ExportToCdwPipeline value)
         Export docuemnts from Document Warehouse to CDW for training purpose.
         
        .google.cloud.contentwarehouse.v1.ExportToCdwPipeline export_cdw_pipeline = 4;
      • clearExportCdwPipeline

        public RunPipelineRequest.Builder clearExportCdwPipeline()
         Export docuemnts from Document Warehouse to CDW for training purpose.
         
        .google.cloud.contentwarehouse.v1.ExportToCdwPipeline export_cdw_pipeline = 4;
      • getExportCdwPipelineBuilder

        public ExportToCdwPipeline.Builder getExportCdwPipelineBuilder()
         Export docuemnts from Document Warehouse to CDW for training purpose.
         
        .google.cloud.contentwarehouse.v1.ExportToCdwPipeline export_cdw_pipeline = 4;
      • hasProcessWithDocAiPipeline

        public boolean hasProcessWithDocAiPipeline()
         Use a DocAI processor to process documents in Document Warehouse, and
         re-ingest the updated results into Document Warehouse.
         
        .google.cloud.contentwarehouse.v1.ProcessWithDocAiPipeline process_with_doc_ai_pipeline = 5;
        Specified by:
        hasProcessWithDocAiPipeline in interface RunPipelineRequestOrBuilder
        Returns:
        Whether the processWithDocAiPipeline field is set.
      • getProcessWithDocAiPipeline

        public ProcessWithDocAiPipeline getProcessWithDocAiPipeline()
         Use a DocAI processor to process documents in Document Warehouse, and
         re-ingest the updated results into Document Warehouse.
         
        .google.cloud.contentwarehouse.v1.ProcessWithDocAiPipeline process_with_doc_ai_pipeline = 5;
        Specified by:
        getProcessWithDocAiPipeline in interface RunPipelineRequestOrBuilder
        Returns:
        The processWithDocAiPipeline.
      • setProcessWithDocAiPipeline

        public RunPipelineRequest.Builder setProcessWithDocAiPipeline​(ProcessWithDocAiPipeline value)
         Use a DocAI processor to process documents in Document Warehouse, and
         re-ingest the updated results into Document Warehouse.
         
        .google.cloud.contentwarehouse.v1.ProcessWithDocAiPipeline process_with_doc_ai_pipeline = 5;
      • setProcessWithDocAiPipeline

        public RunPipelineRequest.Builder setProcessWithDocAiPipeline​(ProcessWithDocAiPipeline.Builder builderForValue)
         Use a DocAI processor to process documents in Document Warehouse, and
         re-ingest the updated results into Document Warehouse.
         
        .google.cloud.contentwarehouse.v1.ProcessWithDocAiPipeline process_with_doc_ai_pipeline = 5;
      • mergeProcessWithDocAiPipeline

        public RunPipelineRequest.Builder mergeProcessWithDocAiPipeline​(ProcessWithDocAiPipeline value)
         Use a DocAI processor to process documents in Document Warehouse, and
         re-ingest the updated results into Document Warehouse.
         
        .google.cloud.contentwarehouse.v1.ProcessWithDocAiPipeline process_with_doc_ai_pipeline = 5;
      • clearProcessWithDocAiPipeline

        public RunPipelineRequest.Builder clearProcessWithDocAiPipeline()
         Use a DocAI processor to process documents in Document Warehouse, and
         re-ingest the updated results into Document Warehouse.
         
        .google.cloud.contentwarehouse.v1.ProcessWithDocAiPipeline process_with_doc_ai_pipeline = 5;
      • getProcessWithDocAiPipelineBuilder

        public ProcessWithDocAiPipeline.Builder getProcessWithDocAiPipelineBuilder()
         Use a DocAI processor to process documents in Document Warehouse, and
         re-ingest the updated results into Document Warehouse.
         
        .google.cloud.contentwarehouse.v1.ProcessWithDocAiPipeline process_with_doc_ai_pipeline = 5;
      • hasRequestMetadata

        public boolean hasRequestMetadata()
         The meta information collected about the end user, used to enforce access
         control for the service.
         
        .google.cloud.contentwarehouse.v1.RequestMetadata request_metadata = 6;
        Specified by:
        hasRequestMetadata in interface RunPipelineRequestOrBuilder
        Returns:
        Whether the requestMetadata field is set.
      • getRequestMetadata

        public RequestMetadata getRequestMetadata()
         The meta information collected about the end user, used to enforce access
         control for the service.
         
        .google.cloud.contentwarehouse.v1.RequestMetadata request_metadata = 6;
        Specified by:
        getRequestMetadata in interface RunPipelineRequestOrBuilder
        Returns:
        The requestMetadata.
      • setRequestMetadata

        public RunPipelineRequest.Builder setRequestMetadata​(RequestMetadata value)
         The meta information collected about the end user, used to enforce access
         control for the service.
         
        .google.cloud.contentwarehouse.v1.RequestMetadata request_metadata = 6;
      • setRequestMetadata

        public RunPipelineRequest.Builder setRequestMetadata​(RequestMetadata.Builder builderForValue)
         The meta information collected about the end user, used to enforce access
         control for the service.
         
        .google.cloud.contentwarehouse.v1.RequestMetadata request_metadata = 6;
      • mergeRequestMetadata

        public RunPipelineRequest.Builder mergeRequestMetadata​(RequestMetadata value)
         The meta information collected about the end user, used to enforce access
         control for the service.
         
        .google.cloud.contentwarehouse.v1.RequestMetadata request_metadata = 6;
      • clearRequestMetadata

        public RunPipelineRequest.Builder clearRequestMetadata()
         The meta information collected about the end user, used to enforce access
         control for the service.
         
        .google.cloud.contentwarehouse.v1.RequestMetadata request_metadata = 6;
      • getRequestMetadataBuilder

        public RequestMetadata.Builder getRequestMetadataBuilder()
         The meta information collected about the end user, used to enforce access
         control for the service.
         
        .google.cloud.contentwarehouse.v1.RequestMetadata request_metadata = 6;
      • setUnknownFields

        public final RunPipelineRequest.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<RunPipelineRequest.Builder>
      • mergeUnknownFields

        public final RunPipelineRequest.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<RunPipelineRequest.Builder>