Class BatchProcessMetadata.IndividualProcessStatus

    • Field Detail

      • INPUT_GCS_SOURCE_FIELD_NUMBER

        public static final int INPUT_GCS_SOURCE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • OUTPUT_GCS_DESTINATION_FIELD_NUMBER

        public static final int OUTPUT_GCS_DESTINATION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • HUMAN_REVIEW_OPERATION_FIELD_NUMBER

        public static final int HUMAN_REVIEW_OPERATION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • HUMAN_REVIEW_STATUS_FIELD_NUMBER

        public static final int HUMAN_REVIEW_STATUS_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • 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
      • 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.
      • 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.
      • 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.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static BatchProcessMetadata.IndividualProcessStatus parseFrom​(ByteBuffer data,
                                                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static BatchProcessMetadata.IndividualProcessStatus parseFrom​(com.google.protobuf.ByteString data)
                                                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static BatchProcessMetadata.IndividualProcessStatus parseFrom​(com.google.protobuf.ByteString data,
                                                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static BatchProcessMetadata.IndividualProcessStatus parseFrom​(byte[] data,
                                                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • getParserForType

        public com.google.protobuf.Parser<BatchProcessMetadata.IndividualProcessStatus> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

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