public static final class BatchProcessRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BatchProcessRequest.Builder> implements BatchProcessRequestOrBuilder
Request message for batch process document method.Protobuf type
google.cloud.documentai.v1.BatchProcessRequest| Modifier and Type | Method and Description |
|---|---|
BatchProcessRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
BatchProcessRequest |
build() |
BatchProcessRequest |
buildPartial() |
BatchProcessRequest.Builder |
clear() |
BatchProcessRequest.Builder |
clearDocumentOutputConfig()
The overall output config for batch process.
|
BatchProcessRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
BatchProcessRequest.Builder |
clearInputDocuments()
The input documents for batch process.
|
BatchProcessRequest.Builder |
clearName()
Required.
|
BatchProcessRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
BatchProcessRequest.Builder |
clearSkipHumanReview()
Whether Human Review feature should be skipped for this request.
|
BatchProcessRequest.Builder |
clone() |
BatchProcessRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
DocumentOutputConfig |
getDocumentOutputConfig()
The overall output config for batch process.
|
DocumentOutputConfig.Builder |
getDocumentOutputConfigBuilder()
The overall output config for batch process.
|
DocumentOutputConfigOrBuilder |
getDocumentOutputConfigOrBuilder()
The overall output config for batch process.
|
BatchDocumentsInputConfig |
getInputDocuments()
The input documents for batch process.
|
BatchDocumentsInputConfig.Builder |
getInputDocumentsBuilder()
The input documents for batch process.
|
BatchDocumentsInputConfigOrBuilder |
getInputDocumentsOrBuilder()
The input documents for batch process.
|
String |
getName()
Required.
|
com.google.protobuf.ByteString |
getNameBytes()
Required.
|
boolean |
getSkipHumanReview()
Whether Human Review feature should be skipped for this request.
|
boolean |
hasDocumentOutputConfig()
The overall output config for batch process.
|
boolean |
hasInputDocuments()
The input documents for batch process.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
BatchProcessRequest.Builder |
mergeDocumentOutputConfig(DocumentOutputConfig value)
The overall output config for batch process.
|
BatchProcessRequest.Builder |
mergeFrom(BatchProcessRequest other) |
BatchProcessRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
BatchProcessRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
BatchProcessRequest.Builder |
mergeInputDocuments(BatchDocumentsInputConfig value)
The input documents for batch process.
|
BatchProcessRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
BatchProcessRequest.Builder |
setDocumentOutputConfig(DocumentOutputConfig.Builder builderForValue)
The overall output config for batch process.
|
BatchProcessRequest.Builder |
setDocumentOutputConfig(DocumentOutputConfig value)
The overall output config for batch process.
|
BatchProcessRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
BatchProcessRequest.Builder |
setInputDocuments(BatchDocumentsInputConfig.Builder builderForValue)
The input documents for batch process.
|
BatchProcessRequest.Builder |
setInputDocuments(BatchDocumentsInputConfig value)
The input documents for batch process.
|
BatchProcessRequest.Builder |
setName(String value)
Required.
|
BatchProcessRequest.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Required.
|
BatchProcessRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
BatchProcessRequest.Builder |
setSkipHumanReview(boolean value)
Whether Human Review feature should be skipped for this request.
|
BatchProcessRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, 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, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<BatchProcessRequest.Builder>public BatchProcessRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<BatchProcessRequest.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<BatchProcessRequest.Builder>public BatchProcessRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic BatchProcessRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic BatchProcessRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic BatchProcessRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<BatchProcessRequest.Builder>public BatchProcessRequest.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<BatchProcessRequest.Builder>public BatchProcessRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchProcessRequest.Builder>public BatchProcessRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<BatchProcessRequest.Builder>public BatchProcessRequest.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<BatchProcessRequest.Builder>public BatchProcessRequest.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<BatchProcessRequest.Builder>public BatchProcessRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<BatchProcessRequest.Builder>public BatchProcessRequest.Builder mergeFrom(BatchProcessRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<BatchProcessRequest.Builder>public BatchProcessRequest.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<BatchProcessRequest.Builder>IOExceptionpublic String getName()
Required. The resource name of [Processor][google.cloud.documentai.v1.Processor] or
[ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion].
Format: `projects/{project}/locations/{location}/processors/{processor}`,
or
`projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getName in interface BatchProcessRequestOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Required. The resource name of [Processor][google.cloud.documentai.v1.Processor] or
[ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion].
Format: `projects/{project}/locations/{location}/processors/{processor}`,
or
`projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getNameBytes in interface BatchProcessRequestOrBuilderpublic BatchProcessRequest.Builder setName(String value)
Required. The resource name of [Processor][google.cloud.documentai.v1.Processor] or
[ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion].
Format: `projects/{project}/locations/{location}/processors/{processor}`,
or
`projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The name to set.public BatchProcessRequest.Builder clearName()
Required. The resource name of [Processor][google.cloud.documentai.v1.Processor] or
[ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion].
Format: `projects/{project}/locations/{location}/processors/{processor}`,
or
`projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public BatchProcessRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
Required. The resource name of [Processor][google.cloud.documentai.v1.Processor] or
[ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion].
Format: `projects/{project}/locations/{location}/processors/{processor}`,
or
`projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The bytes for name to set.public boolean hasInputDocuments()
The input documents for batch process.
.google.cloud.documentai.v1.BatchDocumentsInputConfig input_documents = 5;hasInputDocuments in interface BatchProcessRequestOrBuilderpublic BatchDocumentsInputConfig getInputDocuments()
The input documents for batch process.
.google.cloud.documentai.v1.BatchDocumentsInputConfig input_documents = 5;getInputDocuments in interface BatchProcessRequestOrBuilderpublic BatchProcessRequest.Builder setInputDocuments(BatchDocumentsInputConfig value)
The input documents for batch process.
.google.cloud.documentai.v1.BatchDocumentsInputConfig input_documents = 5;public BatchProcessRequest.Builder setInputDocuments(BatchDocumentsInputConfig.Builder builderForValue)
The input documents for batch process.
.google.cloud.documentai.v1.BatchDocumentsInputConfig input_documents = 5;public BatchProcessRequest.Builder mergeInputDocuments(BatchDocumentsInputConfig value)
The input documents for batch process.
.google.cloud.documentai.v1.BatchDocumentsInputConfig input_documents = 5;public BatchProcessRequest.Builder clearInputDocuments()
The input documents for batch process.
.google.cloud.documentai.v1.BatchDocumentsInputConfig input_documents = 5;public BatchDocumentsInputConfig.Builder getInputDocumentsBuilder()
The input documents for batch process.
.google.cloud.documentai.v1.BatchDocumentsInputConfig input_documents = 5;public BatchDocumentsInputConfigOrBuilder getInputDocumentsOrBuilder()
The input documents for batch process.
.google.cloud.documentai.v1.BatchDocumentsInputConfig input_documents = 5;getInputDocumentsOrBuilder in interface BatchProcessRequestOrBuilderpublic boolean hasDocumentOutputConfig()
The overall output config for batch process.
.google.cloud.documentai.v1.DocumentOutputConfig document_output_config = 6;hasDocumentOutputConfig in interface BatchProcessRequestOrBuilderpublic DocumentOutputConfig getDocumentOutputConfig()
The overall output config for batch process.
.google.cloud.documentai.v1.DocumentOutputConfig document_output_config = 6;getDocumentOutputConfig in interface BatchProcessRequestOrBuilderpublic BatchProcessRequest.Builder setDocumentOutputConfig(DocumentOutputConfig value)
The overall output config for batch process.
.google.cloud.documentai.v1.DocumentOutputConfig document_output_config = 6;public BatchProcessRequest.Builder setDocumentOutputConfig(DocumentOutputConfig.Builder builderForValue)
The overall output config for batch process.
.google.cloud.documentai.v1.DocumentOutputConfig document_output_config = 6;public BatchProcessRequest.Builder mergeDocumentOutputConfig(DocumentOutputConfig value)
The overall output config for batch process.
.google.cloud.documentai.v1.DocumentOutputConfig document_output_config = 6;public BatchProcessRequest.Builder clearDocumentOutputConfig()
The overall output config for batch process.
.google.cloud.documentai.v1.DocumentOutputConfig document_output_config = 6;public DocumentOutputConfig.Builder getDocumentOutputConfigBuilder()
The overall output config for batch process.
.google.cloud.documentai.v1.DocumentOutputConfig document_output_config = 6;public DocumentOutputConfigOrBuilder getDocumentOutputConfigOrBuilder()
The overall output config for batch process.
.google.cloud.documentai.v1.DocumentOutputConfig document_output_config = 6;getDocumentOutputConfigOrBuilder in interface BatchProcessRequestOrBuilderpublic boolean getSkipHumanReview()
Whether Human Review feature should be skipped for this request. Default to false.
bool skip_human_review = 4;getSkipHumanReview in interface BatchProcessRequestOrBuilderpublic BatchProcessRequest.Builder setSkipHumanReview(boolean value)
Whether Human Review feature should be skipped for this request. Default to false.
bool skip_human_review = 4;value - The skipHumanReview to set.public BatchProcessRequest.Builder clearSkipHumanReview()
Whether Human Review feature should be skipped for this request. Default to false.
bool skip_human_review = 4;public final BatchProcessRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BatchProcessRequest.Builder>public final BatchProcessRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BatchProcessRequest.Builder>Copyright © 2022 Google LLC. All rights reserved.