Interface Document.TextAnchorOrBuilder

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

    public static interface Document.TextAnchorOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getTextSegmentsList

        List<Document.TextAnchor.TextSegment> getTextSegmentsList()
         The text segments from the
         [Document.text][google.cloud.documentai.v1beta3.Document.text].
         
        repeated .google.cloud.documentai.v1beta3.Document.TextAnchor.TextSegment text_segments = 1;
      • getTextSegments

        Document.TextAnchor.TextSegment getTextSegments​(int index)
         The text segments from the
         [Document.text][google.cloud.documentai.v1beta3.Document.text].
         
        repeated .google.cloud.documentai.v1beta3.Document.TextAnchor.TextSegment text_segments = 1;
      • getTextSegmentsCount

        int getTextSegmentsCount()
         The text segments from the
         [Document.text][google.cloud.documentai.v1beta3.Document.text].
         
        repeated .google.cloud.documentai.v1beta3.Document.TextAnchor.TextSegment text_segments = 1;
      • getTextSegmentsOrBuilderList

        List<? extends Document.TextAnchor.TextSegmentOrBuilder> getTextSegmentsOrBuilderList()
         The text segments from the
         [Document.text][google.cloud.documentai.v1beta3.Document.text].
         
        repeated .google.cloud.documentai.v1beta3.Document.TextAnchor.TextSegment text_segments = 1;
      • getTextSegmentsOrBuilder

        Document.TextAnchor.TextSegmentOrBuilder getTextSegmentsOrBuilder​(int index)
         The text segments from the
         [Document.text][google.cloud.documentai.v1beta3.Document.text].
         
        repeated .google.cloud.documentai.v1beta3.Document.TextAnchor.TextSegment text_segments = 1;
      • getContent

        String getContent()
         Contains the content of the text span so that users do
         not have to look it up in the text_segments.  It is always
         populated for formFields.
         
        string content = 2;
        Returns:
        The content.
      • getContentBytes

        com.google.protobuf.ByteString getContentBytes()
         Contains the content of the text span so that users do
         not have to look it up in the text_segments.  It is always
         populated for formFields.
         
        string content = 2;
        Returns:
        The bytes for content.