public final class BatchProcessRequest extends GeneratedMessageV3 implements BatchProcessRequestOrBuilder
Request message for batch process document method.
Protobuf type google.cloud.documentai.v1beta3.BatchProcessRequest
Static Fields
DOCUMENT_OUTPUT_CONFIG_FIELD_NUMBER
public static final int DOCUMENT_OUTPUT_CONFIG_FIELD_NUMBER
Field Value
public static final int INPUT_CONFIGS_FIELD_NUMBER
Field Value
public static final int INPUT_DOCUMENTS_FIELD_NUMBER
Field Value
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
OUTPUT_CONFIG_FIELD_NUMBER
public static final int OUTPUT_CONFIG_FIELD_NUMBER
Field Value
SKIP_HUMAN_REVIEW_FIELD_NUMBER
public static final int SKIP_HUMAN_REVIEW_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static BatchProcessRequest getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static BatchProcessRequest.Builder newBuilder()
Returns
newBuilder(BatchProcessRequest prototype)
public static BatchProcessRequest.Builder newBuilder(BatchProcessRequest prototype)
Parameter
Returns
public static BatchProcessRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static BatchProcessRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static BatchProcessRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BatchProcessRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static BatchProcessRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BatchProcessRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BatchProcessRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static BatchProcessRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BatchProcessRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static BatchProcessRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static BatchProcessRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BatchProcessRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<BatchProcessRequest> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public BatchProcessRequest getDefaultInstanceForType()
Returns
getDocumentOutputConfig()
public DocumentOutputConfig getDocumentOutputConfig()
The overall output config for batch process.
.google.cloud.documentai.v1beta3.DocumentOutputConfig document_output_config = 6;
Returns
getDocumentOutputConfigOrBuilder()
public DocumentOutputConfigOrBuilder getDocumentOutputConfigOrBuilder()
The overall output config for batch process.
.google.cloud.documentai.v1beta3.DocumentOutputConfig document_output_config = 6;
Returns
public BatchProcessRequest.BatchInputConfig getInputConfigs(int index)
The input config for each single document in the batch process.
repeated .google.cloud.documentai.v1beta3.BatchProcessRequest.BatchInputConfig input_configs = 2 [deprecated = true];
Parameter
Returns
public int getInputConfigsCount()
The input config for each single document in the batch process.
repeated .google.cloud.documentai.v1beta3.BatchProcessRequest.BatchInputConfig input_configs = 2 [deprecated = true];
Returns
public List<BatchProcessRequest.BatchInputConfig> getInputConfigsList()
The input config for each single document in the batch process.
repeated .google.cloud.documentai.v1beta3.BatchProcessRequest.BatchInputConfig input_configs = 2 [deprecated = true];
Returns
public BatchProcessRequest.BatchInputConfigOrBuilder getInputConfigsOrBuilder(int index)
The input config for each single document in the batch process.
repeated .google.cloud.documentai.v1beta3.BatchProcessRequest.BatchInputConfig input_configs = 2 [deprecated = true];
Parameter
Returns
public List<? extends BatchProcessRequest.BatchInputConfigOrBuilder> getInputConfigsOrBuilderList()
The input config for each single document in the batch process.
repeated .google.cloud.documentai.v1beta3.BatchProcessRequest.BatchInputConfig input_configs = 2 [deprecated = true];
Returns
Type | Description |
List<? extends com.google.cloud.documentai.v1beta3.BatchProcessRequest.BatchInputConfigOrBuilder> | |
public BatchDocumentsInputConfig getInputDocuments()
The input documents for batch process.
.google.cloud.documentai.v1beta3.BatchDocumentsInputConfig input_documents = 5;
Returns
public BatchDocumentsInputConfigOrBuilder getInputDocumentsOrBuilder()
The input documents for batch process.
.google.cloud.documentai.v1beta3.BatchDocumentsInputConfig input_documents = 5;
Returns
getName()
Required. The processor resource name.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type | Description |
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
getOutputConfig() (deprecated)
public BatchProcessRequest.BatchOutputConfig getOutputConfig()
Deprecated. google.cloud.documentai.v1beta3.BatchProcessRequest.output_config is deprecated.
See google/cloud/documentai/v1beta3/document_processor_service.proto;l=276
The overall output config for batch process.
.google.cloud.documentai.v1beta3.BatchProcessRequest.BatchOutputConfig output_config = 3 [deprecated = true];
Returns
getOutputConfigOrBuilder()
public BatchProcessRequest.BatchOutputConfigOrBuilder getOutputConfigOrBuilder()
The overall output config for batch process.
.google.cloud.documentai.v1beta3.BatchProcessRequest.BatchOutputConfig output_config = 3 [deprecated = true];
Returns
getParserForType()
public Parser<BatchProcessRequest> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getSkipHumanReview()
public boolean getSkipHumanReview()
Whether Human Review feature should be skipped for this request. Default to
false.
bool skip_human_review = 4;
Returns
Type | Description |
boolean | The skipHumanReview.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasDocumentOutputConfig()
public boolean hasDocumentOutputConfig()
The overall output config for batch process.
.google.cloud.documentai.v1beta3.DocumentOutputConfig document_output_config = 6;
Returns
Type | Description |
boolean | Whether the documentOutputConfig field is set.
|
public boolean hasInputDocuments()
The input documents for batch process.
.google.cloud.documentai.v1beta3.BatchDocumentsInputConfig input_documents = 5;
Returns
Type | Description |
boolean | Whether the inputDocuments field is set.
|
hasOutputConfig() (deprecated)
public boolean hasOutputConfig()
Deprecated. google.cloud.documentai.v1beta3.BatchProcessRequest.output_config is deprecated.
See google/cloud/documentai/v1beta3/document_processor_service.proto;l=276
The overall output config for batch process.
.google.cloud.documentai.v1beta3.BatchProcessRequest.BatchOutputConfig output_config = 3 [deprecated = true];
Returns
Type | Description |
boolean | Whether the outputConfig field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public BatchProcessRequest.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected BatchProcessRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public BatchProcessRequest.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions