All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.cloud.documentai.v1beta3.ProcessOptionsOrBuilder Maven / Gradle / Ivy

There is a newer version: 0.71.0
Show newest version
/*
 * Copyright 2024 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/documentai/v1beta3/document_processor_service.proto

// Protobuf Java Version: 3.25.2
package com.google.cloud.documentai.v1beta3;

public interface ProcessOptionsOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1beta3.ProcessOptions)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * 
   * Which pages to process (1-indexed).
   * 
* * * .google.cloud.documentai.v1beta3.ProcessOptions.IndividualPageSelector individual_page_selector = 5; * * * @return Whether the individualPageSelector field is set. */ boolean hasIndividualPageSelector(); /** * * *
   * Which pages to process (1-indexed).
   * 
* * * .google.cloud.documentai.v1beta3.ProcessOptions.IndividualPageSelector individual_page_selector = 5; * * * @return The individualPageSelector. */ com.google.cloud.documentai.v1beta3.ProcessOptions.IndividualPageSelector getIndividualPageSelector(); /** * * *
   * Which pages to process (1-indexed).
   * 
* * * .google.cloud.documentai.v1beta3.ProcessOptions.IndividualPageSelector individual_page_selector = 5; * */ com.google.cloud.documentai.v1beta3.ProcessOptions.IndividualPageSelectorOrBuilder getIndividualPageSelectorOrBuilder(); /** * * *
   * Only process certain pages from the start. Process all if the document
   * has fewer pages.
   * 
* * int32 from_start = 6; * * @return Whether the fromStart field is set. */ boolean hasFromStart(); /** * * *
   * Only process certain pages from the start. Process all if the document
   * has fewer pages.
   * 
* * int32 from_start = 6; * * @return The fromStart. */ int getFromStart(); /** * * *
   * Only process certain pages from the end, same as above.
   * 
* * int32 from_end = 7; * * @return Whether the fromEnd field is set. */ boolean hasFromEnd(); /** * * *
   * Only process certain pages from the end, same as above.
   * 
* * int32 from_end = 7; * * @return The fromEnd. */ int getFromEnd(); /** * * *
   * Only applicable to `OCR_PROCESSOR` and `FORM_PARSER_PROCESSOR`.
   * Returns error if set on other processor types.
   * 
* * .google.cloud.documentai.v1beta3.OcrConfig ocr_config = 1; * * @return Whether the ocrConfig field is set. */ boolean hasOcrConfig(); /** * * *
   * Only applicable to `OCR_PROCESSOR` and `FORM_PARSER_PROCESSOR`.
   * Returns error if set on other processor types.
   * 
* * .google.cloud.documentai.v1beta3.OcrConfig ocr_config = 1; * * @return The ocrConfig. */ com.google.cloud.documentai.v1beta3.OcrConfig getOcrConfig(); /** * * *
   * Only applicable to `OCR_PROCESSOR` and `FORM_PARSER_PROCESSOR`.
   * Returns error if set on other processor types.
   * 
* * .google.cloud.documentai.v1beta3.OcrConfig ocr_config = 1; */ com.google.cloud.documentai.v1beta3.OcrConfigOrBuilder getOcrConfigOrBuilder(); /** * * *
   * Optional. Override the schema of the
   * [ProcessorVersion][google.cloud.documentai.v1beta3.ProcessorVersion]. Will
   * return an Invalid Argument error if this field is set when the underlying
   * [ProcessorVersion][google.cloud.documentai.v1beta3.ProcessorVersion]
   * doesn't support schema override.
   * 
* * * .google.cloud.documentai.v1beta3.DocumentSchema schema_override = 8 [(.google.api.field_behavior) = OPTIONAL]; * * * @return Whether the schemaOverride field is set. */ boolean hasSchemaOverride(); /** * * *
   * Optional. Override the schema of the
   * [ProcessorVersion][google.cloud.documentai.v1beta3.ProcessorVersion]. Will
   * return an Invalid Argument error if this field is set when the underlying
   * [ProcessorVersion][google.cloud.documentai.v1beta3.ProcessorVersion]
   * doesn't support schema override.
   * 
* * * .google.cloud.documentai.v1beta3.DocumentSchema schema_override = 8 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The schemaOverride. */ com.google.cloud.documentai.v1beta3.DocumentSchema getSchemaOverride(); /** * * *
   * Optional. Override the schema of the
   * [ProcessorVersion][google.cloud.documentai.v1beta3.ProcessorVersion]. Will
   * return an Invalid Argument error if this field is set when the underlying
   * [ProcessorVersion][google.cloud.documentai.v1beta3.ProcessorVersion]
   * doesn't support schema override.
   * 
* * * .google.cloud.documentai.v1beta3.DocumentSchema schema_override = 8 [(.google.api.field_behavior) = OPTIONAL]; * */ com.google.cloud.documentai.v1beta3.DocumentSchemaOrBuilder getSchemaOverrideOrBuilder(); com.google.cloud.documentai.v1beta3.ProcessOptions.PageRangeCase getPageRangeCase(); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy