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

Reference documentation and code samples for the Google Cloud Document Ai V1 Client class ChunkedDocument.

Represents the chunks that the document is divided into.

Generated from protobuf message google.cloud.documentai.v1.Document.ChunkedDocument

Namespace

Google \ Cloud \ DocumentAI \ V1 \ Document

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ chunks array<Google\Cloud\DocumentAI\V1\Document\ChunkedDocument\Chunk>

List of chunks.

getChunks

List of chunks.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setChunks

List of chunks.

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