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 |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static BatchProcessDocumentsResponse getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static BatchProcessDocumentsResponse.Builder newBuilder()
newBuilder(BatchProcessDocumentsResponse prototype)
public static BatchProcessDocumentsResponse.Builder newBuilder(BatchProcessDocumentsResponse prototype)
public static BatchProcessDocumentsResponse parseDelimitedFrom(InputStream input)
public static BatchProcessDocumentsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static BatchProcessDocumentsResponse parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BatchProcessDocumentsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static BatchProcessDocumentsResponse parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BatchProcessDocumentsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BatchProcessDocumentsResponse parseFrom(CodedInputStream input)
public static BatchProcessDocumentsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static BatchProcessDocumentsResponse parseFrom(InputStream input)
public static BatchProcessDocumentsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static BatchProcessDocumentsResponse parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BatchProcessDocumentsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<BatchProcessDocumentsResponse> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public BatchProcessDocumentsResponse getDefaultInstanceForType()
getParserForType()
public Parser<BatchProcessDocumentsResponse> getParserForType()
Overrides
getResponses(int index)
public ProcessDocumentResponse getResponses(int index)
Responses for each individual document.
repeated .google.cloud.documentai.v1beta2.ProcessDocumentResponse responses = 1;
Parameter |
---|
Name | Description |
index | int
|
getResponsesCount()
public int getResponsesCount()
Responses for each individual document.
repeated .google.cloud.documentai.v1beta2.ProcessDocumentResponse responses = 1;
Returns |
---|
Type | Description |
int | |
getResponsesList()
public List<ProcessDocumentResponse> getResponsesList()
Responses for each individual document.
repeated .google.cloud.documentai.v1beta2.ProcessDocumentResponse responses = 1;
getResponsesOrBuilder(int index)
public ProcessDocumentResponseOrBuilder getResponsesOrBuilder(int index)
Responses for each individual document.
repeated .google.cloud.documentai.v1beta2.ProcessDocumentResponse responses = 1;
Parameter |
---|
Name | Description |
index | int
|
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 |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public BatchProcessDocumentsResponse.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected BatchProcessDocumentsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public BatchProcessDocumentsResponse.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides