Google Cloud Document Ai V1 Client - Class Line (1.0.1)

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

A collection of tokens that a human would perceive as a line.

Does not cross column boundaries, can be horizontal, vertical, etc.

Generated from protobuf message google.cloud.documentai.v1.Document.Page.Line

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ detected_languages
array< Google\Cloud\DocumentAI\V1\Document\Page\DetectedLanguage >

A list of detected languages together with confidence.

↳ provenance
Google\Cloud\DocumentAI\V1\Document\Provenance

The history of this annotation.

getLayout

Layout for Line .

Generated from protobuf field .google.cloud.documentai.v1.Document.Page.Layout layout = 1;

Returns
Type
Description

hasLayout

clearLayout

setLayout

Layout for Line .

Generated from protobuf field .google.cloud.documentai.v1.Document.Page.Layout layout = 1;

Parameter
Name
Description
Returns
Type
Description
$this

getDetectedLanguages

A list of detected languages together with confidence.

Generated from protobuf field repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage detected_languages = 2;

Returns
Type
Description
Google\Protobuf\Internal\RepeatedField

setDetectedLanguages

A list of detected languages together with confidence.

Generated from protobuf field repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage detected_languages = 2;

Parameter
Name
Description
Returns
Type
Description
$this

getProvenance

The history of this annotation.

Generated from protobuf field .google.cloud.documentai.v1.Document.Provenance provenance = 3 [deprecated = true];

Returns
Type
Description

hasProvenance

clearProvenance

setProvenance

The history of this annotation.

Generated from protobuf field .google.cloud.documentai.v1.Document.Provenance provenance = 3 [deprecated = true];

Parameter
Name
Description
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: