public final class ReviewDocumentResponse extends GeneratedMessageV3 implements ReviewDocumentResponseOrBuilder
Response message for review document method.
Protobuf type google.cloud.documentai.v1beta3.ReviewDocumentResponse
Static Fields
GCS_DESTINATION_FIELD_NUMBER
public static final int GCS_DESTINATION_FIELD_NUMBER
Field Value
REJECTION_REASON_FIELD_NUMBER
public static final int REJECTION_REASON_FIELD_NUMBER
Field Value
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ReviewDocumentResponse getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ReviewDocumentResponse.Builder newBuilder()
Returns
newBuilder(ReviewDocumentResponse prototype)
public static ReviewDocumentResponse.Builder newBuilder(ReviewDocumentResponse prototype)
Parameter
Returns
public static ReviewDocumentResponse parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ReviewDocumentResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ReviewDocumentResponse parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ReviewDocumentResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ReviewDocumentResponse parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ReviewDocumentResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ReviewDocumentResponse parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ReviewDocumentResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ReviewDocumentResponse parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ReviewDocumentResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ReviewDocumentResponse parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ReviewDocumentResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ReviewDocumentResponse> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public ReviewDocumentResponse getDefaultInstanceForType()
Returns
getGcsDestination()
public String getGcsDestination()
The Cloud Storage uri for the human reviewed document if the review is
succeeded.
string gcs_destination = 1;
Returns
Type | Description |
String | The gcsDestination.
|
getGcsDestinationBytes()
public ByteString getGcsDestinationBytes()
The Cloud Storage uri for the human reviewed document if the review is
succeeded.
string gcs_destination = 1;
Returns
Type | Description |
ByteString | The bytes for gcsDestination.
|
getParserForType()
public Parser<ReviewDocumentResponse> getParserForType()
Returns
Overrides
getRejectionReason()
public String getRejectionReason()
The reason why the review is rejected by reviewer.
string rejection_reason = 3;
Returns
Type | Description |
String | The rejectionReason.
|
getRejectionReasonBytes()
public ByteString getRejectionReasonBytes()
The reason why the review is rejected by reviewer.
string rejection_reason = 3;
Returns
Type | Description |
ByteString | The bytes for rejectionReason.
|
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getState()
public ReviewDocumentResponse.State getState()
The state of the review operation.
.google.cloud.documentai.v1beta3.ReviewDocumentResponse.State state = 2;
Returns
getStateValue()
public int getStateValue()
The state of the review operation.
.google.cloud.documentai.v1beta3.ReviewDocumentResponse.State state = 2;
Returns
Type | Description |
int | The enum numeric value on the wire for state.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ReviewDocumentResponse.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ReviewDocumentResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ReviewDocumentResponse.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions