Interface DocumentOrBuilder

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

    public interface DocumentOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • hasInputConfig

        boolean hasInputConfig()
         An input config specifying the content of the document.
         
        .google.cloud.automl.v1beta1.DocumentInputConfig input_config = 1;
        Returns:
        Whether the inputConfig field is set.
      • getInputConfig

        DocumentInputConfig getInputConfig()
         An input config specifying the content of the document.
         
        .google.cloud.automl.v1beta1.DocumentInputConfig input_config = 1;
        Returns:
        The inputConfig.
      • getInputConfigOrBuilder

        DocumentInputConfigOrBuilder getInputConfigOrBuilder()
         An input config specifying the content of the document.
         
        .google.cloud.automl.v1beta1.DocumentInputConfig input_config = 1;
      • hasDocumentText

        boolean hasDocumentText()
         The plain text version of this document.
         
        .google.cloud.automl.v1beta1.TextSnippet document_text = 2;
        Returns:
        Whether the documentText field is set.
      • getDocumentText

        TextSnippet getDocumentText()
         The plain text version of this document.
         
        .google.cloud.automl.v1beta1.TextSnippet document_text = 2;
        Returns:
        The documentText.
      • getDocumentTextOrBuilder

        TextSnippetOrBuilder getDocumentTextOrBuilder()
         The plain text version of this document.
         
        .google.cloud.automl.v1beta1.TextSnippet document_text = 2;
      • getLayoutList

        List<Document.Layout> getLayoutList()
         Describes the layout of the document.
         Sorted by [page_number][].
         
        repeated .google.cloud.automl.v1beta1.Document.Layout layout = 3;
      • getLayout

        Document.Layout getLayout​(int index)
         Describes the layout of the document.
         Sorted by [page_number][].
         
        repeated .google.cloud.automl.v1beta1.Document.Layout layout = 3;
      • getLayoutCount

        int getLayoutCount()
         Describes the layout of the document.
         Sorted by [page_number][].
         
        repeated .google.cloud.automl.v1beta1.Document.Layout layout = 3;
      • getLayoutOrBuilderList

        List<? extends Document.LayoutOrBuilder> getLayoutOrBuilderList()
         Describes the layout of the document.
         Sorted by [page_number][].
         
        repeated .google.cloud.automl.v1beta1.Document.Layout layout = 3;
      • getLayoutOrBuilder

        Document.LayoutOrBuilder getLayoutOrBuilder​(int index)
         Describes the layout of the document.
         Sorted by [page_number][].
         
        repeated .google.cloud.automl.v1beta1.Document.Layout layout = 3;
      • hasDocumentDimensions

        boolean hasDocumentDimensions()
         The dimensions of the page in the document.
         
        .google.cloud.automl.v1beta1.DocumentDimensions document_dimensions = 4;
        Returns:
        Whether the documentDimensions field is set.
      • getDocumentDimensions

        DocumentDimensions getDocumentDimensions()
         The dimensions of the page in the document.
         
        .google.cloud.automl.v1beta1.DocumentDimensions document_dimensions = 4;
        Returns:
        The documentDimensions.
      • getDocumentDimensionsOrBuilder

        DocumentDimensionsOrBuilder getDocumentDimensionsOrBuilder()
         The dimensions of the page in the document.
         
        .google.cloud.automl.v1beta1.DocumentDimensions document_dimensions = 4;
      • getPageCount

        int getPageCount()
         Number of pages in the document.
         
        int32 page_count = 5;
        Returns:
        The pageCount.