Interface RagFileParsingConfig.LayoutParserOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RagFileParsingConfig.LayoutParser,RagFileParsingConfig.LayoutParser.Builder
- Enclosing class:
- RagFileParsingConfig
public static interface RagFileParsingConfig.LayoutParserOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintThe maximum number of requests the job is allowed to make to the Document AI processor per minute in this project.intThe maximum number of requests the job is allowed to make to the Document AI processor per minute.The full resource name of a Document AI processor or processor version.com.google.protobuf.ByteStringThe full resource name of a Document AI processor or processor version.Methods 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
-
getProcessorName
String getProcessorName()The full resource name of a Document AI processor or processor version. The processor must have type `LAYOUT_PARSER_PROCESSOR`. If specified, the `additional_config.parse_as_scanned_pdf` field must be false. Format: * `projects/{project_id}/locations/{location}/processors/{processor_id}` * `projects/{project_id}/locations/{location}/processors/{processor_id}/processorVersions/{processor_version_id}`string processor_name = 1;- Returns:
- The processorName.
-
getProcessorNameBytes
com.google.protobuf.ByteString getProcessorNameBytes()The full resource name of a Document AI processor or processor version. The processor must have type `LAYOUT_PARSER_PROCESSOR`. If specified, the `additional_config.parse_as_scanned_pdf` field must be false. Format: * `projects/{project_id}/locations/{location}/processors/{processor_id}` * `projects/{project_id}/locations/{location}/processors/{processor_id}/processorVersions/{processor_version_id}`string processor_name = 1;- Returns:
- The bytes for processorName.
-
getMaxParsingRequestsPerMin
int getMaxParsingRequestsPerMin()The maximum number of requests the job is allowed to make to the Document AI processor per minute. Consult https://cloud.google.com/document-ai/quotas and the Quota page for your project to set an appropriate value here. If unspecified, a default value of 120 QPM would be used.
int32 max_parsing_requests_per_min = 2;- Returns:
- The maxParsingRequestsPerMin.
-
getGlobalMaxParsingRequestsPerMin
int getGlobalMaxParsingRequestsPerMin()The maximum number of requests the job is allowed to make to the Document AI processor per minute in this project. Consult https://cloud.google.com/document-ai/quotas and the Quota page for your project to set an appropriate value here. If this value is not specified, max_parsing_requests_per_min will be used by indexing pipeline as the global limit.
int32 global_max_parsing_requests_per_min = 3;- Returns:
- The globalMaxParsingRequestsPerMin.
-