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.v1beta3.DocumentProcessorService.BatchProcessDocuments] method.The output configuration for the [BatchProcessDocuments][google.cloud.documentai.v1beta3.DocumentProcessorService.BatchProcessDocuments] method.getInputConfigs(int index) Deprecated.intDeprecated.Deprecated.getInputConfigsOrBuilder(int index) Deprecated.Deprecated.The input documents for the [BatchProcessDocuments][google.cloud.documentai.v1beta3.DocumentProcessorService.BatchProcessDocuments] method.The input documents for the [BatchProcessDocuments][google.cloud.documentai.v1beta3.DocumentProcessorService.BatchProcessDocuments] method.Deprecated.intOptional.Optional.getLabelsOrDefault(String key, String defaultValue) Optional.getLabelsOrThrow(String key) Optional.getName()Required.com.google.protobuf.ByteStringRequired.Deprecated.google.cloud.documentai.v1beta3.BatchProcessRequest.output_config is deprecated.Deprecated.Inference-time options for the process APIInference-time options for the process APIbooleanDeprecated.google.cloud.documentai.v1beta3.BatchProcessRequest.skip_human_review is deprecated.booleanThe output configuration for the [BatchProcessDocuments][google.cloud.documentai.v1beta3.DocumentProcessorService.BatchProcessDocuments] method.booleanThe input documents for the [BatchProcessDocuments][google.cloud.documentai.v1beta3.DocumentProcessorService.BatchProcessDocuments] method.booleanDeprecated.google.cloud.documentai.v1beta3.BatchProcessRequest.output_config is deprecated.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.v1beta3.Processor] or [ProcessorVersion][google.cloud.documentai.v1beta3.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.v1beta3.Processor] or [ProcessorVersion][google.cloud.documentai.v1beta3.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.
-
getInputConfigsList
Deprecated.The input config for each single document in the batch process.
repeated .google.cloud.documentai.v1beta3.BatchProcessRequest.BatchInputConfig input_configs = 2 [deprecated = true]; -
getInputConfigs
Deprecated.The input config for each single document in the batch process.
repeated .google.cloud.documentai.v1beta3.BatchProcessRequest.BatchInputConfig input_configs = 2 [deprecated = true]; -
getInputConfigsCount
Deprecated.The input config for each single document in the batch process.
repeated .google.cloud.documentai.v1beta3.BatchProcessRequest.BatchInputConfig input_configs = 2 [deprecated = true]; -
getInputConfigsOrBuilderList
@Deprecated List<? extends BatchProcessRequest.BatchInputConfigOrBuilder> getInputConfigsOrBuilderList()Deprecated.The input config for each single document in the batch process.
repeated .google.cloud.documentai.v1beta3.BatchProcessRequest.BatchInputConfig input_configs = 2 [deprecated = true]; -
getInputConfigsOrBuilder
Deprecated.The input config for each single document in the batch process.
repeated .google.cloud.documentai.v1beta3.BatchProcessRequest.BatchInputConfig input_configs = 2 [deprecated = true]; -
hasOutputConfig
Deprecated.google.cloud.documentai.v1beta3.BatchProcessRequest.output_config is deprecated. See google/cloud/documentai/v1beta3/document_processor_service.proto;l=606The overall output config for batch process.
.google.cloud.documentai.v1beta3.BatchProcessRequest.BatchOutputConfig output_config = 3 [deprecated = true];- Returns:
- Whether the outputConfig field is set.
-
getOutputConfig
Deprecated.google.cloud.documentai.v1beta3.BatchProcessRequest.output_config is deprecated. See google/cloud/documentai/v1beta3/document_processor_service.proto;l=606The overall output config for batch process.
.google.cloud.documentai.v1beta3.BatchProcessRequest.BatchOutputConfig output_config = 3 [deprecated = true];- Returns:
- The outputConfig.
-
getOutputConfigOrBuilder
Deprecated.The overall output config for batch process.
.google.cloud.documentai.v1beta3.BatchProcessRequest.BatchOutputConfig output_config = 3 [deprecated = true]; -
hasInputDocuments
boolean hasInputDocuments()The input documents for the [BatchProcessDocuments][google.cloud.documentai.v1beta3.DocumentProcessorService.BatchProcessDocuments] method.
.google.cloud.documentai.v1beta3.BatchDocumentsInputConfig input_documents = 5;- Returns:
- Whether the inputDocuments field is set.
-
getInputDocuments
BatchDocumentsInputConfig getInputDocuments()The input documents for the [BatchProcessDocuments][google.cloud.documentai.v1beta3.DocumentProcessorService.BatchProcessDocuments] method.
.google.cloud.documentai.v1beta3.BatchDocumentsInputConfig input_documents = 5;- Returns:
- The inputDocuments.
-
getInputDocumentsOrBuilder
BatchDocumentsInputConfigOrBuilder getInputDocumentsOrBuilder()The input documents for the [BatchProcessDocuments][google.cloud.documentai.v1beta3.DocumentProcessorService.BatchProcessDocuments] method.
.google.cloud.documentai.v1beta3.BatchDocumentsInputConfig input_documents = 5; -
hasDocumentOutputConfig
boolean hasDocumentOutputConfig()The output configuration for the [BatchProcessDocuments][google.cloud.documentai.v1beta3.DocumentProcessorService.BatchProcessDocuments] method.
.google.cloud.documentai.v1beta3.DocumentOutputConfig document_output_config = 6;- Returns:
- Whether the documentOutputConfig field is set.
-
getDocumentOutputConfig
DocumentOutputConfig getDocumentOutputConfig()The output configuration for the [BatchProcessDocuments][google.cloud.documentai.v1beta3.DocumentProcessorService.BatchProcessDocuments] method.
.google.cloud.documentai.v1beta3.DocumentOutputConfig document_output_config = 6;- Returns:
- The documentOutputConfig.
-
getDocumentOutputConfigOrBuilder
DocumentOutputConfigOrBuilder getDocumentOutputConfigOrBuilder()The output configuration for the [BatchProcessDocuments][google.cloud.documentai.v1beta3.DocumentProcessorService.BatchProcessDocuments] method.
.google.cloud.documentai.v1beta3.DocumentOutputConfig document_output_config = 6; -
getSkipHumanReview
Deprecated.google.cloud.documentai.v1beta3.BatchProcessRequest.skip_human_review is deprecated. See google/cloud/documentai/v1beta3/document_processor_service.proto;l=620Whether human review should be skipped for this request. Default to `false`.
bool skip_human_review = 4 [deprecated = true];- Returns:
- The skipHumanReview.
-
hasProcessOptions
boolean hasProcessOptions()Inference-time options for the process API
.google.cloud.documentai.v1beta3.ProcessOptions process_options = 7;- Returns:
- Whether the processOptions field is set.
-
getProcessOptions
ProcessOptions getProcessOptions()Inference-time options for the process API
.google.cloud.documentai.v1beta3.ProcessOptions process_options = 7;- Returns:
- The processOptions.
-
getProcessOptionsOrBuilder
ProcessOptionsOrBuilder getProcessOptionsOrBuilder()Inference-time options for the process API
.google.cloud.documentai.v1beta3.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];
-