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.
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;
int
setRevision
The index of the index into current revision's parent_ids list.
Generated from protobuf field int32 revision = 1;
var
int
$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;
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;
var
int
$this
getId
The id of the parent provenance.
Generated from protobuf field int32 id = 2 [deprecated = true];
int
setId
The id of the parent provenance.
Generated from protobuf field int32 id = 2 [deprecated = true];
var
int
$this