Class BatchProcessDocumentsResponse.Builder (2.15.0)

public static final class BatchProcessDocumentsResponse.Builder extends GeneratedMessageV3.Builder<BatchProcessDocumentsResponse.Builder> 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.v1beta1.BatchProcessDocumentsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllResponses(Iterable<? extends ProcessDocumentResponse> values)

public BatchProcessDocumentsResponse.Builder addAllResponses(Iterable<? extends ProcessDocumentResponse> values)

Responses for each individual document.

repeated .google.cloud.documentai.v1beta1.ProcessDocumentResponse responses = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.documentai.v1beta1.ProcessDocumentResponse>
Returns
TypeDescription
BatchProcessDocumentsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BatchProcessDocumentsResponse.Builder addRepeatedFi