public final class BatchProcessRequest extends GeneratedMessageV3 implements BatchProcessRequestOrBuilder
Request message for batch process document method.
Protobuf type google.cloud.documentai.v1.BatchProcessRequest
Static Fields
DOCUMENT_OUTPUT_CONFIG_FIELD_NUMBER
public static final int DOCUMENT_OUTPUT_CONFIG_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
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.v1.DocumentOutputConfig document_output_config = 6;
Returns
getDocumentOutputConfigOrBuilder()
public DocumentOutputConfigOrBuilder getDocumentOutputConfigOrBuilder()
The overall output config for batch process.
.google.cloud.documentai.v1.DocumentOutputConfig document_output_config = 6;
Returns
public BatchDocumentsInputConfig getInputDocuments()
The input documents for batch process.
.google.cloud.documentai.v1.BatchDocumentsInputConfig input_documents = 5;
Returns
public BatchDocumentsInputConfigOrBuilder getInputDocumentsOrBuilder()
The input documents for batch process.
.google.cloud.documentai.v1.BatchDocumentsInputConfig input_documents = 5;
Returns
getName()
Required. The resource name of
Processor or
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) = { ... }
Returns
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
Required. The resource name of
Processor or
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) = { ... }
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.v1.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.v1.BatchDocumentsInputConfig input_documents = 5;
Returns
Type | Description |
boolean | Whether the inputDocuments 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