Class BatchProcessMetadata.IndividualProcessStatus.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<BatchProcessMetadata.IndividualProcessStatus.Builder>
com.google.cloud.documentai.v1beta3.BatchProcessMetadata.IndividualProcessStatus.Builder
All Implemented Interfaces:
BatchProcessMetadata.IndividualProcessStatusOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
BatchProcessMetadata.IndividualProcessStatus

public static final class BatchProcessMetadata.IndividualProcessStatus.Builder extends com.google.protobuf.GeneratedMessage.Builder<BatchProcessMetadata.IndividualProcessStatus.Builder> implements BatchProcessMetadata.IndividualProcessStatusOrBuilder
 The status of a each individual document in the batch process.
 
Protobuf type google.cloud.documentai.v1beta3.BatchProcessMetadata.IndividualProcessStatus
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<BatchProcessMetadata.IndividualProcessStatus.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.GeneratedMessage.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.GeneratedMessage.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
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

    • isInitialized

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

      public BatchProcessMetadata.IndividualProcessStatus.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<BatchProcessMetadata.IndividualProcessStatus.Builder>
      Throws:
      IOException
    • 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

       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

       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.
    • hasStatus

      public boolean hasStatus()
       The status processing the document.
       
      .google.rpc.Status status = 2;
      Specified by:
      hasStatus in interface BatchProcessMetadata.IndividualProcessStatusOrBuilder
      Returns:
      Whether the status field is set.
    • getStatus

      public Status getStatus()
       The status processing the document.
       
      .google.rpc.Status status = 2;
      Specified by:
      getStatus in interface BatchProcessMetadata.IndividualProcessStatusOrBuilder
      Returns:
      The status.
    • setStatus

       The status processing the document.
       
      .google.rpc.Status status = 2;
    • setStatus

       The status processing the document.
       
      .google.rpc.Status status = 2;
    • mergeStatus

       The status processing the document.
       
      .google.rpc.Status status = 2;
    • clearStatus

       The status processing the document.
       
      .google.rpc.Status status = 2;
    • getStatusBuilder

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

      public StatusOrBuilder getStatusOrBuilder()
       The status processing the document.
       
      .google.rpc.Status status = 2;
      Specified by:
      getStatusOrBuilder in interface BatchProcessMetadata.IndividualProcessStatusOrBuilder
    • 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=662
       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=662
       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.
      google.cloud.documentai.v1beta3.BatchProcessMetadata.IndividualProcessStatus.human_review_operation is deprecated. See google/cloud/documentai/v1beta3/document_processor_service.proto;l=662
       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.
      google.cloud.documentai.v1beta3.BatchProcessMetadata.IndividualProcessStatus.human_review_operation is deprecated. See google/cloud/documentai/v1beta3/document_processor_service.proto;l=662
       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=662
       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.
    • hasHumanReviewStatus

      public boolean hasHumanReviewStatus()
       The status of human review on the processed document.
       
      .google.cloud.documentai.v1beta3.HumanReviewStatus human_review_status = 5;
      Specified by:
      hasHumanReviewStatus in interface BatchProcessMetadata.IndividualProcessStatusOrBuilder
      Returns:
      Whether the humanReviewStatus field is set.
    • getHumanReviewStatus

      public HumanReviewStatus getHumanReviewStatus()
       The status of human review on the processed document.
       
      .google.cloud.documentai.v1beta3.HumanReviewStatus human_review_status = 5;
      Specified by:
      getHumanReviewStatus in interface BatchProcessMetadata.IndividualProcessStatusOrBuilder
      Returns:
      The humanReviewStatus.
    • setHumanReviewStatus

       The status of human review on the processed document.
       
      .google.cloud.documentai.v1beta3.HumanReviewStatus human_review_status = 5;
    • setHumanReviewStatus

       The status of human review on the processed document.
       
      .google.cloud.documentai.v1beta3.HumanReviewStatus human_review_status = 5;
    • mergeHumanReviewStatus

       The status of human review on the processed document.
       
      .google.cloud.documentai.v1beta3.HumanReviewStatus human_review_status = 5;
    • clearHumanReviewStatus

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

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

      public HumanReviewStatusOrBuilder getHumanReviewStatusOrBuilder()
       The status of human review on the processed document.
       
      .google.cloud.documentai.v1beta3.HumanReviewStatus human_review_status = 5;
      Specified by:
      getHumanReviewStatusOrBuilder in interface BatchProcessMetadata.IndividualProcessStatusOrBuilder