Interface RagChunk.PageSpanOrBuilder (1.48.0)
Stay organized with collections
Save and categorize content based on your preferences.
public static interface RagChunk.PageSpanOrBuilder extends MessageOrBuilder
Methods
getFirstPage()
public abstract int getFirstPage()
Page where chunk starts in the document. Inclusive. 1-indexed.
int32 first_page = 1;
| Returns |
| Type |
Description |
int |
The firstPage.
|
getLastPage()
public abstract int getLastPage()
Page where chunk ends in the document. Inclusive. 1-indexed.
int32 last_page = 2;
| Returns |
| Type |
Description |
int |
The lastPage.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-03-30 UTC.
[null,null,["Last updated 2026-03-30 UTC."],[],[]]