public static final class BatchProcessDocumentsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BatchProcessDocumentsRequest.Builder> implements BatchProcessDocumentsRequestOrBuilder
Request to batch process documents as an asynchronous operation. The output is written to Cloud Storage as JSON in the [Document] format.Protobuf type
google.cloud.documentai.v1beta2.BatchProcessDocumentsRequestgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<BatchProcessDocumentsRequest.Builder>public BatchProcessDocumentsRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<BatchProcessDocumentsRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<BatchProcessDocumentsRequest.Builder>public BatchProcessDocumentsRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic BatchProcessDocumentsRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic BatchProcessDocumentsRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic BatchProcessDocumentsRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<BatchProcessDocumentsRequest.Builder>public BatchProcessDocumentsRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchProcessDocumentsRequest.Builder>public BatchProcessDocumentsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchProcessDocumentsRequest.Builder>public BatchProcessDocumentsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<BatchProcessDocumentsRequest.Builder>public BatchProcessDocumentsRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchProcessDocumentsRequest.Builder>public BatchProcessDocumentsRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchProcessDocumentsRequest.Builder>public BatchProcessDocumentsRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<BatchProcessDocumentsRequest.Builder>public BatchProcessDocumentsRequest.Builder mergeFrom(BatchProcessDocumentsRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<BatchProcessDocumentsRequest.Builder>public BatchProcessDocumentsRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<BatchProcessDocumentsRequest.Builder>IOExceptionpublic List<ProcessDocumentRequest> getRequestsList()
Required. Individual requests for each document.
repeated .google.cloud.documentai.v1beta2.ProcessDocumentRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
getRequestsList in interface BatchProcessDocumentsRequestOrBuilderpublic int getRequestsCount()
Required. Individual requests for each document.
repeated .google.cloud.documentai.v1beta2.ProcessDocumentRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
getRequestsCount in interface BatchProcessDocumentsRequestOrBuilderpublic ProcessDocumentRequest getRequests(int index)
Required. Individual requests for each document.
repeated .google.cloud.documentai.v1beta2.ProcessDocumentRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
getRequests in interface BatchProcessDocumentsRequestOrBuilderpublic BatchProcessDocumentsRequest.Builder setRequests(int index, ProcessDocumentRequest value)
Required. Individual requests for each document.
repeated .google.cloud.documentai.v1beta2.ProcessDocumentRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
public BatchProcessDocumentsRequest.Builder setRequests(int index, ProcessDocumentRequest.Builder builderForValue)
Required. Individual requests for each document.
repeated .google.cloud.documentai.v1beta2.ProcessDocumentRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
public BatchProcessDocumentsRequest.Builder addRequests(ProcessDocumentRequest value)
Required. Individual requests for each document.
repeated .google.cloud.documentai.v1beta2.ProcessDocumentRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
public BatchProcessDocumentsRequest.Builder addRequests(int index, ProcessDocumentRequest value)
Required. Individual requests for each document.
repeated .google.cloud.documentai.v1beta2.ProcessDocumentRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
public BatchProcessDocumentsRequest.Builder addRequests(ProcessDocumentRequest.Builder builderForValue)
Required. Individual requests for each document.
repeated .google.cloud.documentai.v1beta2.ProcessDocumentRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
public BatchProcessDocumentsRequest.Builder addRequests(int index, ProcessDocumentRequest.Builder builderForValue)
Required. Individual requests for each document.
repeated .google.cloud.documentai.v1beta2.ProcessDocumentRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
public BatchProcessDocumentsRequest.Builder addAllRequests(Iterable<? extends ProcessDocumentRequest> values)
Required. Individual requests for each document.
repeated .google.cloud.documentai.v1beta2.ProcessDocumentRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
public BatchProcessDocumentsRequest.Builder clearRequests()
Required. Individual requests for each document.
repeated .google.cloud.documentai.v1beta2.ProcessDocumentRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
public BatchProcessDocumentsRequest.Builder removeRequests(int index)
Required. Individual requests for each document.
repeated .google.cloud.documentai.v1beta2.ProcessDocumentRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
public ProcessDocumentRequest.Builder getRequestsBuilder(int index)
Required. Individual requests for each document.
repeated .google.cloud.documentai.v1beta2.ProcessDocumentRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
public ProcessDocumentRequestOrBuilder getRequestsOrBuilder(int index)
Required. Individual requests for each document.
repeated .google.cloud.documentai.v1beta2.ProcessDocumentRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
getRequestsOrBuilder in interface BatchProcessDocumentsRequestOrBuilderpublic List<? extends ProcessDocumentRequestOrBuilder> getRequestsOrBuilderList()
Required. Individual requests for each document.
repeated .google.cloud.documentai.v1beta2.ProcessDocumentRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
getRequestsOrBuilderList in interface BatchProcessDocumentsRequestOrBuilderpublic ProcessDocumentRequest.Builder addRequestsBuilder()
Required. Individual requests for each document.
repeated .google.cloud.documentai.v1beta2.ProcessDocumentRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
public ProcessDocumentRequest.Builder addRequestsBuilder(int index)
Required. Individual requests for each document.
repeated .google.cloud.documentai.v1beta2.ProcessDocumentRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
public List<ProcessDocumentRequest.Builder> getRequestsBuilderList()
Required. Individual requests for each document.
repeated .google.cloud.documentai.v1beta2.ProcessDocumentRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
public String getParent()
Target project and location to make a call.
Format: `projects/{project-id}/locations/{location-id}`.
If no location is specified, a region will be chosen automatically.
string parent = 2;getParent in interface BatchProcessDocumentsRequestOrBuilderpublic com.google.protobuf.ByteString getParentBytes()
Target project and location to make a call.
Format: `projects/{project-id}/locations/{location-id}`.
If no location is specified, a region will be chosen automatically.
string parent = 2;getParentBytes in interface BatchProcessDocumentsRequestOrBuilderpublic BatchProcessDocumentsRequest.Builder setParent(String value)
Target project and location to make a call.
Format: `projects/{project-id}/locations/{location-id}`.
If no location is specified, a region will be chosen automatically.
string parent = 2;value - The parent to set.public BatchProcessDocumentsRequest.Builder clearParent()
Target project and location to make a call.
Format: `projects/{project-id}/locations/{location-id}`.
If no location is specified, a region will be chosen automatically.
string parent = 2;public BatchProcessDocumentsRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
Target project and location to make a call.
Format: `projects/{project-id}/locations/{location-id}`.
If no location is specified, a region will be chosen automatically.
string parent = 2;value - The bytes for parent to set.public final BatchProcessDocumentsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BatchProcessDocumentsRequest.Builder>public final BatchProcessDocumentsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BatchProcessDocumentsRequest.Builder>Copyright © 2024 Google LLC. All rights reserved.