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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
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
Name | Description |
values | Iterable<? extends com.google.cloud.documentai.v1beta1.ProcessDocumentResponse>
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BatchProcessDocumentsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
addResponses(ProcessDocumentResponse value)
public BatchProcessDocumentsResponse.Builder addResponses(ProcessDocumentResponse value)
Responses for each individual document.
repeated .google.cloud.documentai.v1beta1.ProcessDocumentResponse responses = 1;
Parameter
Returns
addResponses(ProcessDocumentResponse.Builder builderForValue)
public BatchProcessDocumentsResponse.Builder addResponses(ProcessDocumentResponse.Builder builderForValue)
Responses for each individual document.
repeated .google.cloud.documentai.v1beta1.ProcessDocumentResponse responses = 1;
Parameter
Returns
addResponses(int index, ProcessDocumentResponse value)
public BatchProcessDocumentsResponse.Builder addResponses(int index, ProcessDocumentResponse value)
Responses for each individual document.
repeated .google.cloud.documentai.v1beta1.ProcessDocumentResponse responses = 1;
Parameters
Returns
addResponses(int index, ProcessDocumentResponse.Builder builderForValue)
public BatchProcessDocumentsResponse.Builder addResponses(int index, ProcessDocumentResponse.Builder builderForValue)
Responses for each individual document.
repeated .google.cloud.documentai.v1beta1.ProcessDocumentResponse responses = 1;
Parameters
Returns
addResponsesBuilder()
public ProcessDocumentResponse.Builder addResponsesBuilder()
Responses for each individual document.
repeated .google.cloud.documentai.v1beta1.ProcessDocumentResponse responses = 1;
Returns
addResponsesBuilder(int index)
public ProcessDocumentResponse.Builder addResponsesBuilder(int index)
Responses for each individual document.
repeated .google.cloud.documentai.v1beta1.ProcessDocumentResponse responses = 1;
Parameter
Returns
build()
public BatchProcessDocumentsResponse build()
Returns
buildPartial()
public BatchProcessDocumentsResponse buildPartial()
Returns
clear()
public BatchProcessDocumentsResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public BatchProcessDocumentsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public BatchProcessDocumentsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearResponses()
public BatchProcessDocumentsResponse.Builder clearResponses()
Responses for each individual document.
repeated .google.cloud.documentai.v1beta1.ProcessDocumentResponse responses = 1;
Returns
clone()
public BatchProcessDocumentsResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public BatchProcessDocumentsResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getResponses(int index)
public ProcessDocumentResponse getResponses(int index)
Responses for each individual document.
repeated .google.cloud.documentai.v1beta1.ProcessDocumentResponse responses = 1;
Parameter
Returns
getResponsesBuilder(int index)
public ProcessDocumentResponse.Builder getResponsesBuilder(int index)
Responses for each individual document.
repeated .google.cloud.documentai.v1beta1.ProcessDocumentResponse responses = 1;
Parameter
Returns
getResponsesBuilderList()
public List<ProcessDocumentResponse.Builder> getResponsesBuilderList()
Responses for each individual document.
repeated .google.cloud.documentai.v1beta1.ProcessDocumentResponse responses = 1;
Returns
getResponsesCount()
public int getResponsesCount()
Responses for each individual document.
repeated .google.cloud.documentai.v1beta1.ProcessDocumentResponse responses = 1;
Returns
getResponsesList()
public List<ProcessDocumentResponse> getResponsesList()
Responses for each individual document.
repeated .google.cloud.documentai.v1beta1.ProcessDocumentResponse responses = 1;
Returns
getResponsesOrBuilder(int index)
public ProcessDocumentResponseOrBuilder getResponsesOrBuilder(int index)
Responses for each individual document.
repeated .google.cloud.documentai.v1beta1.ProcessDocumentResponse responses = 1;
Parameter
Returns
getResponsesOrBuilderList()
public List<? extends ProcessDocumentResponseOrBuilder> getResponsesOrBuilderList()
Responses for each individual document.
repeated .google.cloud.documentai.v1beta1.ProcessDocumentResponse responses = 1;
Returns
Type | Description |
List<? extends com.google.cloud.documentai.v1beta1.ProcessDocumentResponseOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(BatchProcessDocumentsResponse other)
public BatchProcessDocumentsResponse.Builder mergeFrom(BatchProcessDocumentsResponse other)
Parameter
Returns
public BatchProcessDocumentsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public BatchProcessDocumentsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BatchProcessDocumentsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeResponses(int index)
public BatchProcessDocumentsResponse.Builder removeResponses(int index)
Responses for each individual document.
repeated .google.cloud.documentai.v1beta1.ProcessDocumentResponse responses = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public BatchProcessDocumentsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BatchProcessDocumentsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setResponses(int index, ProcessDocumentResponse value)
public BatchProcessDocumentsResponse.Builder setResponses(int index, ProcessDocumentResponse value)
Responses for each individual document.
repeated .google.cloud.documentai.v1beta1.ProcessDocumentResponse responses = 1;
Parameters
Returns
setResponses(int index, ProcessDocumentResponse.Builder builderForValue)
public BatchProcessDocumentsResponse.Builder setResponses(int index, ProcessDocumentResponse.Builder builderForValue)
Responses for each individual document.
repeated .google.cloud.documentai.v1beta1.ProcessDocumentResponse responses = 1;
Parameters
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final BatchProcessDocumentsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides