public final class BatchProcessDocumentsResponse extends GeneratedMessageV3 implements BatchProcessDocumentsResponseOrBuilder
Response to an batch document processing request. This is returned in
the LRO Operation after the operation is complete.
Protobuf type google.cloud.documentai.v1beta2.BatchProcessDocumentsResponse
Static Fields
RESPONSES_FIELD_NUMBER
public static final int RESPONSES_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static BatchProcessDocumentsResponse getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static BatchProcessDocumentsResponse.Builder newBuilder()
Returns
newBuilder(BatchProcessDocumentsResponse prototype)
public static BatchProcessDocumentsResponse.Builder newBuilder(BatchProcessDocumentsResponse prototype)
Parameter
Returns
public static BatchProcessDocumentsResponse parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static BatchProcessDocumentsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static BatchProcessDocumentsResponse parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BatchProcessDocumentsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static BatchProcessDocumentsResponse parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BatchProcessDocumentsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BatchProcessDocumentsResponse parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static BatchProcessDocumentsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BatchProcessDocumentsResponse parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static BatchProcessDocumentsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static BatchProcessDocumentsResponse parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BatchProcessDocumentsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<BatchProcessDocumentsResponse> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public BatchProcessDocumentsResponse getDefaultInstanceForType()
Returns
getParserForType()
public Parser<BatchProcessDocumentsResponse> getParserForType()
Returns
Overrides
getResponses(int index)
public ProcessDocumentResponse getResponses(int index)
Responses for each individual document.
repeated .google.cloud.documentai.v1beta2.ProcessDocumentResponse responses = 1;
Parameter
Returns
getResponsesCount()
public int getResponsesCount()
Responses for each individual document.
repeated .google.cloud.documentai.v1beta2.ProcessDocumentResponse responses = 1;
Returns
getResponsesList()
public List<ProcessDocumentResponse> getResponsesList()
Responses for each individual document.
repeated .google.cloud.documentai.v1beta2.ProcessDocumentResponse responses = 1;
Returns
getResponsesOrBuilder(int index)
public ProcessDocumentResponseOrBuilder getResponsesOrBuilder(int index)
Responses for each individual document.
repeated .google.cloud.documentai.v1beta2.ProcessDocumentResponse responses = 1;
Parameter
Returns
getResponsesOrBuilderList()
public List<? extends ProcessDocumentResponseOrBuilder> getResponsesOrBuilderList()
Responses for each individual document.
repeated .google.cloud.documentai.v1beta2.ProcessDocumentResponse responses = 1;
Returns
Type | Description |
List<? extends com.google.cloud.documentai.v1beta2.ProcessDocumentResponseOrBuilder> | |
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
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 BatchProcessDocumentsResponse.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected BatchProcessDocumentsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public BatchProcessDocumentsResponse.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions