Reference documentation and code samples for the Google Cloud Document Ai V1 Client class ChunkPageHeader.
Represents the page header associated with the chunk.
Generated from protobuf message google.cloud.documentai.v1.Document.ChunkedDocument.Chunk.ChunkPageHeader
Namespace
Google \ Cloud \ DocumentAI \ V1 \ Document \ ChunkedDocument \ ChunkMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ text |
string
Header in text format. |
↳ page_span |
ChunkPageSpan
Page span of the header. |
getText
Header in text format.
Returns | |
---|---|
Type | Description |
string |
setText
Header in text format.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getPageSpan
Page span of the header.
Returns | |
---|---|
Type | Description |
ChunkPageSpan|null |
hasPageSpan
clearPageSpan
setPageSpan
Page span of the header.
Parameter | |
---|---|
Name | Description |
var |
ChunkPageSpan
|
Returns | |
---|---|
Type | Description |
$this |