Google Cloud Document Ai V1 Client - Class ChunkPageHeader (1.14.0)

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 \ Chunk

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ text string

Header in text format.

↳ page_span Google\Cloud\DocumentAI\V1\Document\ChunkedDocument\Chunk\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
Google\Cloud\DocumentAI\V1\Document\ChunkedDocument\Chunk\ChunkPageSpan|null

hasPageSpan

clearPageSpan

setPageSpan

Page span of the header.

Parameter
Name Description
var Google\Cloud\DocumentAI\V1\Document\ChunkedDocument\Chunk\ChunkPageSpan
Returns
Type Description
$this