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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
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>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BatchProcessDocumentsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
addResponses(ProcessDocumentResponse value)
public BatchProcessDocumentsResponse.Builder addResponses(ProcessDocumentResponse value)
Responses for each individual document.
repeated .google.cloud.documentai.v1beta1.ProcessDocumentResponse responses = 1;
addResponses(ProcessDocumentResponse.Builder builderForValue)
public BatchProcessDocumentsResponse.Builder addResponses(ProcessDocumentResponse.Builder builderForValue)
Responses for each individual document.
repeated .google.cloud.documentai.v1beta1.ProcessDocumentResponse responses = 1;
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;
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;
addResponsesBuilder()
public ProcessDocumentResponse.Builder addResponsesBuilder()
Responses for each individual document.
repeated .google.cloud.documentai.v1beta1.ProcessDocumentResponse responses = 1;
addResponsesBuilder(int index)
public ProcessDocumentResponse.Builder addResponsesBuilder(int index)
Responses for each individual document.
repeated .google.cloud.documentai.v1beta1.ProcessDocumentResponse responses = 1;
Parameter |
Name |
Description |
index |
int
|
build()
public BatchProcessDocumentsResponse build()
buildPartial()
public BatchProcessDocumentsResponse buildPartial()
clear()
public BatchProcessDocumentsResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public BatchProcessDocumentsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public BatchProcessDocumentsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearResponses()
public BatchProcessDocumentsResponse.Builder clearResponses()
Responses for each individual document.
repeated .google.cloud.documentai.v1beta1.ProcessDocumentResponse responses = 1;
clone()
public BatchProcessDocumentsResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public BatchProcessDocumentsResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getResponses(int index)
public ProcessDocumentResponse getResponses(int index)
Responses for each individual document.
repeated .google.cloud.documentai.v1beta1.ProcessDocumentResponse responses = 1;
Parameter |
Name |
Description |
index |
int
|
getResponsesBuilder(int index)
public ProcessDocumentResponse.Builder getResponsesBuilder(int index)
Responses for each individual document.
repeated .google.cloud.documentai.v1beta1.ProcessDocumentResponse responses = 1;
Parameter |
Name |
Description |
index |
int
|
getResponsesBuilderList()
public List<ProcessDocumentResponse.Builder> getResponsesBuilderList()
Responses for each individual document.
repeated .google.cloud.documentai.v1beta1.ProcessDocumentResponse responses = 1;
getResponsesCount()
public int getResponsesCount()
Responses for each individual document.
repeated .google.cloud.documentai.v1beta1.ProcessDocumentResponse responses = 1;
Returns |
Type |
Description |
int |
|
getResponsesList()
public List<ProcessDocumentResponse> getResponsesList()
Responses for each individual document.
repeated .google.cloud.documentai.v1beta1.ProcessDocumentResponse responses = 1;
getResponsesOrBuilder(int index)
public ProcessDocumentResponseOrBuilder getResponsesOrBuilder(int index)
Responses for each individual document.
repeated .google.cloud.documentai.v1beta1.ProcessDocumentResponse responses = 1;
Parameter |
Name |
Description |
index |
int
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(BatchProcessDocumentsResponse other)
public BatchProcessDocumentsResponse.Builder mergeFrom(BatchProcessDocumentsResponse other)
public BatchProcessDocumentsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public BatchProcessDocumentsResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BatchProcessDocumentsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeResponses(int index)
public BatchProcessDocumentsResponse.Builder removeResponses(int index)
Responses for each individual document.
repeated .google.cloud.documentai.v1beta1.ProcessDocumentResponse responses = 1;
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public BatchProcessDocumentsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BatchProcessDocumentsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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;
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;
setUnknownFields(UnknownFieldSet unknownFields)
public final BatchProcessDocumentsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides