PageInfo
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ข้อมูลเกี่ยวกับหน้าปัจจุบัน
แสดงรายการการดำเนินการที่รองรับการแบ่งหน้าจะแสดงผลเพียง "หน้า" เดียว ผลลัพธ์ทั้งหมด รายการ ข้อความบัฟเฟอร์โปรโตคอลนี้อธิบายถึงหน้าเว็บที่ถูกส่งคืน
การแสดง JSON |
{
"totalResults": integer,
"resultPerPage": integer,
"startIndex": integer
} |
ช่อง |
totalResults |
integer
จำนวนผลลัพธ์ทั้งหมดที่มีในแบ็กเอนด์ จำนวนผลลัพธ์ทั้งหมดในชุดผลลัพธ์
|
resultPerPage |
integer
จำนวนผลลัพธ์สูงสุดที่แสดงผลในหนึ่งหน้า ! จำนวนผลลัพธ์ที่รวมอยู่ในการตอบกลับ API
|
startIndex |
integer
ดัชนีของผลลัพธ์แรกที่แสดงในหน้าปัจจุบัน
|
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 2025-07-26 UTC"],[[["\u003cp\u003eThis documentation details the structure of a JSON response for paginated API results.\u003c/p\u003e\n"],["\u003cp\u003eThe response includes the total number of results, the number of results per page, and the starting index of the current page.\u003c/p\u003e\n"],["\u003cp\u003eThis information is used to navigate through large datasets by displaying results in manageable chunks.\u003c/p\u003e\n"]]],["The document defines the structure of a page of results returned from an API. It uses a JSON representation with three fields: `totalResults` indicates the total number of results available; `resultPerPage` specifies the maximum results returned per page; and `startIndex` denotes the index of the first result on the current page. These fields allow clients to navigate through large result sets by requesting specific pages.\n"],null,["# PageInfo\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nInformation about the current page.\n\nList operations that supports paging return only one \"page\" of results. This protocol buffer message describes the page that has been returned.\n\n| JSON representation |\n|--------------------------------------------------------------------------------------|\n| ``` { \"totalResults\": integer, \"resultPerPage\": integer, \"startIndex\": integer } ``` |\n\n| Fields ||\n|-----------------|-----------------------------------------------------------------------------------------------------------------|\n| `totalResults` | `integer` Total number of results available on the backend ! The total number of results in the result set. |\n| `resultPerPage` | `integer` Maximum number of results returned in one page. ! The number of results included in the API response. |\n| `startIndex` | `integer` Index of the first result returned in the current page. |"]]