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

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

The parent element the current element is based on. Used for referencing/aligning, removal and replacement operations.

Generated from protobuf message google.cloud.documentai.v1.Document.Provenance.Parent

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ revision
int

The index of the index into current revision's parent_ids list.

↳ index
int

The index of the parent item in the corresponding item list (eg. list of entities, properties within entities, etc.) in the parent revision.

↳ id
int

The id of the parent provenance.

getRevision

The index of the index into current revision's parent_ids list.

Generated from protobuf field int32 revision = 1;

Returns
Type
Description
int

setRevision

The index of the index into current revision's parent_ids list.

Generated from protobuf field int32 revision = 1;

Parameter
Name
Description
var
int
Returns
Type
Description
$this

getIndex

The index of the parent item in the corresponding item list (eg. list of entities, properties within entities, etc.) in the parent revision.

Generated from protobuf field int32 index = 3;

Returns
Type
Description
int

setIndex

The index of the parent item in the corresponding item list (eg. list of entities, properties within entities, etc.) in the parent revision.

Generated from protobuf field int32 index = 3;

Parameter
Name
Description
var
int
Returns
Type
Description
$this

getId

The id of the parent provenance.

Generated from protobuf field int32 id = 2 [deprecated = true];

Returns
Type
Description
int

setId

The id of the parent provenance.

Generated from protobuf field int32 id = 2 [deprecated = true];

Parameter
Name
Description
var
int
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: