Interface ProcessOptionsOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    ProcessOptions, ProcessOptions.Builder

    public interface ProcessOptionsOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      OcrConfig getOcrConfig()
      Only applicable to `OCR_PROCESSOR`.
      OcrConfigOrBuilder getOcrConfigOrBuilder()
      Only applicable to `OCR_PROCESSOR`.
      boolean hasOcrConfig()
      Only applicable to `OCR_PROCESSOR`.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • hasOcrConfig

        boolean hasOcrConfig()
         Only applicable to `OCR_PROCESSOR`. Returns error if set on other
         processor types.
         
        .google.cloud.documentai.v1beta3.OcrConfig ocr_config = 1;
        Returns:
        Whether the ocrConfig field is set.
      • getOcrConfig

        OcrConfig getOcrConfig()
         Only applicable to `OCR_PROCESSOR`. Returns error if set on other
         processor types.
         
        .google.cloud.documentai.v1beta3.OcrConfig ocr_config = 1;
        Returns:
        The ocrConfig.
      • getOcrConfigOrBuilder

        OcrConfigOrBuilder getOcrConfigOrBuilder()
         Only applicable to `OCR_PROCESSOR`. Returns error if set on other
         processor types.
         
        .google.cloud.documentai.v1beta3.OcrConfig ocr_config = 1;