Interface RagChunk.PageSpanOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
RagChunk.PageSpan, RagChunk.PageSpan.Builder
Enclosing class:
RagChunk

public static interface RagChunk.PageSpanOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Page where chunk starts in the document.
    int
    Page where chunk ends in the document.

    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 Details

    • getFirstPage

      int getFirstPage()
       Page where chunk starts in the document. Inclusive. 1-indexed.
       
      int32 first_page = 1;
      Returns:
      The firstPage.
    • getLastPage

      int getLastPage()
       Page where chunk ends in the document. Inclusive. 1-indexed.
       
      int32 last_page = 2;
      Returns:
      The lastPage.