Class BatchProcessRequest.Builder (2.1.9)

public static final class BatchProcessRequest.Builder extends GeneratedMessageV3.Builder<BatchProcessRequest.Builder> implements BatchProcessRequestOrBuilder

Request message for batch process document method.

Protobuf type google.cloud.documentai.v1.BatchProcessRequest

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BatchProcessRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
BatchProcessRequest.Builder
Overrides

build()

public BatchProcessRequest build()
Returns
TypeDescription
BatchProcessRequest

buildPartial()

public BatchProcessRequest buildPartial()
Returns
TypeDescription
BatchProcessRequest

clear()

public BatchProcessRequest.Builder clear()
Returns
TypeDescription
BatchProcessRequest.Builder
Overrides

clearDocumentOutputConfig()

public BatchProcessRequest.Builder clearDocumentOutputConfig()

The overall output config for batch process.

.google.cloud.documentai.v1.DocumentOutputConfig document_output_config = 6;

Returns
TypeDescription
BatchProcessRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public BatchProcessRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
BatchProcessRequest.Builder
Overrides

clearInputDocuments()

public BatchProcessRequest.Builder clearInputDocuments()

The input documents for batch process.

.google.cloud.documentai.v1.BatchDocumentsInputConfig input_documents = 5;

Returns
TypeDescription
BatchProcessRequest.Builder

clearName()

public BatchProcessRequest.Builder clearName()

Required. The processor resource name.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
BatchProcessRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public BatchProcessRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
BatchProcessRequest.Builder
Overrides

clearSkipHumanReview()

public BatchProcessRequest.Builder clearSkipHumanReview()

Whether Human Review feature should be skipped for this request. Default to false.

bool skip_human_review = 4;

Returns
TypeDescription
BatchProcessRequest.Builder

This builder for chaining.

clone()

public BatchProcessRequest.Builder clone()
Returns
TypeDescription
BatchProcessRequest.Builder
Overrides

getDefaultInstanceForType()

public BatchProcessRequest getDefaultInstanceForType()
Returns
TypeDescription
BatchProcessRequest

getDescriptor()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDocumentOutputConfig()

public DocumentOutputConfig getDocumentOutputConfig()

The overall output config for batch process.

.google.cloud.documentai.v1.DocumentOutputConfig document_output_config = 6;

Returns
TypeDescription
DocumentOutputConfig

The documentOutputConfig.

getDocumentOutputConfigBuilder()

public DocumentOutputConfig.Builder getDocumentOutputConfigBuilder()

The overall output config for batch process.

.google.cloud.documentai.v1.DocumentOutputConfig document_output_config = 6;

Returns
TypeDescription
DocumentOutputConfig.Builder

getDocumentOutputConfigOrBuilder()

public DocumentOutputConfigOrBuilder getDocumentOutputConfigOrBuilder()

The overall output config for batch process.

.google.cloud.documentai.v1.DocumentOutputConfig document_output_config = 6;

Returns
TypeDescription
DocumentOutputConfigOrBuilder

getInputDocuments()

public BatchDocumentsInputConfig getInputDocuments()

The input documents for batch process.

.google.cloud.documentai.v1.BatchDocumentsInputConfig input_documents = 5;

Returns
TypeDescription
BatchDocumentsInputConfig

The inputDocuments.

getInputDocumentsBuilder()

public BatchDocumentsInputConfig.Builder getInputDocumentsBuilder()

The input documents for batch process.

.google.cloud.documentai.v1.BatchDocumentsInputConfig input_documents = 5;

Returns
TypeDescription
BatchDocumentsInputConfig.Builder

getInputDocumentsOrBuilder()

public BatchDocumentsInputConfigOrBuilder getInputDocumentsOrBuilder()

The input documents for batch process.

.google.cloud.documentai.v1.BatchDocumentsInputConfig input_documents = 5;

Returns
TypeDescription
BatchDocumentsInputConfigOrBuilder

getName()

public String getName()

Required. The processor resource name.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The processor resource name.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for name.

getSkipHumanReview()

public boolean getSkipHumanReview()

Whether Human Review feature should be skipped for this request. Default to false.

bool skip_human_review = 4;

Returns
TypeDescription
boolean

The skipHumanReview.

hasDocumentOutputConfig()

public boolean hasDocumentOutputConfig()

The overall output config for batch process.

.google.cloud.documentai.v1.DocumentOutputConfig document_output_config = 6;

Returns
TypeDescription
boolean

Whether the documentOutputConfig field is set.

hasInputDocuments()

public boolean hasInputDocuments()

The input documents for batch process.

.google.cloud.documentai.v1.BatchDocumentsInputConfig input_documents = 5;

Returns
TypeDescription
boolean

Whether the inputDocuments field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeDocumentOutputConfig(DocumentOutputConfig value)

public BatchProcessRequest.Builder mergeDocumentOutputConfig(DocumentOutputConfig value)

The overall output config for batch process.

.google.cloud.documentai.v1.DocumentOutputConfig document_output_config = 6;

Parameter
NameDescription
valueDocumentOutputConfig
Returns
TypeDescription
BatchProcessRequest.Builder

mergeFrom(BatchProcessRequest other)

public BatchProcessRequest.Builder mergeFrom(BatchProcessRequest other)
Parameter
NameDescription
otherBatchProcessRequest
Returns
TypeDescription
BatchProcessRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BatchProcessRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchProcessRequest.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public BatchProcessRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
BatchProcessRequest.Builder
Overrides

mergeInputDocuments(BatchDocumentsInputConfig value)

public BatchProcessRequest.Builder mergeInputDocuments(BatchDocumentsInputConfig value)

The input documents for batch process.

.google.cloud.documentai.v1.BatchDocumentsInputConfig input_documents = 5;

Parameter
NameDescription
valueBatchDocumentsInputConfig
Returns
TypeDescription
BatchProcessRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BatchProcessRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
BatchProcessRequest.Builder
Overrides

setDocumentOutputConfig(DocumentOutputConfig value)

public BatchProcessRequest.Builder setDocumentOutputConfig(DocumentOutputConfig value)

The overall output config for batch process.

.google.cloud.documentai.v1.DocumentOutputConfig document_output_config = 6;

Parameter
NameDescription
valueDocumentOutputConfig
Returns
TypeDescription
BatchProcessRequest.Builder

setDocumentOutputConfig(DocumentOutputConfig.Builder builderForValue)

public BatchProcessRequest.Builder setDocumentOutputConfig(DocumentOutputConfig.Builder builderForValue)

The overall output config for batch process.

.google.cloud.documentai.v1.DocumentOutputConfig document_output_config = 6;

Parameter
NameDescription
builderForValueDocumentOutputConfig.Builder
Returns
TypeDescription
BatchProcessRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public BatchProcessRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
BatchProcessRequest.Builder
Overrides

setInputDocuments(BatchDocumentsInputConfig value)

public BatchProcessRequest.Builder setInputDocuments(BatchDocumentsInputConfig value)

The input documents for batch process.

.google.cloud.documentai.v1.BatchDocumentsInputConfig input_documents = 5;

Parameter
NameDescription
valueBatchDocumentsInputConfig
Returns
TypeDescription
BatchProcessRequest.Builder

setInputDocuments(BatchDocumentsInputConfig.Builder builderForValue)

public BatchProcessRequest.Builder setInputDocuments(BatchDocumentsInputConfig.Builder builderForValue)

The input documents for batch process.

.google.cloud.documentai.v1.BatchDocumentsInputConfig input_documents = 5;

Parameter
NameDescription
builderForValueBatchDocumentsInputConfig.Builder
Returns
TypeDescription
BatchProcessRequest.Builder

setName(String value)

public BatchProcessRequest.Builder setName(String value)

Required. The processor resource name.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
BatchProcessRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public BatchProcessRequest.Builder setNameBytes(ByteString value)

Required. The processor resource name.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
BatchProcessRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public BatchProcessRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
BatchProcessRequest.Builder
Overrides

setSkipHumanReview(boolean value)

public BatchProcessRequest.Builder setSkipHumanReview(boolean value)

Whether Human Review feature should be skipped for this request. Default to false.

bool skip_human_review = 4;

Parameter
NameDescription
valueboolean

The skipHumanReview to set.

Returns
TypeDescription
BatchProcessRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final BatchProcessRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
BatchProcessRequest.Builder
Overrides