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

        public BatchProcessMetadata.IndividualProcessStatus getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • buildPartial

        public BatchProcessMetadata.IndividualProcessStatus 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<BatchProcessMetadata.IndividualProcessStatus.Builder>
      • getInputGcsSource

        public String getInputGcsSource()
         The source of the document, same as the
         [input_gcs_source][google.cloud.documentai.v1beta3.BatchProcessMetadata.IndividualProcessStatus.input_gcs_source]
         field in the request when the batch process started.
         
        string input_gcs_source = 1;
        Specified by:
        getInputGcsSource in interface BatchProcessMetadata.IndividualProcessStatusOrBuilder
        Returns:
        The inputGcsSource.
      • getInputGcsSourceBytes

        public com.google.protobuf.ByteString getInputGcsSourceBytes()
         The source of the document, same as the
         [input_gcs_source][google.cloud.documentai.v1beta3.BatchProcessMetadata.IndividualProcessStatus.input_gcs_source]
         field in the request when the batch process started.
         
        string input_gcs_source = 1;
        Specified by:
        getInputGcsSourceBytes in interface BatchProcessMetadata.IndividualProcessStatusOrBuilder
        Returns:
        The bytes for inputGcsSource.
      • setInputGcsSource

        public BatchProcessMetadata.IndividualProcessStatus.Builder setInputGcsSource​(String value)
         The source of the document, same as the
         [input_gcs_source][google.cloud.documentai.v1beta3.BatchProcessMetadata.IndividualProcessStatus.input_gcs_source]
         field in the request when the batch process started.
         
        string input_gcs_source = 1;
        Parameters:
        value - The inputGcsSource to set.
        Returns:
        This builder for chaining.
      • clearInputGcsSource

        public BatchProcessMetadata.IndividualProcessStatus.Builder clearInputGcsSource()
         The source of the document, same as the
         [input_gcs_source][google.cloud.documentai.v1beta3.BatchProcessMetadata.IndividualProcessStatus.input_gcs_source]
         field in the request when the batch process started.
         
        string input_gcs_source = 1;
        Returns:
        This builder for chaining.
      • setInputGcsSourceBytes

        public BatchProcessMetadata.IndividualProcessStatus.Builder setInputGcsSourceBytes​(com.google.protobuf.ByteString value)
         The source of the document, same as the
         [input_gcs_source][google.cloud.documentai.v1beta3.BatchProcessMetadata.IndividualProcessStatus.input_gcs_source]
         field in the request when the batch process started.
         
        string input_gcs_source = 1;
        Parameters:
        value - The bytes for inputGcsSource to set.
        Returns:
        This builder for chaining.
      • getStatusBuilder

        public com.google.rpc.Status.Builder getStatusBuilder()
         The status processing the document.
         
        .google.rpc.Status status = 2;
      • getOutputGcsDestination

        public String getOutputGcsDestination()
         The Cloud Storage output destination (in the request as
         [DocumentOutputConfig.GcsOutputConfig.gcs_uri][google.cloud.documentai.v1beta3.DocumentOutputConfig.GcsOutputConfig.gcs_uri])
         of the processed document if it was successful, otherwise empty.
         
        string output_gcs_destination = 3;
        Specified by:
        getOutputGcsDestination in interface BatchProcessMetadata.IndividualProcessStatusOrBuilder
        Returns:
        The outputGcsDestination.
      • getOutputGcsDestinationBytes

        public com.google.protobuf.ByteString getOutputGcsDestinationBytes()
         The Cloud Storage output destination (in the request as
         [DocumentOutputConfig.GcsOutputConfig.gcs_uri][google.cloud.documentai.v1beta3.DocumentOutputConfig.GcsOutputConfig.gcs_uri])
         of the processed document if it was successful, otherwise empty.
         
        string output_gcs_destination = 3;
        Specified by:
        getOutputGcsDestinationBytes in interface BatchProcessMetadata.IndividualProcessStatusOrBuilder
        Returns:
        The bytes for outputGcsDestination.
      • setOutputGcsDestination

        public BatchProcessMetadata.IndividualProcessStatus.Builder setOutputGcsDestination​(String value)
         The Cloud Storage output destination (in the request as
         [DocumentOutputConfig.GcsOutputConfig.gcs_uri][google.cloud.documentai.v1beta3.DocumentOutputConfig.GcsOutputConfig.gcs_uri])
         of the processed document if it was successful, otherwise empty.
         
        string output_gcs_destination = 3;
        Parameters:
        value - The outputGcsDestination to set.
        Returns:
        This builder for chaining.
      • clearOutputGcsDestination

        public BatchProcessMetadata.IndividualProcessStatus.Builder clearOutputGcsDestination()
         The Cloud Storage output destination (in the request as
         [DocumentOutputConfig.GcsOutputConfig.gcs_uri][google.cloud.documentai.v1beta3.DocumentOutputConfig.GcsOutputConfig.gcs_uri])
         of the processed document if it was successful, otherwise empty.
         
        string output_gcs_destination = 3;
        Returns:
        This builder for chaining.
      • setOutputGcsDestinationBytes

        public BatchProcessMetadata.IndividualProcessStatus.Builder setOutputGcsDestinationBytes​(com.google.protobuf.ByteString value)
         The Cloud Storage output destination (in the request as
         [DocumentOutputConfig.GcsOutputConfig.gcs_uri][google.cloud.documentai.v1beta3.DocumentOutputConfig.GcsOutputConfig.gcs_uri])
         of the processed document if it was successful, otherwise empty.
         
        string output_gcs_destination = 3;
        Parameters:
        value - The bytes for outputGcsDestination to set.
        Returns:
        This builder for chaining.
      • getHumanReviewOperation

        @Deprecated
        public String getHumanReviewOperation()
        Deprecated.
        google.cloud.documentai.v1beta3.BatchProcessMetadata.IndividualProcessStatus.human_review_operation is deprecated. See google/cloud/documentai/v1beta3/document_processor_service.proto;l=550
         The name of the operation triggered by the processed document. If the
         human review process isn't triggered, this field will be empty. It has
         the same response type and metadata as the long-running operation
         returned by the
         [ReviewDocument][google.cloud.documentai.v1beta3.DocumentProcessorService.ReviewDocument]
         method.
         
        string human_review_operation = 4 [deprecated = true];
        Specified by:
        getHumanReviewOperation in interface BatchProcessMetadata.IndividualProcessStatusOrBuilder
        Returns:
        The humanReviewOperation.
      • getHumanReviewOperationBytes

        @Deprecated
        public com.google.protobuf.ByteString getHumanReviewOperationBytes()
        Deprecated.
        google.cloud.documentai.v1beta3.BatchProcessMetadata.IndividualProcessStatus.human_review_operation is deprecated. See google/cloud/documentai/v1beta3/document_processor_service.proto;l=550
         The name of the operation triggered by the processed document. If the
         human review process isn't triggered, this field will be empty. It has
         the same response type and metadata as the long-running operation
         returned by the
         [ReviewDocument][google.cloud.documentai.v1beta3.DocumentProcessorService.ReviewDocument]
         method.
         
        string human_review_operation = 4 [deprecated = true];
        Specified by:
        getHumanReviewOperationBytes in interface BatchProcessMetadata.IndividualProcessStatusOrBuilder
        Returns:
        The bytes for humanReviewOperation.
      • setHumanReviewOperation

        @Deprecated
        public BatchProcessMetadata.IndividualProcessStatus.Builder setHumanReviewOperation​(String value)
        Deprecated.
        google.cloud.documentai.v1beta3.BatchProcessMetadata.IndividualProcessStatus.human_review_operation is deprecated. See google/cloud/documentai/v1beta3/document_processor_service.proto;l=550
         The name of the operation triggered by the processed document. If the
         human review process isn't triggered, this field will be empty. It has
         the same response type and metadata as the long-running operation
         returned by the
         [ReviewDocument][google.cloud.documentai.v1beta3.DocumentProcessorService.ReviewDocument]
         method.
         
        string human_review_operation = 4 [deprecated = true];
        Parameters:
        value - The humanReviewOperation to set.
        Returns:
        This builder for chaining.
      • clearHumanReviewOperation

        @Deprecated
        public BatchProcessMetadata.IndividualProcessStatus.Builder clearHumanReviewOperation()
        Deprecated.
        google.cloud.documentai.v1beta3.BatchProcessMetadata.IndividualProcessStatus.human_review_operation is deprecated. See google/cloud/documentai/v1beta3/document_processor_service.proto;l=550
         The name of the operation triggered by the processed document. If the
         human review process isn't triggered, this field will be empty. It has
         the same response type and metadata as the long-running operation
         returned by the
         [ReviewDocument][google.cloud.documentai.v1beta3.DocumentProcessorService.ReviewDocument]
         method.
         
        string human_review_operation = 4 [deprecated = true];
        Returns:
        This builder for chaining.
      • setHumanReviewOperationBytes

        @Deprecated
        public BatchProcessMetadata.IndividualProcessStatus.Builder setHumanReviewOperationBytes​(com.google.protobuf.ByteString value)
        Deprecated.
        google.cloud.documentai.v1beta3.BatchProcessMetadata.IndividualProcessStatus.human_review_operation is deprecated. See google/cloud/documentai/v1beta3/document_processor_service.proto;l=550
         The name of the operation triggered by the processed document. If the
         human review process isn't triggered, this field will be empty. It has
         the same response type and metadata as the long-running operation
         returned by the
         [ReviewDocument][google.cloud.documentai.v1beta3.DocumentProcessorService.ReviewDocument]
         method.
         
        string human_review_operation = 4 [deprecated = true];
        Parameters:
        value - The bytes for humanReviewOperation to set.
        Returns:
        This builder for chaining.
      • getHumanReviewStatusBuilder

        public HumanReviewStatus.Builder getHumanReviewStatusBuilder()
         The status of human review on the processed document.
         
        .google.cloud.documentai.v1beta3.HumanReviewStatus human_review_status = 5;