Class BatchProcessMetadata.IndividualProcessStatus (2.47.0)

public static final class BatchProcessMetadata.IndividualProcessStatus extends GeneratedMessageV3 implements BatchProcessMetadata.IndividualProcessStatusOrBuilder

The status of a each individual document in the batch process.

Protobuf type google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > BatchProcessMetadata.IndividualProcessStatus

Static Fields

HUMAN_REVIEW_STATUS_FIELD_NUMBER

public static final int HUMAN_REVIEW_STATUS_FIELD_NUMBER
Field Value
Type Description
int

INPUT_GCS_SOURCE_FIELD_NUMBER

public static final int INPUT_GCS_SOURCE_FIELD_NUMBER
Field Value
Type Description
int

OUTPUT_GCS_DESTINATION_FIELD_NUMBER

public static final int OUTPUT_GCS_DESTINATION_FIELD_NUMBER
Field Value
Type Description
int

STATUS_FIELD_NUMBER

public static final int STATUS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BatchProcessMetadata.IndividualProcessStatus getDefaultInstance()
Returns
Type Description
BatchProcessMetadata.IndividualProcessStatus

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static BatchProcessMetadata.IndividualProcessStatus.Builder newBuilder()
Returns
Type Description
BatchProcessMetadata.IndividualProcessStatus.Builder

newBuilder(BatchProcessMetadata.IndividualProcessStatus prototype)

public static BatchProcessMetadata.IndividualProcessStatus.Builder newBuilder(BatchProcessMetadata.IndividualProcessStatus prototype)
Parameter
Name Description
prototype BatchProcessMetadata.IndividualProcessStatus
Returns
Type Description
BatchProcessMetadata.IndividualProcessStatus.Builder

parseDelimitedFrom(InputStream input)

public static BatchProcessMetadata.IndividualProcessStatus parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BatchProcessMetadata.IndividualProcessStatus
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchProcessMetadata.IndividualProcessStatus parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchProcessMetadata.IndividualProcessStatus
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static BatchProcessMetadata.IndividualProcessStatus parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
BatchProcessMetadata.IndividualProcessStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BatchProcessMetadata.IndividualProcessStatus parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchProcessMetadata.IndividualProcessStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BatchProcessMetadata.IndividualProcessStatus parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
BatchProcessMetadata.IndividualProcessStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BatchProcessMetadata.IndividualProcessStatus parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchProcessMetadata.IndividualProcessStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BatchProcessMetadata.IndividualProcessStatus parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
BatchProcessMetadata.IndividualProcessStatus
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchProcessMetadata.IndividualProcessStatus parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchProcessMetadata.IndividualProcessStatus
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static BatchProcessMetadata.IndividualProcessStatus parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BatchProcessMetadata.IndividualProcessStatus
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchProcessMetadata.IndividualProcessStatus parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchProcessMetadata.IndividualProcessStatus
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static BatchProcessMetadata.IndividualProcessStatus parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
BatchProcessMetadata.IndividualProcessStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BatchProcessMetadata.IndividualProcessStatus parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchProcessMetadata.IndividualProcessStatus
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<BatchProcessMetadata.IndividualProcessStatus> parser()
Returns
Type Description
Parser<IndividualProcessStatus>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public BatchProcessMetadata.IndividualProcessStatus getDefaultInstanceForType()
Returns
Type Description
BatchProcessMetadata.IndividualProcessStatus

getHumanReviewStatus()

public HumanReviewStatus getHumanReviewStatus()

The status of human review on the processed document.

.google.cloud.documentai.v1.HumanReviewStatus human_review_status = 5;

Returns
Type Description
HumanReviewStatus

The humanReviewStatus.

getHumanReviewStatusOrBuilder()

public HumanReviewStatusOrBuilder getHumanReviewStatusOrBuilder()

The status of human review on the processed document.

.google.cloud.documentai.v1.HumanReviewStatus human_review_status = 5;

Returns
Type Description
HumanReviewStatusOrBuilder

getInputGcsSource()

public String getInputGcsSource()

The source of the document, same as the input_gcs_source field in the request when the batch process started.

string input_gcs_source = 1;

Returns
Type Description
String

The inputGcsSource.

getInputGcsSourceBytes()

public ByteString getInputGcsSourceBytes()

The source of the document, same as the input_gcs_source field in the request when the batch process started.

string input_gcs_source = 1;

Returns
Type Description
ByteString

The bytes for inputGcsSource.

getOutputGcsDestination()

public String getOutputGcsDestination()

The Cloud Storage output destination (in the request as DocumentOutputConfig.GcsOutputConfig.gcs_uri) of the processed document if it was successful, otherwise empty.

string output_gcs_destination = 3;

Returns
Type Description
String

The outputGcsDestination.

getOutputGcsDestinationBytes()

public ByteString getOutputGcsDestinationBytes()

The Cloud Storage output destination (in the request as DocumentOutputConfig.GcsOutputConfig.gcs_uri) of the processed document if it was successful, otherwise empty.

string output_gcs_destination = 3;

Returns
Type Description
ByteString

The bytes for outputGcsDestination.

getParserForType()

public Parser<BatchProcessMetadata.IndividualProcessStatus> getParserForType()
Returns
Type Description
Parser<IndividualProcessStatus>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStatus()

public Status getStatus()

The status processing the document.

.google.rpc.Status status = 2;

Returns
Type Description
com.google.rpc.Status

The status.

getStatusOrBuilder()

public StatusOrBuilder getStatusOrBuilder()

The status processing the document.

.google.rpc.Status status = 2;

Returns
Type Description
com.google.rpc.StatusOrBuilder

hasHumanReviewStatus()

public boolean hasHumanReviewStatus()

The status of human review on the processed document.

.google.cloud.documentai.v1.HumanReviewStatus human_review_status = 5;

Returns
Type Description
boolean

Whether the humanReviewStatus field is set.

hasStatus()

public boolean hasStatus()

The status processing the document.

.google.rpc.Status status = 2;

Returns
Type Description
boolean

Whether the status field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public BatchProcessMetadata.IndividualProcessStatus.Builder newBuilderForType()
Returns
Type Description
BatchProcessMetadata.IndividualProcessStatus.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BatchProcessMetadata.IndividualProcessStatus.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
BatchProcessMetadata.IndividualProcessStatus.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public BatchProcessMetadata.IndividualProcessStatus.Builder toBuilder()
Returns
Type Description
BatchProcessMetadata.IndividualProcessStatus.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException