Package com.google.cloud.documentai.v1
Interface BatchProcessRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
BatchProcessRequest,BatchProcessRequest.Builder
@Generated
public interface BatchProcessRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsLabels(String key) Optional.The output configuration for the [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments] method.The output configuration for the [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments] method.The input documents for the [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments] method.The input documents for the [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments] method.Deprecated.intOptional.Optional.getLabelsOrDefault(String key, String defaultValue) Optional.getLabelsOrThrow(String key) Optional.getName()Required.com.google.protobuf.ByteStringRequired.Inference-time options for the process APIInference-time options for the process APIbooleanWhether human review should be skipped for this request.booleanThe output configuration for the [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments] method.booleanThe input documents for the [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments] method.booleanInference-time options for the process APIMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
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) = { ... }- Returns:
- The name.
-
getNameBytes
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) = { ... }- Returns:
- The bytes for name.
-
hasInputDocuments
boolean hasInputDocuments()The input documents for the [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments] method.
.google.cloud.documentai.v1.BatchDocumentsInputConfig input_documents = 5;- Returns:
- Whether the inputDocuments field is set.
-
getInputDocuments
BatchDocumentsInputConfig getInputDocuments()The input documents for the [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments] method.
.google.cloud.documentai.v1.BatchDocumentsInputConfig input_documents = 5;- Returns:
- The inputDocuments.
-
getInputDocumentsOrBuilder
BatchDocumentsInputConfigOrBuilder getInputDocumentsOrBuilder()The input documents for the [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments] method.
.google.cloud.documentai.v1.BatchDocumentsInputConfig input_documents = 5; -
hasDocumentOutputConfig
boolean hasDocumentOutputConfig()The output configuration for the [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments] method.
.google.cloud.documentai.v1.DocumentOutputConfig document_output_config = 6;- Returns:
- Whether the documentOutputConfig field is set.
-
getDocumentOutputConfig
DocumentOutputConfig getDocumentOutputConfig()The output configuration for the [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments] method.
.google.cloud.documentai.v1.DocumentOutputConfig document_output_config = 6;- Returns:
- The documentOutputConfig.
-
getDocumentOutputConfigOrBuilder
DocumentOutputConfigOrBuilder getDocumentOutputConfigOrBuilder()The output configuration for the [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments] method.
.google.cloud.documentai.v1.DocumentOutputConfig document_output_config = 6; -
getSkipHumanReview
boolean getSkipHumanReview()Whether human review should be skipped for this request. Default to `false`.
bool skip_human_review = 4;- Returns:
- The skipHumanReview.
-
hasProcessOptions
boolean hasProcessOptions()Inference-time options for the process API
.google.cloud.documentai.v1.ProcessOptions process_options = 7;- Returns:
- Whether the processOptions field is set.
-
getProcessOptions
ProcessOptions getProcessOptions()Inference-time options for the process API
.google.cloud.documentai.v1.ProcessOptions process_options = 7;- Returns:
- The processOptions.
-
getProcessOptionsOrBuilder
ProcessOptionsOrBuilder getProcessOptionsOrBuilder()Inference-time options for the process API
.google.cloud.documentai.v1.ProcessOptions process_options = 7; -
getLabelsCount
int getLabelsCount()Optional. The labels with user-defined metadata for the request. Label keys and values can be no longer than 63 characters (Unicode codepoints) and can only contain lowercase letters, numeric characters, underscores, and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter.
map<string, string> labels = 9 [(.google.api.field_behavior) = OPTIONAL]; -
containsLabels
Optional. The labels with user-defined metadata for the request. Label keys and values can be no longer than 63 characters (Unicode codepoints) and can only contain lowercase letters, numeric characters, underscores, and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter.
map<string, string> labels = 9 [(.google.api.field_behavior) = OPTIONAL]; -
getLabels
Deprecated.UsegetLabelsMap()instead. -
getLabelsMap
Optional. The labels with user-defined metadata for the request. Label keys and values can be no longer than 63 characters (Unicode codepoints) and can only contain lowercase letters, numeric characters, underscores, and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter.
map<string, string> labels = 9 [(.google.api.field_behavior) = OPTIONAL]; -
getLabelsOrDefault
Optional. The labels with user-defined metadata for the request. Label keys and values can be no longer than 63 characters (Unicode codepoints) and can only contain lowercase letters, numeric characters, underscores, and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter.
map<string, string> labels = 9 [(.google.api.field_behavior) = OPTIONAL]; -
getLabelsOrThrow
Optional. The labels with user-defined metadata for the request. Label keys and values can be no longer than 63 characters (Unicode codepoints) and can only contain lowercase letters, numeric characters, underscores, and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter.
map<string, string> labels = 9 [(.google.api.field_behavior) = OPTIONAL];
-