Skip to content

Commit 19d7efd

Browse files
1 parent cb89851 commit 19d7efd

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

src/Document/GoogleCloudDocumentaiV1DocumentShardInfo.php

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,14 @@
1919

2020
class GoogleCloudDocumentaiV1DocumentShardInfo extends \Google\Model
2121
{
22+
/**
23+
* The index of the first page in Document.pages in the overall document
24+
* global pages. Available for document shards created by the document
25+
* splitter.
26+
*
27+
* @var int
28+
*/
29+
public $pageOffset;
2230
/**
2331
* Total number of shards.
2432
*
@@ -39,6 +47,24 @@ class GoogleCloudDocumentaiV1DocumentShardInfo extends \Google\Model
3947
*/
4048
public $textOffset;
4149

50+
/**
51+
* The index of the first page in Document.pages in the overall document
52+
* global pages. Available for document shards created by the document
53+
* splitter.
54+
*
55+
* @param int $pageOffset
56+
*/
57+
public function setPageOffset($pageOffset)
58+
{
59+
$this->pageOffset = $pageOffset;
60+
}
61+
/**
62+
* @return int
63+
*/
64+
public function getPageOffset()
65+
{
66+
return $this->pageOffset;
67+
}
4268
/**
4369
* Total number of shards.
4470
*

0 commit comments

Comments
 (0)